Add WallabyOVNChassisCharm class
This aligns with the following charm-layer-ovn change: https://github.com/openstack-charmers/charm-layer-ovn/pull/54 Depends-On: https://review.opendev.org/c/x/charm-ovn-dedicated-chassis/+/816055 Closes-Bug: #1951462 Change-Id: Ifafd9c6278e50511d3fc7caa411999578d64a0be
This commit is contained in:
parent
9a0782a8a8
commit
015414bfce
@ -59,3 +59,18 @@ class UssuriOVNChassisCharm(charms.ovn_charm.DeferredEventMixin,
|
||||
def install(self, check_deferred_events=True):
|
||||
self.configure_source()
|
||||
super().install(check_deferred_events=check_deferred_events)
|
||||
|
||||
|
||||
class WallabyOVNChassisCharm(charms.ovn_charm.DeferredEventMixin,
|
||||
charms.ovn_charm.BaseWallabyOVNChassisCharm):
|
||||
# OpenvSwitch and OVN is distributed as part of the Ubuntu Cloud Archive
|
||||
# Pockets get their name from OpenStack releases
|
||||
source_config_key = 'source'
|
||||
release = 'wallaby'
|
||||
name = 'ovn-dedicated-chassis'
|
||||
configuration_class = OVNDedicatedChassisConfigurationAdapter
|
||||
|
||||
# NOTE(fnordahl): Add this to ``layer-ovn``
|
||||
def install(self, check_deferred_events=True):
|
||||
self.configure_source()
|
||||
super().install(check_deferred_events=check_deferred_events)
|
||||
|
Loading…
x
Reference in New Issue
Block a user