]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Include lswitch id in NSX plugin port mappings
authorSalvatore Orlando <salv.orlando@gmail.com>
Sat, 26 Oct 2013 20:53:35 +0000 (13:53 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Sun, 15 Dec 2013 18:59:37 +0000 (10:59 -0800)
commitaa198b92ac03f14e2da240064904b3a991b92834
treeacfb346cc92dbf0aa37483e94103c55177f8c7db
parent806c16044c7e9d4031cb5155a8d470314785ce4c
Include lswitch id in NSX plugin port mappings

This patch adds the logical switch identifier in the model class
for describing mappings between neutron and nsx switch ports.
This will allow for a better handling of the chained logical switch
use case.

This patch also moves the routines for retrieving nsx identifiers
in a separate module in preparation for the introduction of async
operations and renames relevant model classes, attributes, and
functions from 'nvp' to 'nsx'.

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

Change-Id: I5fa1e8f0d863b7d1fc278ffdeac8acc076a843e8
neutron/db/migration/alembic_migrations/versions/50e86cb2637a_nsx_mappings.py [new file with mode: 0644]
neutron/plugins/nicira/NeutronPlugin.py
neutron/plugins/nicira/common/nsx_utils.py [new file with mode: 0644]
neutron/plugins/nicira/common/sync.py
neutron/plugins/nicira/dbexts/nicira_db.py
neutron/plugins/nicira/dbexts/nicira_models.py
neutron/tests/unit/nicira/__init__.py
neutron/tests/unit/nicira/test_nicira_plugin.py
neutron/tests/unit/nicira/test_nsx_utils.py [new file with mode: 0644]
neutron/tests/unit/nicira/test_nvplib.py