Merge "Add devstack plugin to enable ovs distributed dhcp service"
This commit is contained in:
commit
c32a5f2192
|
@ -0,0 +1,4 @@
|
|||
function configure_ovs_distributed_dhcp {
|
||||
plugin_agent_add_l2_agent_extension "dhcp"
|
||||
iniset $NEUTRON_CONF DEFAULT enable_traditional_dhcp False
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
LIBDIR=$DEST/neutron/devstack/lib
|
||||
|
||||
source $LIBDIR/distributed_dhcp
|
||||
source $LIBDIR/dns
|
||||
source $LIBDIR/flavors
|
||||
source $LIBDIR/l2_agent
|
||||
|
@ -79,6 +80,11 @@ if [[ "$1" == "stack" ]]; then
|
|||
if is_service_enabled neutron-network-segment-range; then
|
||||
configure_network_segment_range
|
||||
fi
|
||||
if is_service_enabled q-distributed-dhcp neutron-distributed-dhcp; then
|
||||
if [ $Q_AGENT = openvswitch ]; then
|
||||
configure_ovs_distributed_dhcp
|
||||
fi
|
||||
fi
|
||||
if is_service_enabled q-agt neutron-agent; then
|
||||
configure_l2_agent
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue