]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ML2 BigSwitch: Don't modify parent context
authorKevin Benton <blak111@gmail.com>
Tue, 18 Mar 2014 19:11:53 +0000 (12:11 -0700)
committerKevin Benton <blak111@gmail.com>
Tue, 18 Mar 2014 19:15:27 +0000 (12:15 -0700)
commit9014f66fce619af6d72823b3fdb0ecf148582649
treeb02d835070e1802958c3b7eb2e2e5087af7d7b4d
parent0009e474e23c84e5952696e4fc423fd69c9ed74d
ML2 BigSwitch: Don't modify parent context

Makes a copy of the port context before changing
it in preparation for the backend controller so
other drivers are not affected. Also removes a
UT that was exercising direct modification of VIF
details in the port context, which is not allowed
by the ML2 plugin.

Closes-Bug: #1294308
Change-Id: I47281dcd23c022813b8b6eda0a3d39c4482277b9
neutron/plugins/ml2/drivers/mech_bigswitch/driver.py
neutron/tests/unit/ml2/drivers/test_bigswitch_mech.py