The watcher.applier.actions.sleep Module

The watcher.applier.actions.sleep Module

class watcher.applier.actions.sleep.Sleep(config, osc=None)[source]

Bases: watcher.applier.actions.base.BaseAction

Makes the executor of the action plan wait for a given duration

The action schema is:

schema = Schema({
 'duration': float,
})

The duration is expressed in seconds.

abort()[source]
execute()[source]
get_description()[source]

Description of the action

post_condition()[source]
pre_condition()[source]
revert()[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.