Merge "Rehome functions to enable Neutron's Trunk service plugin"

This commit is contained in:
Zuul 2021-10-11 00:51:51 +00:00 committed by Gerrit Code Review
commit 2e336ee79f
2 changed files with 14 additions and 0 deletions

View File

@ -275,6 +275,10 @@ source $TOP_DIR/lib/neutron_plugins/services/metering
# L3 Service functions
source $TOP_DIR/lib/neutron_plugins/services/l3
# Additional Neutron service plugins
source $TOP_DIR/lib/neutron_plugins/services/trunk
# Use security group or not
if has_neutron_plugin_security_group; then
Q_USE_SECGROUP=${Q_USE_SECGROUP:-True}
@ -369,6 +373,11 @@ function configure_mutnauq {
configure_ovn_plugin
fi
# Configure Neutron's advanced services
if is_service_enabled q-trunk neutron-trunk; then
configure_trunk_extension
fi
iniset $NEUTRON_CONF DEFAULT api_workers "$API_WORKERS"
# devstack is not a tool for running uber scale OpenStack
# clouds, therefore running without a dedicated RPC worker

View File

@ -0,0 +1,5 @@
#!/bin/bash
function configure_trunk_extension {
neutron_service_plugin_class_add "trunk"
}