0177cd8841
This commit implements basic VM management plugin for Climate. As decided we use nova shelved instances to support our reservation model. The only one thing we do for "on_start" lease action - 'unshelve' instance. As decided we support configurable opts for "on_end" lease action, by default it set to snapshot and delete VM. Implements bp:basic-vm-plugin Change-Id: Ia34e16c636d1fa8d200873334f55b9868866f97f
22 lines
439 B
Plaintext
22 lines
439 B
Plaintext
[DEFAULT]
|
|
|
|
os_auth_host=<auth_host>
|
|
os_auth_port=<auth_port>
|
|
os_auth_protocol=<http, for example>
|
|
os_admin_username=<username>
|
|
os_admin_password=<password>
|
|
os_admin_tenant_name=<tenant_name>
|
|
climate_username=<username>
|
|
climate_password=<password>
|
|
climate_tenant_name=<tenant_name>
|
|
|
|
[manager]
|
|
plugins=basic.vm.plugin,physical.host.plugin
|
|
|
|
[virtual:instance]
|
|
on_end = create_image, delete
|
|
|
|
[physical:host]
|
|
on_start = wake_up
|
|
on_end = delete
|