Edit Integrated Storage Settings on Compute Resource

To edit integrated storage settings, use the following request:

PUT /settings/hypervisors/:hypervisor_id/integrated_storage_settings.xml
PUT /settings/hypervisors/:hypervisor_id/integrated_storage_settings.json

XML Request Example

curl -i -X PUT -u account_email:API_key http://onapp.test/settings/hypervisors/6/integrated_storage_settings.xml -d ‘<integrated_storage_settings><bonding_mode>802.3ad</bonding_mode><cache_mirrors>1</cache_mirrors><cache_stripes>1</cache_stripes><controller_db_size>128</controller_db_size><controller_memory_size>1024</controller_memory_size><disks_per_controller>4</disks_per_controller><mtu>1500</mtu><vlan>123</vlan></integrated_storage_settings>’ -H ‘Accept: application/xml’ -H ‘Content-type: application/xml’

JSON Request Example

curl -i -X PUT -u account_email:API_key http://onapp.test/settings/hypervisors/6/integrated_storage_settings.json -d ‘{“integrated_storage_settings”:{“bonding_mode”:“802.3ad”,“cache_mirrors”:1,“cache_stripes”:1,“controller_db_size”:128,“controller_memory_size”:1024,“disks_per_controller”:4,“mtu”:1500,“vlan”:123}}’ -H ‘Accept: application/json’ -H ‘Content-type: application/json’

Where:

bonding_mode - the type of bonding mode

cache_mirrors - the number of cache mirrors for the compute resource

cache_stripes - the number of cache stripes for the compute resource

controller_db_size - the controller DB size value

controller_memory_size - the controller RAM value

disks_per_controller - the number of disks per controller virtual server. By default, the controller virtual server is created per 4 disk drives.

mtu - the maximum transportation unit size 

vlan - the ID of a VLAN number