]> 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)
committerKevin Benton <blak111@gmail.com>
Sun, 23 Feb 2014 20:17:49 +0000 (12:17 -0800)
commit1c0235fb592d63e03506670e5690ab6c7ecab0a7
tree3bffa2fd7ab9b1746d2ca2d7df7a414ed9dcd49e
parent745af2abc0a543335cbac780bb8adb1ee538f1e1
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