Provides methods to access and modify many aspects of a system within the Red Hat Network.
Namespace: system
int 1 if note was added successfully.
int
string (system_id file)
struct (custom info)
- string (custom_info_label)
struct (details)
- string "profile_name" - System's profile name
- string "description" - System description
- string "base_entitlement" - System's base entitlement label
(enterprise_entitled or sw_mgr_entitled)
- boolean "auto_errata_update" - true if system has
auto errata updates enabled
- boolean "location_aware_download" - true if system is allowed to get downloads based on location
- string "address1" - System's address line 1
- string "address2" - System's address line 2
- string "city"
- string "state"
- string "country"
- string "building"
- string "room"
- string "rack"
array
- string (entitlement_label)
struct
- string "hostname" - Hostname of server.
- string "ip" - IP address assigned to this 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
int
int
array
- struct (base 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.
array
- struct (child channels)
- int "ID" - channel id
- string "NAME" - name of channel
- string "LABEL" - label of channel
- string "SUMMARY"
- string "HAS_LICENSE"
- string "GPG_KEY_URL"
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 (event)
- int "event_id" - Id of this event.
- string "created" - Date created. (optional)
- string "picked_up" - The date/time the action was picked
up. Format YYYY-MM-dd hh:mm:ss.ms
Eg. 2007-06-04 13:58:13.0. (optional)
- string "completed" - The date/time the event was
completed. Format YYYY-MM-dd hh:mm:ss.ms
Eg. 2007-06-04 13:58:13.0.
- string "summary" - A summary describing the purpose of the
event.
- string "history_type" - The type of the event. (optional)
- string "history_type_name" - The name only of the event type.
(optional)
- string "history_status" - The current state of the event:
Failed, Queued, Completed, or Picked Up
array
- struct (package)
- string "package_name"
- string "package_version"
- string "package_release"
- string "package_epoch"
- string "package_id"
- string "package_arch_label"
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 (package)
- string "name"
- string "version"
- string "release"
- string "epoch"
array
- struct (action)
- int "id" - Id of this action.
- string "name" - Name of this action.
- string "action_type"
- string "version" - Version of action.
- string "result_msg" - The result string after the action
executes at the client machine. (optional)
- string "modified" - Date modified.
- string "created" - Date created.
- int "successful_count" -
Number of times action was successful.
- int "failed_count" - Number of times action failed.
- 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. (optional)
- string "pickup_time" - The date/time the action was picked
up. Format YYYY-MM-dd hh:mm:ss.ms
Eg. 2007-06-04 13:58:13.0. (optional)
- string "completion_time" - The date/time the event was
completed. Format YYYY-MM-dd hh:mm:ss.ms
Eg. 2007-06-04 13:58:13.0. (optional)
- struct (additional_info) - This struct contains additional
information for the event, if available.
- string "detail" - The detail provided depends on the
specific event. For example, for a package event, this will be the
package name, for an errata event, this will be the advisory name
and synopsis, for a config file event, this will be path and
optional revision information...etc.
- string "result" - The result (if included) depends
on the specific event. For example, for a package or errata event,
no result is included, for a config file event, the result might
include an error (if one occurred, such as the file was missing)
or in the case of a config file comparison it might include the
differences found.
array
- struct (system)
- int "id" - server id
- string "name" - server name
- string "last_checkin" - last time server successfully
checked in with Red Hat Network.
array
- struct (system)
- int "id" - server id
- string "name" - server name
- string "last_checkin" - last time server successfully
checked in with Red Hat Network.
string
int 1 successful subscription.
int 1 on success
int
int 1 on success.
int
int 1 on success
int 1 on success