- Setting slot names for blade servers
- Example response body
{
"JobName": "Update slot name",
"JobDescription": "Update slot name",
"Schedule": "startnow",
"State": "Enabled",
"Targets": [
{
"Id": 25016,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "slotConfig",
"Value": "1|1000|SLED1"
},
{
"Key": "operationName",
"Value": "UPDATE_SLOT_DATA"
}
],
"JobType": {
"Id": 3,
"Name": "DeviceAction_Task"
}
}
- Quick Deploy of IOM
- Example response body
{
"JobName": "Quick Deploy Task",
"JobDescription": "Quick Deploy Task",
"Schedule": "startnow",
"State": "Enabled",
"JobType": {
"Id": 42,
"Name": "QuickDeploy_Task"
},
"Params": [
{
"Key": "operationName",
"Value": "IOM_QUICK_DEPLOY"
},
{
"Key": "deviceId",
"Value": "25041"
},
{
"Key": "rootCredential",
"Value": "password"
},
{
"Key": "networkTypeV4",
"Value": "Dhcp"
},
{
"Key": "protocolTypeV4",
"Value": "true"
},
{
"Key": "subnetMaskV4",
"Value": ""
},
{
"Key": "gatewayV4",
"Value": ""
},
{
"Key": "networkTypeV6",
"Value": ""
},
{
"Key": "protocolTypeV6",
"Value": ""
},
{
"Key": "prefixLength",
"Value": ""
},
{
"Key": "gatewayV6",
"Value": ""
},
{
"Key": "slotId=1",
"Value": "SlotSelected=true;SlotType=4000;IPV4Address=;VlanId=;"
},
{
"Key": "slotId=2",
"Value": "SlotSelected=true;SlotType=4000;IPV4Address=;VlanId=;"
},
{
"Key": "slotId=3",
"Value": "SlotSelected=true;SlotType=4000;IPV4Address=;VlanId=;"
},
{
"Key": "slotId=4",
"Value": "SlotSelected=true;SlotType=4000;IPV4Address=;VlanId=;"
},
{
"Key": "slotId=5",
"Value": "SlotSelected=true;SlotType=4000;IPV4Address=;VlanId=;"
},
{
"Key": "slotId=6",
"Value": "SlotSelected=true;SlotType=4000;IPV4Address=;VlanId=;"
}
]
}
- Quick Deploy of sleds
- Example response body
{
"JobName": "Quick Deploy",
"JobDescription": "New Quick Deploy Configuration",
"Schedule": "startnow",
"State": "Enabled",
"Targets": [],
"Params": [
{
"Key": "slotId=5",
"Value": "SlotSelected=true;SlotType=1000;IPV4Address=0.0.0.0;IPV6Address=::;VlanId=1"
},
{
"Key": "slotId=6",
"Value": "SlotSelected=true;SlotType=1000;IPV4Address=0.0.0.0;IPV6Address=::;VlanId=1"
},
{
"Key": "slotId=7",
"Value": "SlotSelected=true;SlotType=1000;IPV4Address=0.0.0.0;IPV6Address=::;VlanId=1"
},
{
"Key": "slotId=8",
"Value": "SlotSelected=true;SlotType=1000;IPV4Address=0.0.0.0;IPV6Address=::;VlanId=1"
},
{
"Key": "operationName",
"Value": "SERVER_QUICK_DEPLOY"
},
{
"Key": "rootCredential",
"Value": "calvin"
},
{
"Key": "deviceId",
"Value": "25016"
},
{
"Key": "protocolTypeV4",
"Value": "true"
},
{
"Key": "slotId=3",
"Value": "SlotSelected=true;SlotType=1000;IPV4Address=0.0.0.0;IPV6Address=::;VlanId=1"
},
{
"Key": "slotId=2",
"Value": "SlotSelected=true;SlotType=1000;IPV4Address=0.0.0.0;IPV6Address=::;VlanId=1"
},
{
"Key": "slotId=4",
"Value": "SlotSelected=true;SlotType=1000;IPV4Address=0.0.0.0;IPV6Address=::;VlanId=1"
},
{
"Key": "slotId=1",
"Value": "SlotSelected=true;SlotType=1000;IPV4Address=0.0.0.0;IPV6Address=::;VlanId=1"
},
{
"Key": "networkTypeV6",
"Value": "DHCP"
},
{
"Key": "networkTypeV4",
"Value": "DHCP"
},
{
"Key": "protocolTypeV6",
"Value": "true"
}
],
"JobType": {
"Id": 42,
"Name": "QuickDeploy_Task",
}
}
- Rolling back firmware update—Device method
- Example response body
{
"JobName":"Rollback Firmware",
"Schedule":"<crontime/startNow>",
"State":"Enabled",
"JobType":{
"Id": 15,
"Name":"RollbackSoftware_Task"
},
"Params":[
{
"Key":"operationName",
"Value":"INSTALL_FIRMWARE"
},
{
"Key":"stagingValue",
"Value":"false"
},
{
"Key":"signVerify",
"Value":"true"
}
],
"Targets":[
{
"Id":<DEVICEID>,
"Data": "available=<COMPONENTID;>",
"TargetType":{
"Id":1000,
"Name":"Device"
}
}
]
}
- Rolling back firmware update—Catalog method
- Example response body
{
"JobName":"Rollback Firmware",
"Schedule":"<crontime/startNow>",
"State":"Enabled",
"JobType":{
"Id": 15,
"Name":"RollbackSoftware_Task"
},
"Params":[
{
"Key":"operationName",
"Value":"INSTALL_FIRMWARE"
},
{
"Key":"stagingValue",
"Value":"false"
},
{
"Key":"signVerify",
"Value":"true"
}
],
"Targets":[
{
"Id":<DEVICEID>,
"Data": "<CatalogId>=<DUP.EXE>|<COMPONENTID/FQDD;>",
"TargetType":{
"Id":1000,
"Name":"Device"
}
}
]
}
- Rolling back firmware update—Browse method
- Example response body
{
"JobName":"Rollback Firmware",
"Schedule":"<crontime/startNow>",
"State":"Enabled",
"JobType":{
"Id": 15,
"Name":"RollbackSoftware_Task"
},
"Params":[
{
"Key":"operationName",
"Value":"INSTALL_FIRMWARE"
},
{
"Key":"stagingValue",
"Value":"false"
},
{
"Key":"signVerify",
"Value":"true"
}
],
"Targets":[
{
"Id":<DEVICEID>,
"Data": "unavailable= <13 Digit File Token>|<COMPONENTID;>",
"TargetType":{
"Id":1000,
"Name":"Device"
}
}
]
}
- Failover of management module
- Example response body
{
"JobName": "Failover Operation",
"JobDescription": "Failover Operation",
"Schedule": "",
"State": "Enabled",
"Targets": [
{
"Id": 25039,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "operationName",
"Value": "FAILOVER"
}
],
"JobType": {
"Id": 3,
"Name": "DeviceAction_Task"
}
}
- Chassis backup
- Example response body
{
"Id": 0,
"JobName": "Backup Task",
"JobDescription": "Create a Backup of the chassis",
"Schedule": "startnow",
"State": "Enabled",
"Targets": [],
"Params": [
{
"Key": "shareName",
"Value": "Floder_Name"
},
{
"Key": "backup_filename",
"Value": "backup file name.bin"
},
{
"Key": "shareType",
"Value": "CIFS/NFS"
},
{
"Key": "device_id",
"Value": "<Chassis ID>"
},
{
"Key": "shareAddress",
"Value": "<IP Address>"
},
{
"Key": "encryption_password",
"Value": "<encryption password>"
},
{
"Key": "userName",
"Value": "<Share username>"
},
{
"Key": "password",
"Value": "<Share user password>"
}
],
"JobType": {
"Id": 21,
"Name": "Backup_Task",
"Internal": false
}
}
- Chassis restore
- Example response body
{
"Id": 0,
"JobName": "Restore Task",
"JobDescription": "Restore an existing device backup"
"Schedule": "startnow",
"State": "Enabled",
"Targets": [],
"Params": [
{
"Key": "shareType",
"Value": "<NFS/CIFS>"
},
{
"Key": "backup_filename",
"Value": "<Backup File name.bin>"
},
{
"Key": "encryption_password",
"Value": "<encryption password>"
},
{
"Key": "shareAddress",
"Value": "<IP Address>"
},
{
"Key": "shareName",
"Value": "<Floder name>"
},
{
"Key": "device_id",
"Value": "<Chassis ID>"
},
{
"Key": "userName",
"Value": "<user name of the network share>"
},
{
"Key": "password",
"Value": "<password of the network share>"
}
],
"JobType": {
"Id": 20,
"Name": "Restore_Task",
"Internal": false
}
}
- Exporting chassis profiles
- Example response body
{
"@odata.context": "/api/$metadata#JobService.Job",
"@odata.type": "#JobService.Job",
"@odata.id": "/api/JobService/Jobs(13286)",
"Id": 13286,
"JobName": "Export Profile",
"JobDescription": "Create and export profile of the chassis",
"NextRun": null,
"LastRun": "2020-06-10 12:33:19.053",
"StartTime": null,
"EndTime": null,
"Schedule": "startnow",
"State": "Enabled",
"CreatedBy": "root",
"UpdatedBy": null,
"Visible": true,
"Editable": true,
"Builtin": false,
"UserGenerated": true,
"Targets": [],
"Params": [
{
"JobId": 13286,
"Key": "shareType",
"Value": "CIFS"
},
{
"JobId": 13286,
"Key": "profile_option",
"Value": "export"
},
{
"JobId": 13286,
"Key": "password",
"Value": "EQ32BUg9RN+PoY31J3690IXthTHKwHOXAShI2vnN9xA="
},
{
"JobId": 13286,
"Key": "userName",
"Value": "administrator"
},
{
"JobId": 13286,
"Key": "shareName",
"Value": "/share"
},
{
"JobId": 13286,
"Key": "shareAddress",
"Value": "100.97.204.81"
}
],
"LastRunStatus": {
"@odata.type": "#JobService.JobStatus",
"Id": 2060,
"Name": "Completed"
},
"JobType": {
"@odata.type": "#JobService.JobType",
"Id": 22,
"Name": "ChassisProfile_Task",
"Internal": false
},
"JobStatus": {
"@odata.type": "#JobService.JobStatus",
"Id": 2080,
"Name": "New"
},
"ExecutionHistories@odata.navigationLink": "/api/JobService/Jobs(13286)/ExecutionHistories"
}
- Importing chassis profiles
- Example response body
{
"@odata.context": "/api/$metadata#JobService.Job",
"@odata.type": "#JobService.Job",
"@odata.id": "/api/JobService/Jobs(13288)",
"Id": 13288,
"JobName": "Import Profile",
"JobDescription": "Import of backed up chassis profile",
"NextRun": null,
"LastRun": "2020-06-10 12:35:09.123",
"StartTime": null,
"EndTime": null,
"Schedule": "startnow",
"State": "Enabled",
"CreatedBy": "root",
"UpdatedBy": null,
"Visible": true,
"Editable": true,
"Builtin": false,
"UserGenerated": true,
"Targets": [],
"Params": [
{
"JobId": 13288,
"Key": "shareType",
"Value": "CIFS"
},
{
"JobId": 13288,
"Key": "profile_option",
"Value": "import"
},
{
"JobId": 13288,
"Key": "import_file",
"Value": "7BU0032_1591792399246.txt"
},
{
"JobId": 13288,
"Key": "shareName",
"Value": "/share"
},
{
"JobId": 13288,
"Key": "password",
"Value": "YU7QIlAT7lPyAeRMZSLxehtm7g68Ygrsa23kRcxMX70="
},
{
"JobId": 13288,
"Key": "userName",
"Value": "administrator"
},
{
"JobId": 13288,
"Key": "shareAddress",
"Value": "100.97.204.81"
}
],
"LastRunStatus": {
"@odata.type": "#JobService.JobStatus",
"Id": 2060,
"Name": "Completed"
},
"JobType": {
"@odata.type": "#JobService.JobType",
"Id": 22,
"Name": "ChassisProfile_Task",
"Internal": false
},
"JobStatus": {
"@odata.type": "#JobService.JobStatus",
"Id": 2080,
"Name": "New"
},
"ExecutionHistories@odata.navigationLink": "/api/JobService/Jobs(13288)/ExecutionHistories"
}
- Test connection
- Example response body
{
"JobName": "Validate Share",
"JobDescription": "Validate Share",
"Schedule": "startnow",
"State": "Enabled",
"Targets": [],
"Params": [
{
"Key": "checkPathOnly",
"Value": "false"
},
{
"Key": "shareType",
"Value": "<NFS/CIFS>"
},
{
"Key": "ShareNetworkFilePath",
"Value": "<Folder_Path>"
},
{
"Key": "shareAddress",
"Value": "<IP Address>"
},
{
"Key": "testShareWriteAccess",
"Value": "true"
}
],
"JobType":
{
"Id": 56,
"Name": "ValidateNWFileShare_Task"
}
}
- Chassis Extract Logs—Local Share
- Example response body
{
"JobName": "Extract Log",
"JobDescription": "Extract device log",
"Schedule": "startnow",
"State": "Enabled",
"Targets": [
{
"Id": 25016,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "shareAddress",
"Value": "127.0.0.1"
},
{
"Key": "shareName",
"Value": "/var/nfsshare"
},
{
"Key": "OPERATION_NAME",
"Value": "EXTRACT_LOGS"
},
{
"Key": "shareType",
"Value": "HTTPS"
},
{
"Key": "maskSensitiveInfo",
"Value": "FALSE"
}
],
"JobType": {
"Id": 18,
"Name": "DebugLogs_Task"
}
}
- Chassis Extract Logs—NFS Share
- Example response body
{
"JobName": "Extract Log",
"JobDescription": "Extract device log to NFS location",
"Schedule": "startnow",
"State": "Enabled",
"Targets": [
{
"Id": 25016,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "shareAddress",
"Value": "2607:f2b1:f083:218::1f2"
},
{
"Key": "shareName",
"Value": "share"
},
{
"Key": "OPERATION_NAME",
"Value": "EXTRACT_LOGS"
},
{
"Key": "shareType",
"Value": "NFS"
},
{
"Key": "maskSensitiveInfo",
"Value": "FALSE"
}
],
"JobType": {
"Id": 18,
"Name": "DebugLogs_Task"
}
}
- Chassis Extract Logs—CIFS Share
- Example response body
{
"JobName": "Extract Log",
"JobDescription": "Extract device log to CIFS location",
"Schedule": "startnow",
"State": "Enabled",
"Targets": [
{
"Id": 25016,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "OPERATION_NAME",
"Value": "EXTRACT_LOGS"
},
{
"Key": "password",
"Value": "sharepass"
},
{
"Key": "userName",
"Value": "administrator"
},
{
"Key": "shareType",
"Value": "CIFS"
},
{
"Key": "shareName",
"Value": "cifs"
},
{
"Key": "shareAddress",
"Value": "2607:f2b1:f083:218::1f2"
},
{
"Key": "maskSensitiveInfo",
"Value": "FALSE"
}
],
"JobType": {
"Id": 18,
"Name": "DebugLogs_Task"
}
}
- Device-based reseat for compute, storage, or IOM
- Example response body
{
"JobName": "Virtual_Reseat",
"JobDescription": " Virtual_Reseat ",
"Schedule": "startnow",
"State":"Enabled",
"Targets": [
{
"Id": 50115,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "override",
"Value": "true"
},
{
"Key": "operationName",
"Value": "VIRTUAL_RESEAT"
},
{
"Key": "deviceTypes",
"Value": "1000"
}
],
"JobType": {
"Id": 3,
"Name": "DeviceAction_Task",
"Internal": false
}}
- Slot-based reseat for compute, storage, or IOM
- Example response body
{
"JobName": "Slot Based Virtual Reseat",
"JobDescription": "Virtual_Reseat_Slot_based",
"Schedule": "startnow",
"State":"Enabled",
"Targets": [
{
"Id": 25045,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "slotType",
"Value": "2000"
},
{
"Key": "operationName",
"Value": "VIRTUAL_RESEAT"
},
{
"Key": "slotNumber",
"Value": "6"
}
],
"JobType": {
"Id": 3,
"Name": "DeviceAction_Task",
"Internal": false
}}
- Chassis power off operation
- Example response body
{
"JobName": "Power Off (Non-graceful)",
"JobDescription": "Power Control Task: Power Off (Non-graceful)",
"Schedule": "startnow",
"State": "Enabled",
"Targets": [
{
"Id": 50115,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}],
"Params": [
{
"Key": "override",
"Value": "true"
},
{
"Key": "powerState",
"Value": "8"
},
{
"Key": "operationName",
"Value": "POWER_CONTROL"
},
{
"Key": "deviceTypes",
"Value": "1000"
}
],
"JobType": {
"Id": 3,
"Name": "DeviceAction_Task",
"Internal": false
}
}
- Blade server (sled) power off operation
- Example response body
{
"JobName": "Power Off (Non-graceful)",
"JobDescription": "Power Control Task: Power Off (Non-graceful)",
"Schedule": "startnow",
"State": "Enabled",
"Targets": [
{
"Id": 10771,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}],
"Params": [
{
"Key": "override",
"Value": "true"
},
{
"Key": "powerState",
"Value": "8"
},
{
"Key": "operationName",
"Value": "POWER_CONTROL"
},
{
"Key": "deviceTypes",
"Value": "1000"
}
],
"JobType": {
"Id": 3,
"Name": "DeviceAction_Task",
"Internal": false
}
}
- IOM power off operation
- Example response body
{
"JobName": "Power Off (Non-graceful)",
"JobDescription": "Power Control Task: Power Off (Non-graceful)",
"Schedule": "startnow",
"State": "Enabled",
"Targets": [
{
"Id": 10660,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}],
"Params": [
{
"Key": "override",
"Value": "true"
},
{
"Key": "powerState",
"Value": "8"
},
{
"Key": "operationName",
"Value": "POWER_CONTROL"
},
{
"Key": "deviceTypes",
"Value": "1000"
}
],
"JobType": {
"Id": 3,
"Name": "DeviceAction_Task",
"Internal": false
}
}
- Slot-based iDRAC reset operation
- Example response body
{
"JobName": "iDRAC Reset_REST",
"JobDescription": "iDRAC Reset_Slot2",
"Schedule": "startnow",
"State": "Enabled",
"Targets": [
{
"Id": 10099,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "slotNumber",
"Value": "2"
},
{
"Key": "operationName",
"Value": "RESET_IDRAC"
},
{
"Key": "slotType",
"Value": "2000"
}
],
"JobType": {
"Id": 3,
"Name": "DeviceAction_Task",
"Internal": false
}
}
Where
Slot type is always 2000 for compute SLED and ID "10099" is for chassis ID.
- Configuring Forward Error Correction (FEC) for IOM ports
- Example response body
{
"JobName": "Configure FEC",
"JobDescription": "Configure Forward Error Correction",
"Schedule": "startnow",
"State": "Enabled",
"JobType": {
"Id": 3,
"Name": "DeviceAction_Task"
},
"Targets": [
{
"Id": 10073, "<deviceId for the IOM in MSM>"
"Data": "",
"TargetType": {}
}
],
"Params": [
{
"Key": "operationName",
"Value": "CONFIGURE_FEC_OPTICS"
},
{
"Key": "interfaceId",
"Value": "53F2PK2:ethernet1/1/10:1" "<Port Id>"
},
{
"Key": "fecValue",
"Value": "xx" "<Fec value to be configured>"
}
]
}
- Force reset of management module (MM)
- Example response body
{
"Id":0,
"JobName":"DeviceAction_Tasktest",
"JobDescription":"DeviceAction_Task",
"Schedule":"startnow",
"State":"Enabled",
"JobType":{
"Id":3,
"Name":"DeviceAction_Task"
},
"Params":[
{
"Key":"operationName",
"Value":"EC_RESET"
},
{
"Key":"forceReset",
"Value":"true"
}
],
"Targets":[
{
"Id":10054,
"Data":"",
"TargetType":{
"Id":1000,
"Name":"Device"
}
}
]
}
- Blink LED
- Example response body
{
"Id": 0,
"JobName": "Blink LED",
"JobDescription": "Blink LED: N Minute(s) or Indefinitely",
"Schedule": "startnow",
"State": "Enabled",
"JobType": {
"Name": "DeviceAction_Task"
},
"Targets": [
{
"Id": 10043,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "identifyState",
"Value": "2" // 2 = duration in minutes, -1= indefinitely
},
{
"Key": "durationLimit",
"Value": "60" // 60= 1 minute, 600=10 minutes, 1800=30 minutes, -1= indefinitely
},
{
"Key": "operationName",
"Value": "IDENTIFY_BLINK_LED"
}
]
}
NOTE: To shut off LED blinking the
identifyState and
durationLimit parameters must be set to 0.
-
Power Cycle System (Cold Boot)
- Example response body
{
"Id": 0,
"JobName": "Power Cycle System (Cold Boot)",
"JobDescription": "Power Control Task: Power Cycle System (Cold Boot)",
"State": "Enabled",
"Schedule": "startnow",
"JobType": {
"Name": "DeviceAction_Task"
},
"Targets": [
{
"Id": 10043,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "override",
"Value": "true"
},
{
"Key": "powerState",
"Value": "5"
},
{
"Key": "operationName",
"Value": "POWER_CONTROL"
},
{
"Key": "deviceTypes",
"Value": "1000"
}
]
}
- System reseat
- Example response body
{
"Id": 0,
"JobName": "System Reseat",
"JobDescription": "Power Control Task: System Reseat",
"State": "Enabled",
"Schedule": "startnow",
"JobType": {
"Name": "DeviceAction_Task"
},
"Targets": [
{
"Id": 10043,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "operationName",
"Value": "VIRTUAL_RESEAT"
}
]
}
- Reset iDRAC
- Example response body
{
"JobName": "Reset iDRAC",
"JobDescription": "Reset iDRAC",
"Schedule": "startnow",
"State": "Enabled",
"JobType":
{
"Id": 3,
"Name": "DeviceAction_Task",
"Internal": false
},
"Params":
[
{"Key": "operationName", "Value": "RESET_IDRAC"}
],
"Targets":
[
{
"Id": 10043,
"Data": "",
"TargetType":
{
"Id": 1000,
"Name": "DEVICE"
}
}
]
}
- Configure Port Break Out
- Example response body
{
"JobName": "Breakout Port",
"JobDescription": null,
"Schedule": "startnow",
"State": "Enabled",
"JobType":
{
"Id": 3,
"Name": "DeviceAction_Task",
"Internal": false
},
"Targets":
[
{
"Id": 10045,
"Data": "",
"TargetType": { "Id": 1000, "Name": "DEVICE" }
}
],
"Params":
[
{"Key": "breakoutType", "Value": “FabricExpander"},
{"Key": "interfaceId", "Value": "DPM4XC1:port-group1/1/1,DPM4XC1:port-group1/1/2" },
{ "Key": "operationName", "Value": "CONFIGURE_PORT_BREAK_OUT" }
]
}
- Toggle port status
- Example response body
{
"JobName": "Toggle Port",
"JobDescription": null,
"State": "Enabled",
"JobType":
{
"Id": 3,
"Name": "DeviceAction_Task",
"Internal": false
},
"Targets":
[
{
"Id": 10043,
"Data": "",
"TargetType": { "Id": 1000, "Name": "DEVICE" }
}
],
"Params":
[
{"Key": "upInterfaceIds", "Value": "DPM4XC1:port-group1/1/1"},
{"Key": "operationName", "Value": "TOGGLE_PORT_STATUS"}
]
}
- Configure MTU
- Example response body
{
"JobName": "Update Maximum Transmission Unit",
"JobDescription": null,
"Schedule": "startnow",
"State": "Enabled",
"JobType":
{
"Id": 3,
"Name": "DeviceAction_Task",
"Internal": false
},
"Targets":
[
{
"Id": 25029,
"Data": "",
"TargetType": { "Id": 1000, "Name": "DEVICE" }
}
],
"Params":
[
{"Key":"operationName", "Value":"CONFIGURE_MTU_SPEED"},
{"Key":"mtuSize", "Value":"1500"},
{"Key":"interfaceId", "Value DPM4XC1:port-group1/1/1"}
]
}
- Group Inventory
- Example response body
{
"Id": 0,
"JobName": "Default Inventory Task - All Devices ",
"JobDescription": "Default Inventory Task - All Devices",
"Schedule": "startnow",
"State": "Enabled",
"JobType": {
"Name": "Inventory_Task"
},
"Targets": [
{
"Id": 500,
"Data": "",
"TargetType": {
"Id": 6000,
"Name": "GROUP"
}
}
]
}
- Device Inventory
- Example response body
{
"Id": 0,
"JobName": "Default Inventory Task - All Devices ",
"JobDescription": "Default Inventory Task - All Devices",
"Schedule": "startnow",
"State": "Enabled",
"JobType": {
"Name": "Inventory_Task"
},
"Targets": [
{
"Id": <device_id>,
"Data": "",
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
]
}
- Extracting device logs
- Example response body
{
"Id": 0,
"JobName": "Extract Log",
"JobDescription": "Extract device log to CIFS location",
"Schedule": "startnow",
"State": "Enabled",
"JobType": {
"Id": 18,
"Name": "DebugLogs_Task"
},
"Targets": [
{
"Id": 10036,
"TargetType": {
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [
{
"Key": "OPERATION_NAME",
"Value": "EXTRACT_LOGS"
},
{
"Key": "shareAddress",
"Value": "100.69.127.105"
},
{
"Key": "shareName",
"Value": "\\cifs\\share"
},
{
"Key": "shareType",
"Value": "CIFS"
},
{
"Key": "userName",
"Value": "user-provided-user-name"
},
{
"Key": "password",
"Value": "user-provided-password"
},
{
"Key": "domainName",
"Value": "org-domain-name"
},
{
"Key": "maskSensitiveInfo",
"Value": "TRUE"
}
]
}
- Extracting SupportAssist collection
- Example response body
{
"Id":0,
"JobName":"Extract SupportAssist Collection",
"JobDescription":"Extract SupportAssist Collection to NFS location",
"Schedule":"startnow",
"State":"Enabled",
"JobType":{
"Id":18,
"Name":"DebugLogs_Task"
},
"Targets":[
{
"Id":10038,
"TargetType":{
"Id":1000,
"Name":"DEVICE"
}
}
],
"Params":[
{
"Key":"OPERATION_NAME",
"Value":"EXTRACT_LOGS"
},
{
"Key":"shareType",
"Value":"NFS"
},
{
"Key":"shareAddress",
"Value":"1.2.3.4"
},
{
"Key":"shareName",
"Value":"filepath"
},
{
"Key":"logSelector",
"Value":"0,1,2"
}
]
}