3 # Load modules from $CHARM_DIR/lib
7 from charms.reactive import main
8 from charms.reactive import set_state
9 from charmhelpers.core.hookenv import action_fail
12 `set_state` only works here because it's flushed to disk inside the `main()`
13 loop. remove_state will need to be called inside the action method.
15 set_state('vpe.connect-domains')
19 except Exception as e: