Merge "Rehome functions to enable Neutron's segments integration"
This commit is contained in:
commit
3894077e6c
@ -294,6 +294,7 @@ source $TOP_DIR/lib/neutron_plugins/services/l3
|
||||
source $TOP_DIR/lib/neutron_plugins/services/placement
|
||||
source $TOP_DIR/lib/neutron_plugins/services/trunk
|
||||
source $TOP_DIR/lib/neutron_plugins/services/qos
|
||||
source $TOP_DIR/lib/neutron_plugins/services/segments
|
||||
|
||||
# Use security group or not
|
||||
if has_neutron_plugin_security_group; then
|
||||
@ -416,6 +417,10 @@ function configure_neutron {
|
||||
configure_l3_agent_extension_gateway_ip_qos
|
||||
fi
|
||||
fi
|
||||
if is_service_enabled neutron-segments; then
|
||||
configure_placement_neutron
|
||||
configure_segments_extension
|
||||
fi
|
||||
|
||||
# Finally configure Neutron server and core plugin
|
||||
if is_service_enabled q-agt neutron-agent q-svc neutron-api; then
|
||||
|
10
lib/neutron_plugins/services/segments
Normal file
10
lib/neutron_plugins/services/segments
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
function configure_segments_service_plugin {
|
||||
neutron_service_plugin_class_add segments
|
||||
}
|
||||
|
||||
function configure_segments_extension {
|
||||
configure_segments_service_plugin
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user