From d6e1523f78f09386c80f7ddebd810e025cd6c3a2 Mon Sep 17 00:00:00 2001 From: Miguel Lavalle Date: Sun, 1 Mar 2020 18:56:03 -0600 Subject: [PATCH] Add tag-ports-during-bulk-creation to devstack Add tag-ports-during-bulk-creation to devstack Change-Id: I838de14f183f805c19411218edb815e190f8d650 --- devstack/lib/tag_ports_during_bulk_creation | 3 +++ devstack/plugin.sh | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 devstack/lib/tag_ports_during_bulk_creation diff --git a/devstack/lib/tag_ports_during_bulk_creation b/devstack/lib/tag_ports_during_bulk_creation new file mode 100644 index 00000000000..d1a68f90704 --- /dev/null +++ b/devstack/lib/tag_ports_during_bulk_creation @@ -0,0 +1,3 @@ +function configure_tag_ports_during_bulk_creation_extension { + neutron_ml2_extension_driver_add "tag_ports_during_bulk_creation" +} diff --git a/devstack/plugin.sh b/devstack/plugin.sh index a1b58821e19..1e353e52995 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -16,6 +16,7 @@ source $LIBDIR/placement source $LIBDIR/log source $LIBDIR/fip_port_forwarding source $LIBDIR/uplink_status_propagation +source $LIBDIR/tag_ports_during_bulk_creation Q_BUILD_OVS_FROM_GIT=$(trueorfalse False Q_BUILD_OVS_FROM_GIT) @@ -45,6 +46,9 @@ if [[ "$1" == "stack" ]]; then fi ;; post-config) + if is_service_enabled neutron-tag-ports-during-bulk-creation; then + configure_tag_ports_during_bulk_creation_extension + fi if is_service_enabled neutron-uplink-status-propagation; then configure_uplink_status_propagation_extension fi