This API will help to send following commands given below to specific device specified by its serial.
-
reboot: This command performs a reboot of the device, supported by IAP/Controllers/MAS Switches/Aruba Switches
-
blink_led_on: Use this command to enable the LED display, supported by IAP/Aruba Switches
-
blink_led_off: Use this command to disable the LED display, supported by IAP/Aruba Switches
-
blink_led: Use this command to blink LED display, supported only for Aruba Switches alone
-
erase_configuration : This command can be used to erase the running configuration and return to factory default setting, supported only for Aruba Switches alone
-
save_configuration: This command saves the running configuration to memory and displays the running configuration on the screen, supported by IAP/Aruba Switches
-
halt : This command performs a shutdown of the device (it will not reboot), supported by Controllers alone
-
config_sync : This commands performs full refresh of the device config, supported by Controllers alone
Possible error_codes for the error responses are:
- 0001 - General Error.
- 0004 - Validation Error. Invalid value for a query parameter.