Adds an action to charms to trigger a service restart.
Depends-On: Ic3521c08cdaa207e1391a32e03e53b276c51b309
Change-Id: I1d509d0bc2c3fb77348edef6810fcdc30cdc9ab8
Add generic action code that utilises charms_openstack.bus.discover()
so that the top level charm does not need to make any changes to
inherit generic actions.
Change-Id: I8b3422b915e2477d936e5cdd2d883c6815487577
The current implementation forces a charm to define its own
pause/resume actions and charm lint will fail if they do not. This
breaks charms in an unpleasant way so instead work is ongoing
to make pause/resume code standalone in this layer. For the moment
backout actions to unbreak charms.
Change-Id: I04f313097f632d7fa89e1734b966d12bda21656c
Add pause and resume actions to the Openstack charms. To use these
actions the charm author needs to add an os_actions.py file (which
imports the charm class) and needs to create action symlinks.
Change-Id: Ib882a506b8de6588c556187d526a4028586e5217