diff options
author | yangjianfeng <yjf1970231893@gmail.com> | 2021-12-27 16:28:53 +0800 |
---|---|---|
committer | yangjianfeng <yjf1970231893@gmail.com> | 2022-02-27 11:10:03 +0800 |
commit | 017a098455ee7b0ad0217e84aa613d396eebd032 (patch) | |
tree | c1086a36b83e2b036dda7011da2a400a85cc01ce /devstack | |
parent | 9b27020a65a5e8d1f6c9dccd352ae00a2c40cf41 (diff) | |
download | neutron-017a098455ee7b0ad0217e84aa613d396eebd032.tar.gz |
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
Diffstat (limited to 'devstack')
-rw-r--r-- | devstack/lib/l3_ndp_proxy | 4 | ||||
-rw-r--r-- | devstack/plugin.sh | 4 |
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 |