Child pages
  • Add VMware Data Store
Skip to end of metadata
Go to start of metadata
POST /settings/data_stores.xml
POST /settings/data_stores.json

XML Request example

curl -i POST -d '<data_store><label>zaza_api</label><ip>192.168.1.27</ip><enabled>1</enabled><data_store_size>40</data_store_size><local_hypervisor_id></local_hypervisor_id><data_store_group_id>84</data_store_group_id><data_store_type>vmware</data_store_type></data_store>' -u user:userpass http://onapp.test/settings/data_stores.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'


JSON Request example

curl -i POST -d '{"data_store":{"label":"zaza_api_json", "ip":"192.168.1.27", "enabled":"1", "data_store_size":"40", "local_hypervisor_id":"", "data_store_group_id":"84", "data_store_type":"vmware"}}' -u user:userpass http://onapp.test/settings/data_stores.json -H 'Accept: application/json' -H 'Content-type: application/json'


Where:

label* - the data store name

data_store_group* - the group to which this DS is assigned

ip* - the data store IP

enabled* - set 1 if data store is enabled, otherwise set 0

data_store_size* - set size in GB

data_store_type - set VMware data store type

local_hypervisor_id - ID of a local compute resource

 



#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels