Revision history [back]

click to hide/show revision 1
initial version

In my case i need two command to restore the server in correct state, 1) reset state to active (openstack server set --state active {server_id} 2) to stop server (openstack server stop {server_id} So in rest api you need: 1) POST on /servers/{server_id}/action with payload {"os-resetState": {"state": "active"}} 2) POST on /servers/{server_id}/action with payload {"os-stop" : null }

In my case i need two command to restore the server in correct state, 1) reset state to active (openstack server set --state active {server_id} {server_id} ) 2) to stop server (openstack server stop {server_id} {server_id} ) So in rest api you need: 1) POST on /servers/{server_id}/action with payload {"os-resetState": {"state": "active"}} 2) POST on /servers/{server_id}/action with payload {"os-stop" : null }