Use Netplan to configure SR-IOV and HWOL
Rebuild pulls in updates to layer-ovn which enables use of Netplan to configure SR-IOV and Hardware Offload. Also drop past release specific classes. As part of the migration to charmhub we have also changed the release strategy from having every release support all previous supported os/release combinations to only support current and previous version (to ensure N+1 upgrades). Change-Id: Iaccd569a6d8f1e46b13f34428eb0a5c12daa1602
This commit is contained in:
parent
4f5a7bf7ba
commit
b4644b6ade
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ build
|
|||||||
interfaces
|
interfaces
|
||||||
layers
|
layers
|
||||||
*.swp
|
*.swp
|
||||||
|
*.charm
|
||||||
|
@ -20,37 +20,16 @@ import charms.ovn_charm
|
|||||||
charm.use_defaults('charm.default-select-release')
|
charm.use_defaults('charm.default-select-release')
|
||||||
|
|
||||||
|
|
||||||
class TrainOVNChassisCharm(charms.ovn_charm.DeferredEventMixin,
|
class OVNChassisCharm(charms.ovn_charm.DeferredEventMixin,
|
||||||
charms.ovn_charm.BaseTrainOVNChassisCharm):
|
charms.ovn_charm.BaseOVNChassisCharm):
|
||||||
# OpenvSwitch and OVN is distributed as part of the Ubuntu Cloud Archive
|
# OpenvSwitch and OVN is distributed as part of the Ubuntu Cloud Archive
|
||||||
# Pockets get their name from OpenStack releases
|
# Pockets get their name from OpenStack releases.
|
||||||
release = 'train'
|
#
|
||||||
name = 'ovn-chassis'
|
# This defines the earliest version this charm can support, actually
|
||||||
|
# installed version is selected by the principle charm.
|
||||||
# Setting an empty source_config_key activates special handling of release
|
|
||||||
# selection suitable for subordinate charms
|
|
||||||
source_config_key = ''
|
|
||||||
|
|
||||||
|
|
||||||
class UssuriOVNChassisCharm(charms.ovn_charm.DeferredEventMixin,
|
|
||||||
charms.ovn_charm.BaseUssuriOVNChassisCharm):
|
|
||||||
# OpenvSwitch and OVN is distributed as part of the Ubuntu Cloud Archive
|
|
||||||
# Pockets get their name from OpenStack releases
|
|
||||||
release = 'ussuri'
|
release = 'ussuri'
|
||||||
name = 'ovn-chassis'
|
name = 'ovn-chassis'
|
||||||
|
|
||||||
# Setting an empty source_config_key activates special handling of release
|
# Setting an empty source_config_key activates special handling of release
|
||||||
# selection suitable for subordinate charms
|
# selection suitable for subordinate charms
|
||||||
source_config_key = ''
|
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 = ''
|
|
||||||
|
Loading…
Reference in New Issue
Block a user