Every reactive charm that uses charms.openstack and implements unit
testing needs to mock charmhelpers, as otherwise the tests blow up.
This patch uses the mocking of charmhelpers in charms.openstack so that
a charm layer can just import test_mocks and charmhelpers will be mocked
out along with setting up a default
charmhelpers.c.o.u.OPENSTACK_RELEASES so that when an OpenStackCharm()
derived charm class won't fail on definition.
Change-Id: Id6537afcd24840a008a537543a15cfe5fd278886
Related-Bug: #1693017
Depends-On: I5ac40617ee30e5f421ec16fc7592177a5e6aa166
- fix up code where the alpha comparisons are done
- refactor the code so that it uses, rather than fights,
charms.openstack features.
Change-Id: Ie3b7fdd53ee73c700b8515dce4bd114cab72269d
Related-Bug: #1659575
Drop the use of 'access' from the odl-controller relation; the
interface only sets connected and available.
Also assess status after the neutron-api-plugin-subordinate is
connected, as it does not provide any state.
Change-Id: I7b1793779a516c963f7459749aa02dc9ecef603d
This charm was written in the defunct services framework and before
the layers for Openstack had been written. This change
updates the charm to use the reactive framework and removes code which
now resides in a shared layer.
Change-Id: I103551103fde5f502634e3b3896d69626e0b876a
All contributions to this charm where made under Canonical
copyright; switch to Apache-2.0 license as agreed so we
can move forward with official project status.
Change-Id: I25aa2f328c69a333a8f9b6c409867724ca463267