From d58204a287b0fc34247200cac4d240e86f99a69a Mon Sep 17 00:00:00 2001 From: mcabrerizo Date: Fri, 3 Mar 2017 13:32:01 +0100 Subject: [PATCH] F #4913: Replace remnants of VCENTER_CLUSTER with VCENTER_ONE_HOST_ID --- share/doc/xsd/oned.conf | 6 ++++-- share/etc/oned.conf | 4 +++- src/nebula/NebulaTemplate.cc | 2 +- src/oca/java/test/oned.conf | 6 ++++-- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/share/doc/xsd/oned.conf b/share/doc/xsd/oned.conf index e251b157f4..f3086626f3 100644 --- a/share/doc/xsd/oned.conf +++ b/share/doc/xsd/oned.conf @@ -371,7 +371,7 @@ IM_MAD = [ NAME="dummy", SUNSTONE_NAME="Testing", EXECUTABLE="one_im_dummy"] # # type : driver type, supported drivers: xen, kvm, xml # -# keep_snapshots: do not remove snapshots on power on/off cycles and live +# keep_snapshots: do not remove snapshots on power on/off cycles and live # migrations if the hypervisor supports that. # # imported_vms_actions : comma-separated list of actions supported @@ -957,7 +957,9 @@ DS_MAD_CONF = [ ] DS_MAD_CONF = [ - NAME = "vcenter", REQUIRED_ATTRS = "VCENTER_CLUSTER", PERSISTENT_ONLY = "YES", + NAME = "vcenter", + REQUIRED_ATTRS = "VCENTER_ONE_HOST_ID, VCENTER_INSTANCE_ID, VCENTER_DS_REF, VCENTER_CCR_REF", + PERSISTENT_ONLY = "YES", MARKETPLACE_ACTIONS = "export" ] diff --git a/share/etc/oned.conf b/share/etc/oned.conf index 41f1ad7129..86694cda24 100644 --- a/share/etc/oned.conf +++ b/share/etc/oned.conf @@ -1019,7 +1019,9 @@ DS_MAD_CONF = [ ] DS_MAD_CONF = [ - NAME = "vcenter", REQUIRED_ATTRS = "VCENTER_CLUSTER", PERSISTENT_ONLY = "NO", + NAME = "vcenter", + REQUIRED_ATTRS = "VCENTER_ONE_HOST_ID, VCENTER_INSTANCE_ID, VCENTER_DS_REF, VCENTER_CCR_REF", + PERSISTENT_ONLY = "NO", MARKETPLACE_ACTIONS = "export" ] diff --git a/src/nebula/NebulaTemplate.cc b/src/nebula/NebulaTemplate.cc index b1f4f7469c..e95105b994 100644 --- a/src/nebula/NebulaTemplate.cc +++ b/src/nebula/NebulaTemplate.cc @@ -135,7 +135,7 @@ void OpenNebulaTemplate::set_multiple_conf_default() set_conf_ds("shared", "", "NO"); set_conf_ds("ssh", "", "NO"); set_conf_ds("vmfs", "BRIDGE_LIST", "NO"); - set_conf_ds("vcenter", "VCENTER_CLUSTER", "NO"); + set_conf_ds("vcenter", "VCENTER_ONE_HOST_ID, VCENTER_INSTANCE_ID, VCENTER_DS_REF, VCENTER_CCR_REF", "NO"); set_conf_ds("ceph", "DISK_TYPE,BRIDGE_LIST,CEPH_HOST,CEPH_USER,CEPH_SECRET", "NO"); diff --git a/src/oca/java/test/oned.conf b/src/oca/java/test/oned.conf index c3da2c7945..f470141e1a 100644 --- a/src/oca/java/test/oned.conf +++ b/src/oca/java/test/oned.conf @@ -371,7 +371,7 @@ IM_MAD = [ # # type : driver type, supported drivers: xen, kvm, xml # -# keep_snapshots: do not remove snapshots on power on/off cycles and live +# keep_snapshots: do not remove snapshots on power on/off cycles and live # migrations if the hypervisor supports that. # # imported_vms_actions : comma-separated list of actions supported @@ -957,7 +957,9 @@ DS_MAD_CONF = [ ] DS_MAD_CONF = [ - NAME = "vcenter", REQUIRED_ATTRS = "VCENTER_CLUSTER", PERSISTENT_ONLY = "YES", + NAME = "vcenter", + REQUIRED_ATTRS = "VCENTER_ONE_HOST_ID, VCENTER_INSTANCE_ID, VCENTER_DS_REF, VCENTER_CCR_REF", + PERSISTENT_ONLY = "YES", MARKETPLACE_ACTIONS = "export" ]