Users Guide

Parameter Required Default Choices Comments
o
coldboot
warmboot
shutdown
device_id No NA NA
Targeted device id.
NOTE: I(device_id) is mutually exclusive with
I(device_service_tag).
device_service_ta
g
No NA NA
Targeted device service tag.
NOTE: I(device_service_tag) is mutually exclusive with
I(device_id).
Return Values
msg:
type: str
description: "Overall power state operation job status."
returned: always
sample: "Power State operation job submitted successfully."
job_status:
type: dict
description: "Power state operation job and progress details from the OME."
returned: success
sample: {
"Builtin": false,
"CreatedBy": "user",
"Editable": true,
"EndTime": null,
"Id": 11111,
"JobDescription": "DeviceAction_Task",
"JobName": "DeviceAction_Task_PowerState",
"JobStatus": {
"Id": 1111,
"Name": "New"
},
"JobType": {
"Id": 1,
"Internal": false,
"Name": "DeviceAction_Task"
},
"LastRun": "2019-04-01 06:39:02.69",
"LastRunStatus": {
"Id": 1112,
"Name": "Running"
},
"NextRun": null,
"Params": [
{
"JobId": 11111,
"Key": "powerState",
"Value": "2"
},
{
"JobId": 11111,
"Key": "operationName",
"Value": "POWER_CONTROL"
},
],
"Schedule": "",
"StartTime": null,
Modules for OpenManage Enterprise (OME)
63