vmshepherd.presets package¶
Submodules¶
vmshepherd.presets.abstract module¶
Preset configuration (or sometime called Preset store) is a mechanism to fetch and prepare cluster definition/spec for VmShepherd. Preset configuration driver should implement _get_preset_spec and _list.
Initialization - consider following config:
presets:
driver: SomeC
param1: AAAA
param2: BBBB
some_x: CCC
All params will be passed as config dict to the driver init:
vmshepherd.presets.directory_driver module¶
-
class
vmshepherd.presets.directory_driver.
DirectoryDriver
(config, runtime, defaults)[source]¶ Bases:
vmshepherd.presets.abstract.AbstractConfigurationDriver