neutron-lbaas/neutron_lbaas/tests
Michael Johnson 4099ed8584 Fix proxy extension for neutron RBAC
Neutron is looking for 'tenant_id' in the response from the proxy plugin.
This patch makes sure the 'project_id' returned from octavia is copied over
to the 'tenant_id' in the response to neutron or assigns the one from the
context.

This patch also adapts Octavia's 403 Forbidden errors to neutron's 404 [1].
[1] https://docs.openstack.org/neutron/pike/contributor/internals/ \
    policy.html#request-authorization

Neutron is also returning a 404 instead of a status "DELETED". This
adjusts that.

Neutron/tempest will ask for the tenant_id field - replace this with
project_id.

Handle 403 Forbidden

Fixes bug to not pass on empty string to Octavia

Story: 2002602
Task: 22220

Change-Id: I840b5e2e8a95a4b3e166db9f9aa44590441aa7b6
2018-08-09 15:04:37 +02:00
..
contrib Re-enable KVM 2018-06-29 09:36:10 -07:00
etc Disable automatic config file discovery for pep8 target 2015-11-23 13:06:21 +00:00
functional Remove psutil dependency 2017-01-24 16:20:02 +01:00
tempest Fix neutron-lbaas tempest for filter validation 2018-07-31 16:43:24 +02:00
unit Fix proxy extension for neutron RBAC 2018-08-09 15:04:37 +02:00
__init__.py Fix deprecation warning for multiple context managers part 2 2016-07-13 19:00:47 -07:00
base.py Fix a namespace collision issue. 2017-07-17 10:52:10 -07:00
tools.py Uncouple lbaas object models from neutron core plugin results 2016-03-08 16:19:36 +01:00