Config object representing the cluster.
|
|
|
|
|
|
|
|
|
GetHVDefaults(self,
hypervisor,
os_name=None,
skip_keys=None)
Get the default hypervisor parameters for the cluster. |
source code
|
|
dict
|
SimpleFillHV(self,
hv_name,
os_name,
hvparams,
skip_globals=False)
Fill a given hvparams dict with cluster defaults. |
source code
|
|
dict
|
FillHV(self,
instance,
skip_globals=False)
Fill an instance's hvparams dict with cluster defaults. |
source code
|
|
dict
|
|
dict
|
FillBE(self,
instance)
Fill an instance's beparams dict with cluster defaults. |
source code
|
|
dict
|
|
dict
|
|
|
|
|
|
dict
|
|
dict
|
|
|
IsDiskTemplateEnabled(self,
disk_template)
Checks if a particular disk template is enabled. |
source code
|
|
|
IsFileStorageEnabled(self)
Checks if file storage is enabled. |
source code
|
|
|
IsSharedFileStorageEnabled(self)
Checks if shared file storage is enabled. |
source code
|
|
Inherited from TaggableObject :
AddTag ,
GetTags ,
RemoveTag
Inherited from ConfigObject :
Copy ,
Validate ,
__eq__ ,
__getattr__ ,
__getstate__ ,
__repr__ ,
__setstate__
Inherited from outils.ValidatedSlots :
__init__
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|