]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
BigSwitch plugin: passes context to all update_network calls
authorKevin Benton <kevin.benton@bigswitch.com>
Tue, 17 Sep 2013 20:22:32 +0000 (13:22 -0700)
committerKevin Benton <kevin.benton@bigswitch.com>
Tue, 17 Sep 2013 21:14:35 +0000 (14:14 -0700)
commit37b78c5d48a9a5da1e9b0187b2004d5352e7c877
treeb7009f841e68100213a597de5e981ff0ff38a60c
parent4afee8006c671cb2ffdad9d7fd2ef4b12284ac16
BigSwitch plugin: passes context to all update_network calls

There were a few calls to update the network on the backend
that were not having the context passed to them so they were
incorrectly using the admin context. This patch corrects that
by passing the context to all network update calls. It also
disallows calls to _send_update_network that don't provide
the context because there is not a use case for that condition.

Closes-Bug: #1226803
Change-Id: I7f0cbb797df9f565d0a00a7c67278cd96301f244
neutron/plugins/bigswitch/plugin.py