neutron/neutron/tests/tempest
Kevin Benton 4595899f7f Neutron RBAC API and network support
This adds the new API endpoint to create, update, and delete
role-based access control entries. These entries enable tenants
to grant access to other tenants to perform an action on an object
they do not own.

This was previously done using a single 'shared' flag; however, this
was too coarse because an object would either be private to a tenant
or it would be shared with every tenant.

In addition to introducing the API, this patch also adds support to
for the new entries in Neutron networks. This means tenants can now
share their networks with specific tenants as long as they know the
tenant ID.

This feature is backwards-compatible with the previous 'shared'
attribute in the API. So if a deployer doesn't want this new feature
enabled, all of the RBAC operations can be blocked in policy.json and
networks can still be globally shared in the legacy manner.

Even though this feature is referred to as role-based access control,
this first version only supports sharing networks with specific
tenant IDs because Neutron currently doesn't have integration with
Keystone to handle changes in a tenant's roles/groups/etc.

DocImpact
APIImpact

Change-Id: Ib90e2a931df068f417faf26e9c3780dc3c468867
Partially-Implements: blueprint rbac-networks
2015-08-20 20:00:17 -07:00
..
common Replace 'import json' with oslo_serialization 2015-08-11 06:05:37 -07:00
services Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
README.rst Move API tests to neutron.test.api 2015-03-31 23:05:07 +00:00
__init__.py Initial copy of api tests from tempest 2015-03-09 21:24:55 +00:00
auth.py Update api tests from tempest 2015-03-13 18:46:40 +00:00
config.py Use oslo.log library instead of system logging module 2015-08-10 15:52:26 +03:00
exceptions.py Initial copy of api tests from tempest 2015-03-09 21:24:55 +00:00
manager.py Initial copy of api tests from tempest 2015-03-09 21:24:55 +00:00
test.py Replace 'import json' with oslo_serialization 2015-08-11 06:05:37 -07:00

README.rst

WARNING

The files under this path were copied from tempest as part of the move of the api tests, and they will be removed as the required functionality is transitioned from tempest to tempest-lib. While it exists, only neutron.tests.api and neutron.tests.retargetable should be importing files from this path. neutron.tests.tempest.config uses the global cfg.CONF instance and importing it outside of the api tests has the potential to break Neutron's use of cfg.CONF.