Add l3 conntrack helper to devstack plugin
This commit adds possibility to configure L3 conntrack_helper service plugin and l3 extension with devstack plugin. Related-Bug: #1823633 Change-Id: Ie96ff80f1c296c40ec2cd82c8d917a8bb262b12e
This commit is contained in:
parent
e51283669e
commit
6c99bf1952
4
devstack/lib/l3_conntrack_helper
Normal file
4
devstack/lib/l3_conntrack_helper
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
function configure_l3_conntrack_helper {
|
||||||
|
neutron_service_plugin_class_add "conntrack_helper"
|
||||||
|
plugin_agent_add_l3_agent_extension "conntrack_helper"
|
||||||
|
}
|
@ -5,6 +5,7 @@ source $LIBDIR/flavors
|
|||||||
source $LIBDIR/l2_agent
|
source $LIBDIR/l2_agent
|
||||||
source $LIBDIR/l2_agent_sriovnicswitch
|
source $LIBDIR/l2_agent_sriovnicswitch
|
||||||
source $LIBDIR/l3_agent
|
source $LIBDIR/l3_agent
|
||||||
|
source $LIBDIR/l3_conntrack_helper
|
||||||
source $LIBDIR/ml2
|
source $LIBDIR/ml2
|
||||||
source $LIBDIR/network_segment_range
|
source $LIBDIR/network_segment_range
|
||||||
source $LIBDIR/qos
|
source $LIBDIR/qos
|
||||||
@ -85,6 +86,9 @@ if [[ "$1" == "stack" ]]; then
|
|||||||
if is_service_enabled q-port-forwarding neutron-port-forwarding; then
|
if is_service_enabled q-port-forwarding neutron-port-forwarding; then
|
||||||
configure_port_forwarding
|
configure_port_forwarding
|
||||||
fi
|
fi
|
||||||
|
if is_service_enabled q-conntrack-helper neutron-conntrack-helper; then
|
||||||
|
configure_l3_conntrack_helper
|
||||||
|
fi
|
||||||
configure_l3_agent
|
configure_l3_agent
|
||||||
fi
|
fi
|
||||||
if [ $NEUTRON_CORE_PLUGIN = ml2 ]; then
|
if [ $NEUTRON_CORE_PLUGIN = ml2 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user