A set of Neutron drivers for the VMware NSX.
Go to file
Akihiro MOTOKI c3fd3feba6 plugin/nec: Make sure resources on OFC is globally unique.
Fixes bug 1127664

Network cannot be created in NEC plugin when OFC network ID is
unique inside a tenant. Some OFC implmenetations generate a network
ID unique inside a tenant. In this case generated network IDs on can
be duplicated in system-wide. To fix it, this changes resource ID on
OFC to REST URI to make sure IDs on OFC globally unique.

Fixes bug 1120962

Make sure NEC plugin creates shared networks

In Quantum resource relationship is not limited inside a tenant.
E.g., a non-owner tenant can create a port on a shared network.
To deal with it the provider layer should not be aware of tenants
each resource belongs to even when it has a kind of tenant concept.

This commit changes ofc_manager to pass a parent resource for resource
creation and identify a resouce by REST URI used to access OFC resources.
It decouples Quantum resource access model from OFC resource models.
OFC IDs created before this commit are also looked up.

Primary keys of OFC ID mapping tables are changed to quantum_id because
most of all accesses to these mapping tables are done by quantum_id.
However the current version of alembic does not support changing primary
keys, so new OFC ID mapping tables for tenant, network, port and packet
filter are created. Dropping the previous mapping tables will be done
along with the data migration logic.

This commit also changes the following minor issues.
- Make sure ID on ProgrammableFlow OpenFlow controller (PFC) is less than
  32 chars. The current PFC accepts only 31 chars max as ID and 127 chars
  as a description string.
- Some database accesses created their own session and did not support
  subtransactions. Make sure to use context.session passed from the API layer.
- Removes Unused methods (update_network, update_port) in trema/pfc drivers.

Change-Id: Ib4bb830e5f537c789974fa7b77f06eaeacb65333
2013-02-18 17:40:35 +09:00
bin Use oslo-config-2013.1b3 2013-02-17 17:33:05 +00:00
doc Synchronize code from oslo 2013-02-13 17:43:40 +02:00
etc Agent management extension 2013-02-18 11:43:45 +08:00
quantum plugin/nec: Make sure resources on OFC is globally unique. 2013-02-18 17:40:35 +09:00
tools Use oslo-config-2013.1b3 2013-02-17 17:33:05 +00:00
.bzrignore bp/api-filters 2012-01-25 08:51:51 +00:00
.coveragerc Update .coveragerc 2013-02-06 16:47:06 +02:00
.gitignore Use babel to generate translation file 2013-01-24 00:20:32 +08:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 15:06:42 -04:00
.mailmap Create .mailmap file 2012-09-11 10:34:14 +08:00
.pylintrc Bug #890028 2011-12-14 00:33:37 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
HACKING.rst Logging module cleanup 2013-01-03 16:20:56 +08:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
MANIFEST.in Updated to latest oslo-version code. 2013-02-04 11:21:16 +11:00
openstack-common.conf Use oslo-config-2013.1b3 2013-02-17 17:33:05 +00:00
README Document that code is on github now in README. 2013-01-18 16:27:46 +13:00
run_tests.py Change Resource.__call__() to not leak internal errors. 2012-05-09 15:28:27 -03:00
run_tests.sh Don't force run_tests.sh pep8 only to use -N. 2012-11-25 22:01:27 -05:00
setup.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
setup.py Merge "PLUMgrid quantum plugin" 2013-02-15 06:13:51 +00:00
TESTING Update TESTING file 2012-08-23 01:22:47 -07:00
tox.ini Use oslo-config-2013.1b3 2013-02-17 17:33:05 +00:00

# -- Welcome!

  You have come across a cloud computing network fabric controller.  It has
  identified itself as "Quantum."  It aims to tame your (cloud) networking!

# -- External Resources:

 The homepage for Quantum is: http://launchpad.net/quantum .  Use this
 site for asking for help, and filing bugs. Code is available on github at
 <http://github.com/openstack/quantum>.

 The latest and most in-depth documentation on how to use Quantum is
 available at: <http://docs.openstack.org>.  This includes:

 Quantum Administrator Guide
 http://docs.openstack.org/trunk/openstack-network/admin/content/

 Quantum API Reference:
 http://docs.openstack.org/api/openstack-network/2.0/content/

 The start of some developer documentation is available at:
 http://wiki.openstack.org/QuantumDevelopment

 For help using or hacking on Quantum, you can send mail to
 <mailto:openstack-dev@lists.openstack.org>.