Devstack plugin for network-segment-range api

This patch implements devstack plugin for network-segment-range api.
The network-segment-range api service is based on network-segment-range
spec [1].

[1] https://specs.openstack.org/openstack/neutron-specs/specs/stein/network-segment-range-management.html

Co-authored-by: Allain Legacy <Allain.legacy@windriver.com>

Partially-implements: blueprint network-segment-range-management
Change-Id: I09116a4323763db12917e03f354cf0ef25289fd0
This commit is contained in:
Kailun Qin 2019-03-05 18:48:58 +08:00
parent a01b7125cd
commit 33f404a519
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