Users Guide

Table Of Contents
Table 40. ome_device_info (continued)
Parameter Required Default Choices Comments
status of specified
devices.
system_query_options No NA
device_id: A list of unique identifier is
applicable for C(detailed_inventory) and
C(subsystem_health).
device_service_tag: A list of
service tags is applicable
for C(detailed_inventory) and
C(subsystem_health).
inventory_type: For
C(detailed_inventory), it returns details
of the specified inventory type.
filter: For C(basic_inventory), it filters
the collection of devices. I(filter) query
format should be aligned with OData
standards.
I(system_query_optio
ns) is applicable for
the choices of the
fact_subset.
Either I(device_id) or
I(device_service_tag)
is mandatory for
C(detailed_inventory)
and
C(subsystem_health).
I(device_id) or
I(device_service_tag)
can be used
individually or
together.
Return Values
msg:
type: str
description: Overall device information status.
returned: on error
sample: "Failed to fetch the device information"
device_info:
type: dict
description: Returns the information collected from the device.
returned: success
sample: {
"value": [
{
"Actions": null,
"AssetTag": null,
"ChassisServiceTag": null,
"ConnectionState": true,
"DeviceManagement": [
{
"DnsName": "dnsname.host.com",
"InstrumentationName": "MX-12345",
"MacAddress": "11:10:11:10:11:10"
"ManagementId": 12345,
"ManagementProfile": [
{
"HasCreds": 0,
"ManagementId": 12345,
"ManagementProfileId": 12345,
"ManagementURL": "https://192.168.0.1:443",
"Status": 1000,
"StatusDateTime": "2019-01-21 06:30:08.501"
}
],
"ManagementType": 2,
"NetworkAddress": "192.168.0.1"
}
],
"DeviceName": "MX-0003I",
"DeviceServiceTag": "MXL1234",
"DeviceSubscription": null,
"LastInventoryTime": "2019-01-21 06:30:08.501",
"LastStatusTime": "2019-01-21 06:30:02.492",
"ManagedState": 3000,
"Model": "PowerEdge MX7000",
"PowerState": 17,
"SlotConfiguration": {},
50
Modules for OpenManage Enterprise (OME)