NAME
Kanku::Handler::ChangeDomainState
SYNOPSIS
Here is an example how to configure the module in your jobs file or KankuFile
-
use_module: Kanku::Handler::ChangeDomainState
options:
action: shutdown
timeout: 600
DESCRIPTION
This handler triggers an action on a VM and waits for the final state.
OPTIONS
action : <create|reboot|shutdown|destroy|undefine>
timeout : wait only <seconds>
wait_for_console: wait for console (e.g. after reboot) [DEFAULT: true]
wait_for_network: wait for network (e.g. after reboot) [DEFAULT: true]
allow_ip_change: wait for console and store new ip in job context [DEFAULT: false]
management_interface: interface to read new ip from (required by allow_ip_change)
CONTEXT
getters
domain_name
setters
ipaddress (in case of allow_ip_change enabled)
DEFAULTS
timeout : 600 seconds