charms.openstack/charms_openstack
Dmitrii Shcherbakov c9b4009810 Allow service actions to be overridden
In order to allow child classes to use other means of controlling
service lifetime, this change introduces methods that call
systemd/upstart via charm-helpers by default but allow for something
else to be used in overrides.

The example use-case in question is the use of crm tools to restart
services:

crm_resource --restart --wait --node <node-name>

Which will restart a resource on a given node if it is running there or
return ENXIO otherwise.

Change-Id: Ifb16f6743296a1ef6dcb212cad517afd57270f7f
Closes-Bug: #1891160
2020-08-12 16:40:05 +03:00
..
charm Allow service actions to be overridden 2020-08-12 16:40:05 +03:00
devices Added ovs, odl and pci modules 2016-09-14 13:58:05 +00:00
plugins Drop use of tuple unpacking to fix Python 3.4 compability 2020-06-16 09:17:19 +02:00
sdn Added ovs, odl and pci modules 2016-09-14 13:58:05 +00:00
__init__.py Add license headers to all source files 2016-06-28 11:13:14 +01:00
adapters.py Merge "Enable Database TLS" 2020-07-17 16:14:17 +00:00
bus.py bus: Allow overriding discover search path 2019-11-19 11:07:27 +01:00
ip.py Stop to use the __future__ module. 2020-06-02 20:06:38 +02:00
test_mocks.py Add new OpenStack release to testing mocks 2020-07-13 18:40:16 +00:00
test_utils.py Drop flake8 upper version constraint 2020-06-08 10:29:45 +01:00