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
|
SimpleFillOS(self,
os_name,
os_params_public,
os_params_private=None,
os_params_secret=None)
Fill an instance's osparams dict with cluster defaults. |
source code
|
|
|
|
|
|
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__
|