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-chassis/+/816053
Closes-Bug: #1951462
Change-Id: I3cf168a19608d277f91897aef6e883f7259a91f9
This commit is contained in:
Corey Bryant 2021-11-19 11:13:32 -05:00
parent 4ba4175d03
commit 4e52cd24ca
1 changed files with 12 additions and 0 deletions

View File

@ -42,3 +42,15 @@ class UssuriOVNChassisCharm(charms.ovn_charm.DeferredEventMixin,
# Setting an empty source_config_key activates special handling of release
# selection suitable for subordinate charms
source_config_key = ''
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
release = 'wallaby'
name = 'ovn-chassis'
# Setting an empty source_config_key activates special handling of release
# selection suitable for subordinate charms
source_config_key = ''