4
sys.path.append('hooks/')
6
from charmhelpers.contrib.openstack.utils import (
7
do_action_openstack_upgrade,
10
from neutron_utils import (
15
from neutron_hooks import (
21
def openstack_upgrade():
22
"""Upgrade packages to config-set Openstack version.
24
If the charm was installed from source we cannot upgrade it.
25
For backwards compatibility a config flag must be set for this
26
code to run, otherwise a full service level upgrade will fire
29
if do_action_openstack_upgrade(get_common_package(),
35
if __name__ == '__main__':