robottelo.config.virtwho
¶
Define and instantiate the configuration class for virtwho hypervisors.
Module Contents¶
Classes¶
Sku settings definitions |
|
Esx settings definitions. |
|
Xen settings definitions. |
|
Hyperv settings definitions. |
|
Rhevm settings definitions. |
|
Libvirt settings definitions. |
|
Kubevirt settings definitions. |
|
Virtwho’s settings representation. |
Attributes¶
- robottelo.config.virtwho.LOGGER¶
- robottelo.config.virtwho.SETTINGS_FILE_NAME = virtwho.properties¶
- class robottelo.config.virtwho.SkuSettings(*args, **kwargs)¶
Bases:
robottelo.config.base.FeatureSettings
Sku settings definitions
- read(self, reader)¶
Read sku settings.
- validate(self)¶
Validate sku settings.
- class robottelo.config.virtwho.EsxSettings(*args, **kwargs)¶
Bases:
robottelo.config.base.FeatureSettings
Esx settings definitions.
- read(self, reader)¶
Read esx settings.
- validate(self)¶
Validate esx settings.
- class robottelo.config.virtwho.XenSettings(*args, **kwargs)¶
Bases:
robottelo.config.base.FeatureSettings
Xen settings definitions.
- read(self, reader)¶
Read xen settings.
- validate(self)¶
Validate xen settings.
- class robottelo.config.virtwho.HypervSettings(*args, **kwargs)¶
Bases:
robottelo.config.base.FeatureSettings
Hyperv settings definitions.
- read(self, reader)¶
Read hyperv settings.
- validate(self)¶
Validate hyperv settings.
- class robottelo.config.virtwho.RhevmSettings(*args, **kwargs)¶
Bases:
robottelo.config.base.FeatureSettings
Rhevm settings definitions.
- read(self, reader)¶
Read rhevm settings.
- validate(self)¶
Validate rhevm settings.
- class robottelo.config.virtwho.LibvirtSettings(*args, **kwargs)¶
Bases:
robottelo.config.base.FeatureSettings
Libvirt settings definitions.
- read(self, reader)¶
Read libvirt settings.
- validate(self)¶
Validate libvirt settings.
- class robottelo.config.virtwho.KubevirtSettings(*args, **kwargs)¶
Bases:
robottelo.config.base.FeatureSettings
Kubevirt settings definitions.
- read(self, reader)¶
Read kubevirt settings.
- validate(self)¶
Validate kubevirt settings.
- class robottelo.config.virtwho.VirtwhoSettings¶
Virtwho’s settings representation.
- configure(self, settings_path=None)¶
Read the settings file and parse the configuration.
- Parameters
settings_path (str) – path to settings file to read. If None, looks in the project root for a file named ‘robottelo.properties’.
- Raises
ImproperlyConfigured if any issue is found during the parsing or validation of the configuration.