Provides methods to access and modify many aspects of a system within the Red Hat Network.
Namespace: system
int - 1 on success, exception thrown otherwise.
int - 1 if note was added successfully.
int - 1 on success.
array - struct (Package Metadata)
- int "package_name_id"
- string "package_name"
- string "this_system" - Version of package on this system.
- string "other_system" - Version of package on other system.
- int "comparison"
- 0 - No difference.
- 1 - Package on this system only.
- 2 - Newer package version on this system.
- 3 - Package on other system only.
- 4 - Newer package version on other system.
int - 1 on success
int - Number of systems deleted.
string
struct (CPU) - string "cache"
- string "family"
- string "mhz"
- string "flags"
- string "model"
- string "vendor"
- string "arch"
- string "stepping"
struct (custom value) - string (custom_info_label)
struct (server details) - int "id" - System ID.
- string "profile_name" - System's profile name.
- string "base_entitlement" - System's base entitlement label. (enterprise_entitled or sw_mgr_entitled)
- array "addon_entitlements"
- string entitlementLabel - Addon entitlement label:
- monitoring_entitled
- provisioning_entitled
- virtualization_host
- virtualization_host_platform
- boolean "auto_update" - True if system has auto errata updates enabled.
- string "address1" - System's address line 1.
- string "address2" - System's address line 2.
- string "city" - System's city.
- string "state" - System's state.
- string "country" - System's country code.
- string "building" - System's building.
- string "room" - System's room.
- string "rack" - System's rack.
- string "description"
array - struct (device)
- string "device"
- string "device_class" - Includes CDROM, FIREWIRE, HD, USB, VIDEO, OTHER, etc.
- string "driver"
- string "description"
- string "bus"
- string "pcitype"
struct (DMI) - string "vendor"
- string "system"
- string "product"
- string "asset"
- string "board"
- string "bios_release"
- string "bios_vendor"
- string "bios_version"
array - string entitlement_label
array - struct (History Event)
- dateTime.iso8601 "completed" - Date that the event occurred
- string "summary" - Summary of the event
- string "details" - Details of the event
array - struct (system)
- int "id" - Server ID
- string "name" - Server name
- dateTime.iso8601 "last_checkin" - Last time server successfully checked in with Red Hat Network.
struct (memory) - int "ram" - The amount of physical memory in MB.
- int "swap" - The amount of swap space in MB.
struct (network info) - string "ip" - IP address of server.
- string "hostname" - Hostname of server.
array - struct (network device)
- string "ip" - IP address assigned to this network device.
- string "interface" - Network interface assigned to device e.g. eth0.
- string "netmask" - Network mask assigned to device
- string "hardware_address" - Hardware Address of device.
- string "module" - Network driver used for this device.
- string "broadcast" - Broadcast address for device.
dateTime.iso8601 - The date the system was registered, in local time.
array - struct (errata)
- int "id" - Errata ID.
- string "date" - Date erratum was created.
- string "advisory_name" - Name of the advisory.
- string "advisory_synopsis" - Summary of the erratum.
- string "advisory_type" - Type of advisory.
string
array - struct (script result)
- dateTime.iso8601 "startDate" - Time script began execution.
- dateTime.iso8601 "stopDate" - Time script stopped execution.
- int "returnCode" - Script execution return code.
- string "output" - Output of the script.
struct (channel) - int "id"
- string "label"
- string "name"
- string "arch_name"
- string "summary"
- string "description"
- string "gpg_key_url"
- string "gpg_key_id"
- string "gpg_key_fp"
- string "end_of_life"
- string "parent_channel_label"
- channel_* (deprecated)
array - struct (errata)
- int "id" - Errata ID.
- string "date" - Date erratum was created.
- string "advisory_synopsis" - Summary of the erratum.
- string "advisory_type" - type label such as Security, Bug Fix
- string "advisory_name" - name such as RHSA, etc.
int - 1 on success.
int - 1 on success.
array - struct (server info)
- int "id"
- string "name"
- dateTime.iso8601 "last_checkin" - Last time server successfully checked in with Red Hat Network.
array - struct (user)
- int "id" - User ID.
- string "login" - User login.
- string "login_uc" - User login in uppercase.
array - struct (channel)
- int "id" - Base channel ID.
- string "name" - Name of channel.
- string "label" - Label of channel.
- int "current_base" - 1 indicates it is the current base channel.
- int "ID" - Base channel id. (deprecated)
- string "NAME" - Name of channel. (deprecated)
- string "LABEL" - Label of channel. (deprecated)
- int "CURRENT_BASE" - 1 indicates it is the current base channel. (deprecated)
array - struct (child channel)
- int "id"
- string "name"
- string "label"
- string "summary"
- string "has_license"
- string "gpg_key_url"
- int "ID" (deprecated)
- string "NAME" (deprecated)
- string "LABEL" (deprecated)
- string "SUMMARY" (deprecated)
- string "HAS_LICENSE" (deprecated)
- string "GPG_KEY_URL" (deprecated)
array - struct (system group)
- int "sgid" - Server group ID.
- int "subscribed" - 1 if the given server is subscribed to this server group, 0 otherwise.
- string "system_group_name" - Name of the server group.
array - struct (package)
- string "name"
- string "version"
- string "release"
- string "epoch"
- string "id"
- string "arch_label"
- string "package_name" (deprecated)
- string "package_version" (deprecated)
- string "package_release" (deprecated)
- string "package_epoch" (deprecated)
- string "package_id" (deprecated)
- string "package_arch_label" (deprecated)
array - struct (package)
- string "package_name"
- string "from_version"
- string "from_release"
- string "from_epoch"
- string "to_version"
- string "to_release"
- string "to_epoch"
array - struct (package)
- string "name"
- string "version"
- string "release"
- string "epoch"
array - struct (package)
- string "name"
- string "version"
- string "release"
- string "epoch"
array - struct (system)
- int "id"
- string "name"
array - struct (package)
- string "name"
- string "version"
- string "release"
- string "epoch"
array - struct (package)
- string "name"
- string "version"
- string "release"
- string "epoch"
- string "id"
- string "arch_label"
- dateTime.iso8601 "last_modified"
array - struct (child channels)
- int "id"
- string "name"
- string "label"
- string "summary"
- string "gpg_key_url"
array - struct (action)
- int "failed_count" - Number of times action failed.
- string "modified" - Date modified.
- string "created" - Date created.
- string "action_type"
- int "successful_count" - Number of times action was successful.
- string "earliest_action" - Earliest date this action will occur.
- int "archived" - If this action is archived. (1 or 0)
- string "scheduler_user"
- string "prerequisite" - Pre-requisite action.
- string "name" - Name of this action.
- int "id" - ID of this action.
- string "version" - Version of action.
- string "completion_time" - The event completion time or "" if the action did not complete. Format ->(YYYY-MM-dd hh:mm:ss.ms Eg ->2007-06-04 13:58:13.0
- string "pickup_time" - The time the action was picked up or "" if the action was not picked up. Format ->(YYYY-MM-dd hh:mm:ss.ms Eg ->2007-06-04 13:58:13.0
- string "result_msg" - The result string after the action executes at the client machine.
array - struct (system)
- int "id" - Server ID.
- string "name" - Server name.
- dateTime.iso8601 "last_checkin" - Last time server successfully checked in with Red Hat Network.
array - struct (system)
- int "id"
- string "name"
- dateTime.iso8601 "last_checkin" - Last time server successfully checked in with Red Hat Network.
array - struct (system)
- int "id"
- string "name"
- dateTime.iso8601 "last_checkin" - Last time server successfully checked in with Red Hat Network.
string
int - 1 if guest was scheduled for creation successfully.
int - 1 if guest was scheduled for creation successfully.
int - 1 on success, exception thrown otherwise.
int - 1 on success.
int - 1 on success.
int - 1 on success.
int - 1 on success.
int - ID of the script run action created. Can be used to fetch results with system.getScriptResults.
int - 1 on success, exception thrown otherwise.
array - struct (system)
- int "id" - Server ID.
- string "name" - Server name.
- dateTime.iso8601 "last_checkin" - Last time server successfully checked in with Red Hat Network.
int - 1 on success.
int - 1 on success
int - 1 on success
int - 1 on success, exception thrown otherwise.
int - 1 on success.
int - 1 if note was added successfully.
int - 1 on success