Does "spacewalk-report inventory" say if instance is physical or guest, ie flex consumption ?
Issue
Currently, using the satellite API to find out if a system is virtual or not involves using the system.getdmi() call and parsing this information and matching against keywords, ie do something similar to the parse_smbios() function in /etc/sysconfig/rhn/satellite-upgrade/recognize_guests.py files.
The satellite knows if a system is virtual or not, so it should be able to tell through the API (virtualization_host, virtualization_host_platform not applicable where virtualization_host is not in satellite.)
It would be good either if the system.getDetails() call could return whether a system is considered to be virtual or not.
[RFE] RHN Satellite API: Way To see if a system is virtual using the RHN Satellite API call spacewalk-report inventory today reports the list of machines with a lot of information, especially registered software channels.
spacewalk-report entitlements provides the list of consumed/free flex entitlements.
Today, there is no way to correlate this information, that is, indicate if a machine from the inventory list consumes a flex entitlement, that is, is a virtual guest.
In other words, there is no way with spacewalk-report to define if a machine is a virtual guest or not. This information proves important to customers using the reporting capabilities to be compliant with our business model. As our model now clearly differentiates virtual guests from physical instances, it is important to have the report indicate that.
Environment
Red Hat Network Satellite or Proxy
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
