summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-03-12 04:07:14 +0000
committerGerrit Code Review <review@openstack.org>2022-03-12 04:07:14 +0000
commitf842544ae04f254521d82a64dabc73d2a17ae6d9 (patch)
tree0b69402f21a25b94157715edb4399a9ef132367f /devstack
parentd72eaabd8363243dfce6a5a11808613fc59b7cd2 (diff)
parent017a098455ee7b0ad0217e84aa613d396eebd032 (diff)
downloadneutron-f842544ae04f254521d82a64dabc73d2a17ae6d9.tar.gz
Merge "Add ndp_proxy to devstack plugin"
Diffstat (limited to 'devstack')
-rw-r--r--devstack/lib/l3_ndp_proxy4
-rw-r--r--devstack/plugin.sh4
2 files changed, 8 insertions, 0 deletions
diff --git a/devstack/lib/l3_ndp_proxy b/devstack/lib/l3_ndp_proxy
new file mode 100644
index 0000000000..35ca56d9ab
--- /dev/null
+++ b/devstack/lib/l3_ndp_proxy
@@ -0,0 +1,4 @@
+function configure_l3_ndp_proxy {
+ neutron_service_plugin_class_add "ndp_proxy"
+ plugin_agent_add_l3_agent_extension "ndp_proxy"
+}
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index 21b3c1c6cc..8a4a2dec62 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -7,6 +7,7 @@ source $LIBDIR/l2_agent
source $LIBDIR/l2_agent_sriovnicswitch
source $LIBDIR/l3_agent
source $LIBDIR/l3_conntrack_helper
+source $LIBDIR/l3_ndp_proxy
source $LIBDIR/ml2
source $LIBDIR/network_segment_range
source $LIBDIR/segments
@@ -92,6 +93,9 @@ if [[ "$1" == "stack" ]]; then
if is_service_enabled q-conntrack-helper neutron-conntrack-helper; then
configure_l3_conntrack_helper
fi
+ if is_service_enabled q-ndp-proxy neutron-ndp-proxy; then
+ configure_l3_ndp_proxy
+ fi
configure_l3_agent
fi
if [ $NEUTRON_CORE_PLUGIN = ml2 ]; then