Add ndp_proxy to devstack plugin

This commit adds possibility to configure L3 ndp_proxy service
plugin and l3 extension with devstack plugin.

Change-Id: I41713b1cfbf55b0b0e752904c4aea06fe0a00e10
Partial-Bug: #1877301
This commit is contained in:
yangjianfeng 2021-12-27 16:28:53 +08:00
parent 9b27020a65
commit 017a098455
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,4 @@
function configure_l3_ndp_proxy {
neutron_service_plugin_class_add "ndp_proxy"
plugin_agent_add_l3_agent_extension "ndp_proxy"
}

View File

@ -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