Merge lp://qastaging/~jason-koelker/nova/lp819477 into lp://qastaging/~hudson-openstack/nova/trunk
Status: | Work in progress |
---|---|
Proposed branch: | lp://qastaging/~jason-koelker/nova/lp819477 |
Merge into: | lp://qastaging/~hudson-openstack/nova/trunk |
Diff against target: |
2911 lines (+1321/-496) 21 files modified
bin/nova-manage (+136/-33) nova/api/ec2/cloud.py (+2/-5) nova/api/openstack/views/addresses.py (+1/-1) nova/auth/manager.py (+25/-4) nova/db/api.py (+59/-13) nova/db/sqlalchemy/api.py (+145/-68) nova/db/sqlalchemy/custom_types.py (+46/-0) nova/db/sqlalchemy/migrate_repo/versions/045_split_networks.py (+128/-0) nova/db/sqlalchemy/migrate_repo/versions/046_fk_fixed_ips_subnet_id.py (+57/-0) nova/db/sqlalchemy/migrate_repo/versions/046_sqlite_downgrade.sql (+52/-0) nova/db/sqlalchemy/migrate_repo/versions/046_sqlite_upgrade.sql (+52/-0) nova/db/sqlalchemy/models.py (+35/-33) nova/exception.py (+18/-5) nova/network/api.py (+8/-4) nova/network/linux_net.py (+34/-31) nova/network/manager.py (+344/-186) nova/tests/__init__.py (+1/-1) nova/tests/api/openstack/contrib/test_floating_ips.py (+14/-5) nova/tests/api/openstack/test_servers.py (+1/-1) nova/tests/test_network.py (+135/-82) nova/tests/test_nova_manage.py (+28/-24) |
To merge this branch: | bzr merge lp://qastaging/~jason-koelker/nova/lp819477 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan Prince (community) | Needs Fixing | ||
Thierry Carrez (community) | ffe | Abstain | |
Rick Harris (community) | Approve | ||
Trey Morris (community) | Approve | ||
Devin Carlen (community) | Approve | ||
Matt Dietz (community) | Approve | ||
Review via email:
|
Commit message
* Split subnets and bridges into 2 tables.
* Add StringIP/StringNet db types to take and return netaddr instances, but store in DB as strings
* Add subnet_create function to network_manager and update network_create to use it
* Modify network_create to continue to allow specifying subnets along with networks for legacy compat
* Add subnet sub-command to nova-manager to create/list/delete subnets outside of network definition.
Description of the change
* Split subnets and bridges into 2 tables.
* Add StringIP/StringNet db types to take and return netaddr instances, but store in DB as strings
* Add subnet_create function to network_manager and update network_create to use it
* Modify network_create to continue to allow specifying subnets along with networks for legacy compat
* Add subnet sub-command to nova-manager to create/list/delete subnets outside of network definition.
Unmerged revisions
- 1485. By Jason Kölker
-
merge trunk
- 1484. By Jason Kölker
-
merge trunk
- 1483. By Jason Kölker
-
pep8 fix
- 1482. By Jason Kölker
-
if a vpn_public_port is generated and cpn_public_address is not specified, default to the FLAG value
- 1481. By Jason Kölker
-
VPN data should only be generated on v4 networks, since none of the VPN/VLAN stuff sets v6 up for it
- 1480. By Jason Kölker
-
make special case for VpnCommands.change so that it 'works' expectedly
- 1479. By Jason Kölker
-
remove unused import
- 1478. By Jason Kölker
-
remove accidently setting the vpn_public address
- 1477. By Jason Kölker
-
add some debug logging
- 1476. By Jason Kölker
-
generate project vpn data from the first subnet of the first network (generally it doesn't make sense to have the vlan manager and multiple subnets per network, so this *should* be safe)
Couldn't find anything wrong other than a couple doc typos:
1034 + # If no ipv6 subnets are define this will be None
typo -> "defined"
1573 + # None if network with already exists
You accidentally a word
Seems reasonable otherwise. Good piece of functionality