Boot
Reloads the system with primary or secondary flash partition provided by the user. The URI to reload the router with the selected boot partition is:
/operations/boot-sys-flash
Supported HTTP Operations
URL: https://<host>/restconf/operations/boot-sys-flash
Request body:
For primary boot partition:
{
"icx-openconfig-platform-aug:input":{
"primary" : [null]
}
}
For secondary boot partition:
{
"icx-openconfig-platform-aug:input":{
"secondary" : [null]
}
}
Response body: None
POST method
By default, the "force-reboot" flag is set to false. For primary boot partition, if "force-reboot" flag is set to true, it will not check if the running-config of the system is changed or not. Reloads the system even if the running-config of the system is changed without throwing any error.
URL: https://<host>/restconf/operations/boot-sys-flash
Request body:
{
"icx-openconfig-platform-aug:input":{
"force-reboot": true,
"primary" : [null]
}
}
To boot from secondary partition:
{
"icx-openconfig-platform-aug:input":{
"force-reboot": true,
"secondary" : [null]
}
}
Response body: None