Enable segments plugin in gate

Change-Id: I821f7c07f21a10c8a8d2b3c7e79da205b805d525
This commit is contained in:
James Anziano 2017-04-24 19:54:01 +00:00
parent b244fa5f6e
commit 2d77118771
5 changed files with 14 additions and 0 deletions

7
devstack/lib/segments Normal file
View File

@ -0,0 +1,7 @@
function configure_segments_service_plugin {
neutron_service_plugin_class_add segments
}
function configure_segments_extension {
configure_segments_service_plugin
}

View File

@ -7,6 +7,7 @@ source $LIBDIR/l2_agent_sriovnicswitch
source $LIBDIR/ml2
source $LIBDIR/qos
source $LIBDIR/ovs
source $LIBDIR/segments
source $LIBDIR/trunk
Q_BUILD_OVS_FROM_GIT=$(trueorfalse False Q_BUILD_OVS_FROM_GIT)
@ -30,6 +31,9 @@ if [[ "$1" == "stack" ]]; then
if is_service_enabled q-dns neutron-dns; then
configure_dns_extension
fi
if is_service_enabled neutron-segments; then
configure_segments_extension
fi
if [[ "$NEUTRON_AGENT" == "openvswitch" ]] && \
[[ "$Q_BUILD_OVS_FROM_GIT" == "True" ]]; then
remove_ovs_packages

View File

@ -98,6 +98,7 @@ case $VENV in
load_conf_hook quotas
load_rc_hook dns
load_rc_hook qos
load_rc_hook segments
load_rc_hook trunk
load_conf_hook vlan_provider
load_conf_hook type_drivers

View File

@ -33,6 +33,7 @@ NETWORK_API_EXTENSIONS+=",rbac-policies"
NETWORK_API_EXTENSIONS+=",router"
NETWORK_API_EXTENSIONS+=",router_availability_zone"
NETWORK_API_EXTENSIONS+=",security-group"
NETWORK_API_EXTENSIONS+=",segment"
NETWORK_API_EXTENSIONS+=",service-type"
NETWORK_API_EXTENSIONS+=",sorting"
NETWORK_API_EXTENSIONS+=",standard-attr-description"

View File

@ -0,0 +1 @@
enable_service neutron-segments