Miroslav Suchý wrote:
Can somebody explain me what is s.system.get_custom_values and
set_custom_values API call?
Custom values of what? For what it is useful?
Mirek,
The system.getCustomValue & system.setCustomValue APIs are related to
the "Custom Info" capability that is provided via the UI for a system.
The "Custom Info" allows an administrator to store key/value pairs with
a system profile.
From the UI, Custom Info is supported by:
Systems->Custom System Info - generate 0 or more keys which may be
associated with the system profiles
- APIs to do that same are in system.custominfo - (createKey,
deleteKey, listAllKeys)
Systems->System->Custom Info - using one of the keys created above,
define a custom value for the selected system
- Note: in order to access the Custom Info tab, the system must have a
provisioning entitlement
- APIs to accomplish this are system.getCustomValue and
system.setCustomValue
The Satellite ref guide as an example of how one might use this at:
http://www.redhat.com/docs/manuals/satellite/Red_Hat_Network_Satellite-5.2.0/html/Reference_Guide/s2-sm-system-cust-info.html
cheers,
Brad
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel