Enable/Disable Compute Zone Custom Config

The compute zone custom config is applicable to CloudBoot, XEN, KVM, Baremetal, and Smart compute zones. If enabled, the compute zone custom config is applied before the compute resource custom config.

To enable or disable applying the compute zone custom config for a compute resource, use the following requests: 

XML Request Example
curl -X PATCH -i http://onapp.test/settings/hypervisors/13.xml -u account_email:API_key -d '<hypervisor><apply_hypervisor_group_custom_config>1</apply_hypervisor_group_custom_config></hypervisor>' -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -X PATCH -i http://onapp.test/settings/hypervisors/13.json -u account_email:API_key -d '{"hypervisor":{"apply_hypervisor_group_custom_config":"1"}}' -H 'Accept: application/json' -H 'Content-type: application/json'


apply_hypervisor_group_custom_config - set this parameter to 1 to enable applying the compute zone custom config, otherwise, set to 0