]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add support for tenant-provided NSX gateways devices
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 18 Feb 2014 00:20:53 +0000 (16:20 -0800)
committerSalvatore Orlando <salv.orlando@gmail.com>
Fri, 7 Mar 2014 22:00:03 +0000 (23:00 +0100)
commite132bc49c458cb37696d4933ffdf9c478a8bef2b
tree067476fc7a831758000819c855ac42a2fdb7ecb3
parentac141c28356c49ee0f88e93abbe5f02ac9abf95d
Add support for tenant-provided NSX gateways devices

Add a new API resource specific to the NSX plugin for registering
tenant-owned NSX gateway devices with the NSX controller.
This API also allows tenants for managing gateway devices on the
NSX backend.

The behaviour of the net-gateway extension is mostly unchanged with
the only difference that newly created network gateways can now only
refer exlusively gateway devices registered using the API resource
introduced with this patch.

Implements blueprint nsx-remote-net-gw-integration

Change-Id: Ia2bdd0164498fe46a027b1d8f5a9d9f4e37558a4
neutron/api/v2/resource_helper.py
neutron/db/migration/alembic_migrations/versions/19180cf98af6_nsx_gw_devices.py [new file with mode: 0644]
neutron/plugins/vmware/common/nsx_utils.py
neutron/plugins/vmware/common/utils.py
neutron/plugins/vmware/dbexts/networkgw_db.py
neutron/plugins/vmware/extensions/networkgw.py
neutron/plugins/vmware/nsxlib/l2gateway.py
neutron/plugins/vmware/plugins/base.py
neutron/tests/unit/vmware/extensions/test_networkgw.py
neutron/tests/unit/vmware/nsxlib/test_l2gateway.py