Merge lp://qastaging/~vishvananda/nova/fix-dhcp into lp://qastaging/~hudson-openstack/nova/trunk

Proposed by Vish Ishaya
Status: Merged
Approved by: Dan Prince
Approved revision: 1545
Merged at revision: 1607
Proposed branch: lp://qastaging/~vishvananda/nova/fix-dhcp
Merge into: lp://qastaging/~hudson-openstack/nova/trunk
Diff against target: 127 lines (+93/-16)
2 files modified
nova/network/linux_net.py (+24/-16)
nova/tests/test_linux_net.py (+69/-0)
To merge this branch: bzr merge lp://qastaging/~vishvananda/nova/fix-dhcp
Reviewer Review Type Date Requested Status
Dan Prince (community) Approve
Soren Hansen (community) Approve
Review via email: mp+76360@code.qastaging.launchpad.net

Description of the change

Makes sure ips are moved on the bridge for nodes running dnsmasq so that the gateway ip is always first.

To post a comment you must log in.
1544. By Vish Ishaya

add tests and fix bug when no ip was set

Revision history for this message
Soren Hansen (soren) wrote :

lgtm

I do wonder, though, if this is a bug in dnsmasq of if it's by design? Have we talked to dnsmasq upstream at all? According to man ip(8), the addresses are not discriminated, so the order shouldn't matter, AFAICS.

review: Approve
Revision history for this message
Soren Hansen (soren) wrote :

> I do wonder, though, if this is a bug in dnsmasq of if it's by design?

That should have said:

I do wonder, though, if this is a bug in dnsmasq or if it's by design?

1545. By Vish Ishaya

pep8

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
The diff is not available at this time. You can reload the page or download it.