charms.openstack/unit_tests
Liam Young 2520764264 Support upgrades to Trilio 4.1
Adding support for Trilio 4.1 includes the following changes:

* Add Trilio_properties config property to enables templates to
  distinguish between 4.0 and 4.1 release.
* Add get_trilio_codename_install_source to attempt to derive the
  Trilio version supported by an apt repo.
* Add get_trilio_charm_instance which overrides the default
  get_charm_instance.  This will pick the correct charm class based
  on both the Trilio release and the OpenStack release.
* Add select_trilio_release which overrides the default
  select_release and calculates the target OpenStack and Trilio
  release.
* Add a specialist Trilio metaclass BaseTrilioCharmMeta. This
  registers charm classes using their OpenStack release, Trilio
  release and package type.
* Move code shared between TrilioVaultCharm &
  TrilioVaultSubordinateCharm to TrilioVaultCharmMixin. Add support
  for Trilio upgrades to TrilioVaultCharmMixina.

NOTE: An earlier version of this change
      (I5a5e5721d9a713b66f8c796896c400481e9733a2) was landed and
      reverted. It was reverted because get_trilio_charm_instance
      and select_trilio_release were both registered as handlers
      irrespective of whether a charm explicitly imported
      charms_openstack.plugins.trilio This caused reactive charms
      which used the default handlers to fail as they imported the
      Trilio functions and the default ones and only one can ever
      registered. This patch fixes this by wrapping the trilio
      function definitions inside make_* methods, so the decorator
      only registers the methods when the make_* methods are
      explicitly called.

Change-Id: Id3bb13aff6d0e6df2d5ec144689c992cf09c1b4c
2021-01-07 09:48:13 +00:00
..
charms_openstack Support upgrades to Trilio 4.1 2021-01-07 09:48:13 +00:00
__init__.py Drop flake8 upper version constraint 2020-06-08 10:29:45 +01:00
odl_responses.py Added ovs, odl and pci modules 2016-09-14 13:58:05 +00:00
pci_responses.py Added ovs, odl and pci modules 2016-09-14 13:58:05 +00:00
test_charms_openstack_adapters.py Optionally change service port for ssl 2020-09-28 13:03:34 +00:00
test_charms_openstack_bus.py bus: Allow overriding discover search path 2019-11-19 11:07:27 +01:00
test_charms_openstack_devices_pci.py Stop to use the __future__ module. 2020-06-02 20:06:38 +02:00
test_charms_openstack_ip.py Stop to use the __future__ module. 2020-06-02 20:06:38 +02:00
test_charms_openstack_sdn_odl.py Added ovs, odl and pci modules 2016-09-14 13:58:05 +00:00
test_charms_openstack_sdn_ovs.py Stop to use the __future__ module. 2020-06-02 20:06:38 +02:00
test_charms_openstack_test_utils.py Stop to use the __future__ module. 2020-06-02 20:06:38 +02:00
utils.py Fix up to work with 0.6.0 of charms.reactive 2018-01-17 16:27:52 +00:00