]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
BigSwitch: Fix tenant_id for shared net requests
authorKevin Benton <blak111@gmail.com>
Sun, 9 Feb 2014 19:39:39 +0000 (11:39 -0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:30 +0000 (15:20 +0800)
commitcdb7456e3c84084acebd23c00b8cddb3e253fc12
tree8188493684ef935fef16fb7c8cfdc0cde492aa6b
parented9efc3eecb707d7c76473e8771a7d0a0b021070
BigSwitch: Fix tenant_id for shared net requests

The URI port requests are sent to on the backend
contains the tenant_id of the network. This corrects
a bug where, on port updates and deletes, the tenant_id
of the port rather than the network was being used,
which was incorrect when attached to a shared network.

Closes-Bug: #1278530
Change-Id: I09ffc767c669416555867e975d0b7057a5cfa0cb
neutron/plugins/bigswitch/plugin.py
neutron/tests/unit/bigswitch/test_restproxy_plugin.py