Rebuild Network for Accelerator

It is required to rebuild network after any changes on IP address joins or network interfaces. To rebuild network, use the following request:

POST /accelerators/:accelerator_id/rebuild_network.xml
POST /accelerators/:accelerator_id/rebuild_network.json

XML Request Example

curl -X POST -u user:userpass --url 'http://onapp.test/accelerators/21/rebuild_network.xml?force=1&shutdown_type=hard&required_startup=1' -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -X POST -u user:userpass --url 'http://onapp.test/accelerators/21/rebuild_network.json?force=1&shutdown_type=hard&required_startup=1' -H 'Accept: application/json' -H 'Content-type: application/json'


accelerator_id - ID of the accelerator

shutdown_type - type of the accelerator shutdown: hard, graceful or soft

required_startup - set 1 to start up the accelerator automatically after build, otherwise set 0