]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
BSN: Add context to backend request for debugging
authorKevin Benton <blak111@gmail.com>
Tue, 2 Sep 2014 18:27:51 +0000 (11:27 -0700)
committerKevin Benton <kevinbenton@buttewifi.com>
Mon, 15 Sep 2014 08:47:36 +0000 (08:47 +0000)
commit50c65d16bee8e6e46840f232519e92d9ba9989b4
tree62e826f93988a4695b2d707b8652620319fc7c3c
parent09fbeb7e2d1f09315e4faf861231180a7b19439e
BSN: Add context to backend request for debugging

Include the request context with calls to the backend
Big Switch controllers to assist with event correlation
and debugging object provenance. The auth token is
stripped since this information is sensitive and
these requests will appear in debug logs.

This also removes mutable objects from default arguments
in some of the server manager function definitions that
were interferring with the new use of the headers dict.

Closes-Bug: #1364696
Change-Id: I5b80b1596cc145742457b3603cbcd67f6e0d9f36
neutron/plugins/bigswitch/plugin.py
neutron/plugins/bigswitch/servermanager.py
neutron/plugins/ml2/drivers/mech_bigswitch/driver.py
neutron/tests/unit/bigswitch/test_servermanager.py
neutron/tests/unit/ml2/drivers/test_bigswitch_mech.py