Enable ironic compatible services

Enable ironic compatible services starting at Bobcat release.
This enables the ovn-router and trunk service plugins and allows
for the baremetal mechanism driver.

Change-Id: I57417c31d142b73f68923c82e95b4be9255e16b4
This commit is contained in:
Billy Olsen
2024-04-29 16:42:54 -07:00
committed by Billy Olsen
parent 67c747f0f7
commit 3af4070940

View File

@@ -350,3 +350,15 @@ class UssuriNeutronAPIPluginCharm(BaseNeutronAPIPluginCharm):
)
if neutron_api is not None:
neutron_api.request_restart()
class BobcatNeutronAPIPluginCharm(UssuriNeutronAPIPluginCharm):
"""The Bobcat incarnation of the charm.
Allow for baremetal mechanism drivers so that ironic can
leverage OVN.
"""
release = 'bobcat'
svc_plugins = ['ovn-router', 'trunk']
# Allow for the baremetal mechanism driver
mech_driver_allowlist = ['sriovnicswitch', 'baremetal']