Allow usage of multiple power drivers at once
* Deprecated power_management parameter. * Added power_managements to configuration. * Removed power_management variable from NodeCollection and Service. * Added PowerManager class that controls running of power drivers. * Updated docs. Change-Id: Idabcb1fb907022f0d556667cbf3c36326f526a08
This commit is contained in:
@@ -26,12 +26,14 @@ def main():
|
||||
'private_key_file': '~/.ssh/os_faults',
|
||||
}
|
||||
},
|
||||
'power_management': {
|
||||
'driver': 'libvirt',
|
||||
'args': {
|
||||
'connection_uri': 'qemu+ssh://ubuntu@host.local/system'
|
||||
'power_managements': [
|
||||
{
|
||||
'driver': 'libvirt',
|
||||
'args': {
|
||||
'connection_uri': 'qemu+ssh://ubuntu@host.local/system'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
logging.info('# Create connection to the cloud')
|
||||
|
||||
Reference in New Issue
Block a user