]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NSX: unify the two distributed routing extensions
authorarmando-migliaccio <armamig@gmail.com>
Fri, 18 Jul 2014 22:15:57 +0000 (15:15 -0700)
committerarmando-migliaccio <armamig@gmail.com>
Tue, 12 Aug 2014 00:15:29 +0000 (17:15 -0700)
commit45e8eaa1b12ae1c7b0707d42eb82661c7035e3a4
tree2d1158d9fb8c24d7520a74d1b63555e40092d5d9
parent1d8afc7593fa04b8f804e13711ee36ea5bda0957
NSX: unify the two distributed routing extensions

This is done by adopting the router_extra_attributes
models. However, the NSX 'distributed' extension is
slightly different in that it is visible to tenants
and prevents router conversion (allow_put=false).

PUT requests are made return the correct HTTP code;
The access control misalignments will need to be
adjusted via rules in policy.json. This will be
properly documented.

DocImpact

Supports-blueprint: neutron-ovs-dvr

Change-Id: I35a4b54318d8169eb2c73be77ca2f30bbee08b46
12 files changed:
neutron/db/l3_attrs_db.py
neutron/db/migration/alembic_migrations/versions/884573acbf1c_unify_nsx_router_extra_attributes.py [new file with mode: 0644]
neutron/db/migration/alembic_migrations/versions/HEAD
neutron/plugins/vmware/common/exceptions.py
neutron/plugins/vmware/dbexts/distributedrouter.py [deleted file]
neutron/plugins/vmware/dbexts/models.py
neutron/plugins/vmware/dbexts/nsxrouter.py [deleted file]
neutron/plugins/vmware/dbexts/servicerouter.py
neutron/plugins/vmware/extensions/distributedrouter.py
neutron/plugins/vmware/plugins/base.py
neutron/plugins/vmware/plugins/service.py
neutron/tests/unit/vmware/test_nsx_plugin.py