Segregate VS

To segregate a VS (that is, instruct it never to reside on the same compute resource as another VS), use the following request:

PUT /virtual_machines/:virtual_machine_id/segregation.xml
PUT /virtual_machines/:virtual_machine_id/segregation.json

XML Request Example

curl -i -X PUT -H 'Accept: application/xml' -H 'Content-type: 
application/xml' -u user:userpass -d '<virtual_machine><strict_virtual_machine_id>123</strict_virtual_machine_id></virtual_machine>' --url http://onapp.test/virtual_machines/12/segregation.xml

JSON Request Example 

curl -i -X PUT -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass -d '{"virtual_machine":{"strict_virtual_machine_id":"123"}}' --url http://onapp.test/virtual_machines/12/segregation.json


strict_virtual_machine_id * - the ID of virtual server you wish to segregate from the given VS

Page History:

v. 5.3

  • removed deprecated POST /virtual_machines/:virtual_machine_id/strict_vm request