vmware-nsx/quantum/db
Dan Wendlandt 6e8c9eeaf0 Fix v2 API policy checks when keystone is in use.
bug 1022032.  There were significant errors in how
the policy framework was being invoked, but existing
tests did now show them, since they always invoked the
API with no keystone context.  This patch fixes those
issues and add a significant amount of test coverage
simulating API calls with keystone enabled.

As part of this patch, we also needed to add a tenant-id
attribute to the subnet object.  Furthermore, we
changed the API validation code to prevent tenant-id from
being changed with a PUT, since changing it after creation
could invalidate some of the create checks we're planning
on adding (e.g., that a port is being created on a network
owned by the same tenant).

Change-Id: I6da61f0d4ac3b259aa0afcd42cfa8e6ec1a9b035
2012-07-08 12:34:27 -07:00
..
__init__.py Second round of packaging changes 2011-11-28 10:33:52 -08:00
api.py Add API v2 support 2012-06-11 10:36:10 -05:00
db_base_plugin_v2.py Fix v2 API policy checks when keystone is in use. 2012-07-08 12:34:27 -07:00
model_base.py OVS plugin support for v2 Quantum API 2012-07-02 12:30:38 -07:00
models_v2.py Fix v2 API policy checks when keystone is in use. 2012-07-08 12:34:27 -07:00
models.py Bug #1013967 - Quantum is breaking on tests with pep 1.3 2012-06-16 15:38:10 -03:00