Merge lp:~tpatil/nova/bug839269 into lp:~hudson-openstack/nova/trunk
Proposed by
Tushar Patil
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Dan Prince | ||||
Approved revision: | 1525 | ||||
Merged at revision: | 1551 | ||||
Proposed branch: | lp:~tpatil/nova/bug839269 | ||||
Merge into: | lp:~hudson-openstack/nova/trunk | ||||
Diff against target: |
75 lines (+15/-6) 4 files modified
nova/db/api.py (+4/-2) nova/db/sqlalchemy/api.py (+7/-2) nova/network/manager.py (+2/-1) nova/tests/test_network.py (+2/-1) |
||||
To merge this branch: | bzr merge lp:~tpatil/nova/bug839269 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan Prince (community) | Approve | ||
Brian Waldon (community) | Approve | ||
William Wolf (community) | Approve | ||
Devin Carlen (community) | Approve | ||
Review via email: mp+73879@code.launchpad.net |
Commit message
When vpn=true in allocate ip, it attempts to allocate the ip that is reserved in the network. Unfortunately fixed_ip_associate attempts to ignore reserved ips.
This fix allows to filter reserved ip address only when vpn=True.
Description of the change
When vpn=true in allocate ip, it attempts to allocate the ip that is reserved in the network. Unfortunately fixed_ip_associate attempts to ignore reserved ips.
This fix allows to filter reserved ip address only when vpn=True.
To post a comment you must log in.
Looks good. Would you mind adding a docstring to fixed_ip_associate in sqlalchemy/api.py to explain that 'reserved' is the exact value that will be filtered on?