Browse Source

Enable segments plugin in gate

Change-Id: I821f7c07f21a10c8a8d2b3c7e79da205b805d525
changes/39/459439/15
James Anziano 5 years ago
parent
commit
2d77118771
  1. 7
      devstack/lib/segments
  2. 4
      devstack/plugin.sh
  3. 1
      neutron/tests/contrib/gate_hook.sh
  4. 1
      neutron/tests/contrib/hooks/api_all_extensions
  5. 1
      neutron/tests/contrib/hooks/segments

7
devstack/lib/segments

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

4
devstack/plugin.sh

@ -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

1
neutron/tests/contrib/gate_hook.sh

@ -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

1
neutron/tests/contrib/hooks/api_all_extensions

@ -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"

1
neutron/tests/contrib/hooks/segments

@ -0,0 +1 @@
enable_service neutron-segments
Loading…
Cancel
Save