Merge "Devstack plugin for network-segment-range api"

This commit is contained in:
Zuul 2019-03-10 20:42:54 +00:00 committed by Gerrit Code Review
commit aa72fcace7
5 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,3 @@
function configure_network_segment_range {
neutron_service_plugin_class_add "network_segment_range"
}

View File

@ -6,6 +6,7 @@ source $LIBDIR/l2_agent
source $LIBDIR/l2_agent_sriovnicswitch
source $LIBDIR/l3_agent
source $LIBDIR/ml2
source $LIBDIR/network_segment_range
source $LIBDIR/qos
source $LIBDIR/ovs
source $LIBDIR/segments
@ -56,6 +57,9 @@ if [[ "$1" == "stack" ]]; then
if is_service_enabled neutron-segments; then
configure_segments_extension
fi
if is_service_enabled neutron-network-segment-range; then
configure_network_segment_range
fi
if is_service_enabled q-agt neutron-agent; then
configure_l2_agent
fi

View File

@ -102,6 +102,7 @@ case $VENV in
load_rc_hook qos
load_rc_hook segments
load_rc_hook trunk
load_rc_hook network_segment_range
load_conf_hook vlan_provider
load_conf_hook osprofiler
load_conf_hook availability_zone

View File

@ -33,6 +33,7 @@ NETWORK_API_EXTENSIONS+=",net-mtu"
NETWORK_API_EXTENSIONS+=",net-mtu-writable"
NETWORK_API_EXTENSIONS+=",network-ip-availability"
NETWORK_API_EXTENSIONS+=",network_availability_zone"
NETWORK_API_EXTENSIONS+=",network-segment-range"
NETWORK_API_EXTENSIONS+=",pagination"
NETWORK_API_EXTENSIONS+=",port-security"
NETWORK_API_EXTENSIONS+=",project-id"

View File

@ -0,0 +1 @@
enable_service neutron-network-segment-range