]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add DB mappings with NSX logical routers
authorSalvatore Orlando <salv.orlando@gmail.com>
Sun, 27 Oct 2013 21:09:57 +0000 (14:09 -0700)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:21 +0000 (15:20 +0800)
commit935744818ee0da01f0a5a880e6f358a68bd7752d
treecb404bcf425d92c78e552abdb47c20de375f0c31
parent7896ac2887cab933fd6409f8e9d0d0c4b2894462
Add DB mappings with NSX logical routers

This patch introduces DB mappings between neutron and NSX router,
thus not requiring anymore the Neutron router ID to be equal to the
NSX one.

This change is needed for enabling asynchronous operations in
the NSX plugin.

This patch also performs NVP/NSX renaming where appropriate, and
fixes delete router logic causing a 500 HTTP error to be returned
when a Neutron internal error occurs.

Related to blueprint nvp-async-backend-communication
Related to blueprint nicira-plugin-renaming

Change-Id: Ib0e9ed0f58e7fa3497a93e9cd3baa9cb81ad797b
12 files changed:
neutron/db/migration/alembic_migrations/versions/4ca36cfc898c_nsx_router_mappings.py [new file with mode: 0644]
neutron/plugins/nicira/NeutronPlugin.py
neutron/plugins/nicira/NeutronServicePlugin.py
neutron/plugins/nicira/common/nsx_utils.py
neutron/plugins/nicira/common/sync.py
neutron/plugins/nicira/dbexts/nicira_db.py
neutron/plugins/nicira/dbexts/nicira_models.py
neutron/plugins/nicira/nvplib.py
neutron/tests/unit/nicira/test_nicira_plugin.py
neutron/tests/unit/nicira/test_nsx_utils.py
neutron/tests/unit/nicira/test_nvp_sync.py
neutron/tests/unit/nicira/test_nvplib.py