charms.openstack/charms_openstack
Liam Young 38de241ce6 Allow bespoke get_charm_instance method to be used
Allow a charm to use the new register_get_charm_instance decorator
to register the method to be used when getting a charm instance.
Currently get_charm_instance expects standard OpenStack
versioning, this change allows are a charm to register an
alternative get_charm_instance method that can handle an
alternative versioning system.

Perhaps controversially the default method is not defined in
charms_openstack.charm.defaults. I have kept it in core
because it felt a more natural fit there given it relies on
core._releases but I am open to moving it if that is
preferable.

Change-Id: I42574654bc1f314b49049e80861d4039f8484dff
2020-12-03 13:46:07 +00:00
..
charm Allow bespoke get_charm_instance method to be used 2020-12-03 13:46:07 +00:00
devices Added ovs, odl and pci modules 2016-09-14 13:58:05 +00:00
plugins plugins/ceph: Add common pool creation method 2020-10-02 14:57:36 +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 Optionally change service port for ssl 2020-09-28 13:03:34 +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