summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTrey Morris <trey.morris@rackspace.com>2011-09-19 15:56:42 -0500
committerTrey Morris <trey.morris@rackspace.com>2011-09-19 15:56:42 -0500
commiteee411b90f7c6eda0de898489daff6e6aa006bb1 (patch)
tree6c003e7ee090f210d4b76cfbbf11340802787eff /bin
parent3da916de6165e1e7012f61a05a6a0d9d06906b48 (diff)
now raising instead of setting bridge to br100 and warning as was noted
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nova-manage11
1 files changed, 1 insertions, 10 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index 089b2eeae..4d90dd1b3 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -710,16 +710,7 @@ class NetworkCommands(object):
bridge_required = ['nova.network.manager.FlatManager',
'nova.network.manager.FlatDHCPManager']
if FLAGS.network_manager in bridge_required:
- # TODO(tr3buchet) - swap print statement and following line for
- # raise statement in diablo 4
- print _('--bridge parameter required or FLAG '
- 'flat_network_bridge must be set to create networks\n'
- 'WARNING! ACHTUNG! Setting the bridge to br100 '
- 'automatically is deprecated and will be removed in '
- 'Diablo milestone 4. Prepare yourself accordingly.')
- time.sleep(10)
- bridge = 'br100'
- #raise exception.NetworkNotCreated(req='--bridge')
+ raise exception.NetworkNotCreated(req='--bridge')
bridge_interface = bridge_interface or FLAGS.flat_interface or \
FLAGS.vlan_interface