Merge lp:~markmc/nova/flat-dhcp-without-bridge-iface into lp:~hudson-openstack/nova/trunk

Proposed by Mark McLoughlin
Status: Merged
Approved by: Dan Prince
Approved revision: 1484
Merged at revision: 1550
Proposed branch: lp:~markmc/nova/flat-dhcp-without-bridge-iface
Merge into: lp:~hudson-openstack/nova/trunk
Diff against target: 12 lines (+1/-2)
1 file modified
bin/nova-manage (+1/-2)
To merge this branch: bzr merge lp:~markmc/nova/flat-dhcp-without-bridge-iface
Reviewer Review Type Date Requested Status
Dan Prince (community) Approve
Jason Kölker (community) Approve
Vish Ishaya (community) Approve
Review via email: mp+74049@code.launchpad.net

Commit message

Do not require --bridge_interface for FlatDHCPManager (lp:844944)

Unlike VlanManager, FlatDHCPManager actually works fine without a bridge
interface on single host deployments.

To post a comment you must log in.
Revision history for this message
Vish Ishaya (vishvananda) wrote :

This is correct. When you propose merges, can you set a commit message or a description? It is needed in order to merge. (I went ahead and added it for you on these proposals).

review: Approve
Revision history for this message
Thierry Carrez (ttx) wrote :

Please link to a bug so that it's clear it's a bugfix.

Revision history for this message
Mark McLoughlin (markmc) wrote :

> This is correct. When you propose merges, can you set a commit message or a
> description? It is needed in order to merge. (I went ahead and added it for
> you on these proposals).

Sure, thanks for your patience - I'm only starting to get the hang of bzr and launchpad :

Revision history for this message
Mark McLoughlin (markmc) wrote :

> Please link to a bug so that it's clear it's a bugfix.

Done now

Revision history for this message
Jason Kölker (jason-koelker) wrote :

Is Bueno!

Revision history for this message
Jason Kölker (jason-koelker) :
review: Approve
Revision history for this message
Dan Prince (dan-prince) wrote :

This looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/nova-manage'
2--- bin/nova-manage 2011-09-01 19:22:32 +0000
3+++ bin/nova-manage 2011-09-05 07:09:23 +0000
4@@ -717,8 +717,7 @@
5 bridge_interface = bridge_interface or FLAGS.flat_interface or \
6 FLAGS.vlan_interface
7 if not bridge_interface:
8- interface_required = ['nova.network.manager.FlatDHCPManager',
9- 'nova.network.manager.VlanManager']
10+ interface_required = ['nova.network.manager.VlanManager']
11 if FLAGS.network_manager in interface_required:
12 raise exception.NetworkNotCreated(req='--bridge_interface')
13