mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-10 01:17:40 +03:00
F #4913: Remove vCenter credentials as required datastore attributes. Add some vCenter restricted attributes
This commit is contained in:
parent
dff203fe42
commit
d78a0be74a
@ -770,12 +770,19 @@ VM_RESTRICTED_ATTR = "NIC/BRIDGE"
|
||||
VM_RESTRICTED_ATTR = "NIC_DEFAULT/MAC"
|
||||
VM_RESTRICTED_ATTR = "NIC_DEFAULT/VLAN_ID"
|
||||
VM_RESTRICTED_ATTR = "NIC_DEFAULT/BRIDGE"
|
||||
VM_RESTRICTED_ATTR = "NIC/OPENNEBULA_MANAGED"
|
||||
VM_RESTRICTED_ATTR = "NIC/VCENTER_INSTANCE_ID"
|
||||
VM_RESTRICTED_ATTR = "NIC/VCENTER_NET_REF"
|
||||
VM_RESTRICTED_ATTR = "NIC/VCENTER_PORTGROUP_TYPE"
|
||||
VM_RESTRICTED_ATTR = "DISK/TOTAL_BYTES_SEC"
|
||||
VM_RESTRICTED_ATTR = "DISK/READ_BYTES_SEC"
|
||||
VM_RESTRICTED_ATTR = "DISK/WRITE_BYTES_SEC"
|
||||
VM_RESTRICTED_ATTR = "DISK/TOTAL_IOPS_SEC"
|
||||
VM_RESTRICTED_ATTR = "DISK/READ_IOPS_SEC"
|
||||
VM_RESTRICTED_ATTR = "DISK/WRITE_IOPS_SEC"
|
||||
VM_RESTRICTED_ATTR = "DISK/OPENNEBULA_MANAGED"
|
||||
VM_RESTRICTED_ATTR = "DISK/VCENTER_DS_REF"
|
||||
VM_RESTRICTED_ATTR = "DISK/VCENTER_INSTANCE_ID"
|
||||
#VM_RESTRICTED_ATTR = "DISK/SIZE"
|
||||
VM_RESTRICTED_ATTR = "DISK/ORIGINAL_SIZE"
|
||||
VM_RESTRICTED_ATTR = "CPU_COST"
|
||||
@ -783,7 +790,7 @@ VM_RESTRICTED_ATTR = "MEMORY_COST"
|
||||
VM_RESTRICTED_ATTR = "DISK_COST"
|
||||
VM_RESTRICTED_ATTR = "PCI"
|
||||
VM_RESTRICTED_ATTR = "USER_INPUTS"
|
||||
VM_RESTRICTED_ATTR = "VCENTER_VM_FOLDER"
|
||||
VM_RESTRICTED_ATTR = "TEMPLATE/VCENTER_VM_FOLDER"
|
||||
|
||||
#VM_RESTRICTED_ATTR = "RANK"
|
||||
#VM_RESTRICTED_ATTR = "SCHED_RANK"
|
||||
@ -791,6 +798,7 @@ VM_RESTRICTED_ATTR = "VCENTER_VM_FOLDER"
|
||||
#VM_RESTRICTED_ATTR = "SCHED_REQUIREMENTS"
|
||||
|
||||
IMAGE_RESTRICTED_ATTR = "SOURCE"
|
||||
IMAGE_RESTRICTED_ATTR = "TEMPLATE/VCENTER_IMPORTED"
|
||||
|
||||
#*******************************************************************************
|
||||
# The following restricted attributes only apply to VNets that are a reservation.
|
||||
@ -848,12 +856,15 @@ INHERIT_DATASTORE_ATTR = "GLUSTER_VOLUME"
|
||||
|
||||
INHERIT_DATASTORE_ATTR = "DISK_TYPE"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_ADAPTER_TYPE"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DISK_TYPE"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DS_REF"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DS_IMAGE_DIR"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DS_VOLATILE_DIR"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_INSTANCE_ID"
|
||||
|
||||
INHERIT_IMAGE_ATTR = "DISK_TYPE"
|
||||
INHERIT_IMAGE_ATTR = "VCENTER_ADAPTER_TYPE"
|
||||
INHERIT_IMAGE_ATTR = "VCENTER_DISK_TYPE"
|
||||
|
||||
INHERIT_VNET_ATTR = "VLAN_TAGGED_ID"
|
||||
INHERIT_VNET_ATTR = "FILTER_IP_SPOOFING"
|
||||
@ -988,7 +999,7 @@ DS_MAD_CONF = [
|
||||
|
||||
DS_MAD_CONF = [
|
||||
NAME = "vcenter",
|
||||
REQUIRED_ATTRS = "VCENTER_INSTANCE_ID, VCENTER_DS_REF, VCENTER_DC_REF, VCENTER_HOST, VCENTER_USER, VCENTER_PASSWORD",
|
||||
REQUIRED_ATTRS = "VCENTER_INSTANCE_ID, VCENTER_DS_REF, VCENTER_DC_REF",
|
||||
PERSISTENT_ONLY = "YES",
|
||||
MARKETPLACE_ACTIONS = "export"
|
||||
]
|
||||
|
@ -903,6 +903,10 @@ VM_RESTRICTED_ATTR = "NIC/INBOUND_PEAK_KB"
|
||||
VM_RESTRICTED_ATTR = "NIC/OUTBOUND_AVG_BW"
|
||||
VM_RESTRICTED_ATTR = "NIC/OUTBOUND_PEAK_BW"
|
||||
VM_RESTRICTED_ATTR = "NIC/OUTBOUND_PEAK_KB"
|
||||
VM_RESTRICTED_ATTR = "NIC/OPENNEBULA_MANAGED"
|
||||
VM_RESTRICTED_ATTR = "NIC/VCENTER_INSTANCE_ID"
|
||||
VM_RESTRICTED_ATTR = "NIC/VCENTER_NET_REF"
|
||||
VM_RESTRICTED_ATTR = "NIC/VCENTER_PORTGROUP_TYPE"
|
||||
VM_RESTRICTED_ATTR = "NIC_DEFAULT/MAC"
|
||||
VM_RESTRICTED_ATTR = "NIC_DEFAULT/VLAN_ID"
|
||||
VM_RESTRICTED_ATTR = "NIC_DEFAULT/BRIDGE"
|
||||
@ -912,6 +916,9 @@ VM_RESTRICTED_ATTR = "DISK/WRITE_BYTES_SEC"
|
||||
VM_RESTRICTED_ATTR = "DISK/TOTAL_IOPS_SEC"
|
||||
VM_RESTRICTED_ATTR = "DISK/READ_IOPS_SEC"
|
||||
VM_RESTRICTED_ATTR = "DISK/WRITE_IOPS_SEC"
|
||||
VM_RESTRICTED_ATTR = "DISK/OPENNEBULA_MANAGED"
|
||||
VM_RESTRICTED_ATTR = "DISK/VCENTER_DS_REF"
|
||||
VM_RESTRICTED_ATTR = "DISK/VCENTER_INSTANCE_ID"
|
||||
#VM_RESTRICTED_ATTR = "DISK/SIZE"
|
||||
VM_RESTRICTED_ATTR = "DISK/ORIGINAL_SIZE"
|
||||
VM_RESTRICTED_ATTR = "DISK/SIZE_PREV"
|
||||
@ -923,7 +930,7 @@ VM_RESTRICTED_ATTR = "EMULATOR"
|
||||
VM_RESTRICTED_ATTR = "USER_INPUTS/CPU"
|
||||
VM_RESTRICTED_ATTR = "USER_INPUTS/MEMORY"
|
||||
VM_RESTRICTED_ATTR = "USER_INPUTS/VCPU"
|
||||
VM_RESTRICTED_ATTR = "VCENTER_VM_FOLDER"
|
||||
VM_RESTRICTED_ATTR = "TEMPLATE/VCENTER_VM_FOLDER"
|
||||
|
||||
#VM_RESTRICTED_ATTR = "RANK"
|
||||
#VM_RESTRICTED_ATTR = "SCHED_RANK"
|
||||
@ -931,6 +938,7 @@ VM_RESTRICTED_ATTR = "VCENTER_VM_FOLDER"
|
||||
#VM_RESTRICTED_ATTR = "SCHED_REQUIREMENTS"
|
||||
|
||||
IMAGE_RESTRICTED_ATTR = "SOURCE"
|
||||
IMAGE_RESTRICTED_ATTR = "TEMPLATE/VCENTER_IMPORTED"
|
||||
|
||||
#*******************************************************************************
|
||||
# The following restricted attributes only apply to VNets that are a reservation.
|
||||
@ -991,12 +999,15 @@ INHERIT_DATASTORE_ATTR = "GLUSTER_VOLUME"
|
||||
|
||||
INHERIT_DATASTORE_ATTR = "DISK_TYPE"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_ADAPTER_TYPE"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DISK_TYPE"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DS_REF"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DS_IMAGE_DIR"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DS_VOLATILE_DIR"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_INSTANCE_ID"
|
||||
|
||||
INHERIT_IMAGE_ATTR = "DISK_TYPE"
|
||||
INHERIT_IMAGE_ATTR = "VCENTER_ADAPTER_TYPE"
|
||||
INHERIT_IMAGE_ATTR = "VCENTER_DISK_TYPE"
|
||||
|
||||
INHERIT_VNET_ATTR = "VLAN_TAGGED_ID"
|
||||
INHERIT_VNET_ATTR = "FILTER_IP_SPOOFING"
|
||||
@ -1136,7 +1147,7 @@ DS_MAD_CONF = [
|
||||
|
||||
DS_MAD_CONF = [
|
||||
NAME = "vcenter",
|
||||
REQUIRED_ATTRS = "VCENTER_INSTANCE_ID, VCENTER_DS_REF, VCENTER_DC_REF, VCENTER_HOST, VCENTER_USER, VCENTER_PASSWORD",
|
||||
REQUIRED_ATTRS = "VCENTER_INSTANCE_ID, VCENTER_DS_REF, VCENTER_DC_REF",
|
||||
PERSISTENT_ONLY = "NO",
|
||||
MARKETPLACE_ACTIONS = "export"
|
||||
]
|
||||
|
@ -834,9 +834,16 @@ INHERIT_DATASTORE_ATTR = "GLUSTER_VOLUME"
|
||||
|
||||
INHERIT_DATASTORE_ATTR = "DISK_TYPE"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_ADAPTER_TYPE"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DISK_TYPE"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DS_REF"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DS_IMAGE_DIR"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_DS_VOLATILE_DIR"
|
||||
INHERIT_DATASTORE_ATTR = "VCENTER_INSTANCE_ID"
|
||||
|
||||
|
||||
INHERIT_IMAGE_ATTR = "DISK_TYPE"
|
||||
INHERIT_IMAGE_ATTR = "VCENTER_ADAPTER_TYPE"
|
||||
INHERIT_IMAGE_ATTR = "VCENTER_DISK_TYPE"
|
||||
|
||||
INHERIT_VNET_ATTR = "VLAN_TAGGED_ID"
|
||||
INHERIT_VNET_ATTR = "FILTER_IP_SPOOFING"
|
||||
@ -958,7 +965,7 @@ DS_MAD_CONF = [
|
||||
|
||||
DS_MAD_CONF = [
|
||||
NAME = "vcenter",
|
||||
REQUIRED_ATTRS = "VCENTER_INSTANCE_ID, VCENTER_DS_REF, VCENTER_DC_REF, VCENTER_HOST, VCENTER_USER, VCENTER_PASSWORD",
|
||||
REQUIRED_ATTRS = "VCENTER_INSTANCE_ID, VCENTER_DS_REF, VCENTER_DC_REF",
|
||||
PERSISTENT_ONLY = "NO",
|
||||
MARKETPLACE_ACTIONS = "export"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user