Appendix D: API
265
Firmware Operations
Software Versions
To retrieve some informations about the firmware versions, send a GET request
to the /maintenance/firmware URL. The resulting object contains the versions
of the installed firmware, the underlying operating system and the Linux kernel
version.
Example
curl -c cookies.txt -b cookies.txt -H "Content-Type: application/json"
https://192.168.3.175:8443/api/v1/maintenance/firmware
{"firmware_version":"4.4.0.5.85.20210323123034","base_os_version":"CentOS
Linux release 7.9.2009 (Core)","kernel_version":"Linux
3.10.0-1160.6.1.el7.x86_64"}
Firmware Update
To perform a software upgrade, use a POST request to the /firmware/upgrade
URL. This request has one parameter: the URI of the firmware file. The User
Station will download this firmware upgrade file and apply it, if it is a valid
update image. This call returns a boolean result, whether the update was
initiated successfully or not. In case of an error, an error string is also returned.
Note: Importing the firmware upgrade is done synchronously. Especially the
download, but also the unpacking, will take some seconds to complete. Also,
this API call just initiates the upgrade. Once the import is complete and the
upgrade file is valid, this API function returns and the actual upgrade is done in
background. API users have no control over the actual upgrade process. When
the upgrade process is done, the User Station will automatically reboot.
Example
curl -c cookies.txt -b cookies.txt -H "Content-Type: application/json" -d
'{ "uri":"https://192.168.2.101/KXUST_4.4.0.1.50_update.bin" }'
https://192.168.3.175:8443/api/v1/maintenance/firmware/upgrade
{"result":false,"error":"The provided software version is too old! It must be
equal or newer than the current version."}
curl -c cookies.txt -b cookies.txt -H "Content-Type: application/json" -d
'{ "uri":"https://192.168.2.101/KXUST_4.4.0.1.98_update.bin" }'
https://192.168.3.175:8443/api/v1/maintenance/firmware/upgrade
{"result":true}
Содержание Raritan Dominion User Station
Страница 10: ......
Страница 23: ...Appendix A Getting Started 13 DKX4 UST DKX3 UST Version 2 DKX3 UST Version 1 1 Power ON all devices...
Страница 63: ...Appendix A Managing Targets and Access Methods 53 VNC Access Settings...
Страница 64: ...Appendix A Managing Targets and Access Methods 54 SSH Access Settings...
Страница 65: ...Appendix A Managing Targets and Access Methods 55 WEB Access Settings...
Страница 159: ...Appendix A Administration Features 149 5 Enter the bind credentials in the Bind section...
Страница 200: ...Appendix A Administration Features 190 KX3 User Station 4 Monitor Vertical Configuration Example...
Страница 204: ...Appendix A Administration Features 194 9 Click Save...
Страница 211: ...Appendix A Maintenance Features 201 6 Click OK in the confirmation dialog...
Страница 269: ...Appendix D API 259...
Страница 280: ......