diff --git a/lib/neutron-legacy b/lib/neutron-legacy index 31968498de..7b20a96ed7 100644 --- a/lib/neutron-legacy +++ b/lib/neutron-legacy @@ -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 diff --git a/lib/neutron_plugins/services/trunk b/lib/neutron_plugins/services/trunk new file mode 100644 index 0000000000..8e0f6944cf --- /dev/null +++ b/lib/neutron_plugins/services/trunk @@ -0,0 +1,5 @@ +#!/bin/bash + +function configure_trunk_extension { + neutron_service_plugin_class_add "trunk" +}