neutron-lbaas/neutron_lbaas/services
Michael Johnson 0977b5384a 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
(cherry picked from commit 4099ed8584)
2019-04-01 14:30:18 +00:00
..
loadbalancer Fix proxy extension for neutron RBAC 2019-04-01 14:30:18 +00:00
__init__.py Split lbaas services code into neutron-lbaas 2014-12-08 13:37:18 -07:00