Add Quantum support: address code review comments

(commit 1bfa3d53c1)
This commit is contained in:
Brad Hall 2011-10-28 08:28:26 -07:00
parent 1bfa3d53c1
commit d9e544e5c3

View file

@ -817,10 +817,8 @@ if [[ "$ENABLED_SERVICES" =~ "q-agt" ]]; then
screen_it q-agt "sleep 4; sudo python $QUANTUM_DIR/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py $QUANTUM_DIR/quantum/plugins/openvswitch/ovs_quantum_plugin.ini -v"
fi
# NOTE(bgh): I moved the network creation here because Quantum has to be up
# and running before we can communicate with it if we're using Quantum for
# networking (i.e. q-svc is enabled).
# If we're using Quantum (i.e. q-svc is enabled), network creation has to
# happen after we've started the Quantum service.
if [[ "$ENABLED_SERVICES" =~ "mysql" ]]; then
# create a small network
$NOVA_DIR/bin/nova-manage network create private $FIXED_RANGE 1 $FIXED_NETWORK_SIZE