]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Stop using portbindings_db in BSN ML2 driver
authorKevin Benton <blak111@gmail.com>
Tue, 1 Apr 2014 08:05:29 +0000 (01:05 -0700)
committerMark McClain <mmcclain@yahoo-inc.com>
Fri, 4 Apr 2014 23:05:40 +0000 (19:05 -0400)
commitf367d7422c669fda908b5ef0228cde9dc5717f63
tree566438bfe94a76ea5beff4369f387857ef841e17
parent8fd51240983f4c2ff2a73d907ccb1c597bd5d835
Stop using portbindings_db in BSN ML2 driver

Avoids using the portbindings_db in the Big Switch
ML2 driver since ML2 has deprecated that database for
its own version that tracks the same information.

Also eliminates unnecessary 'binding_host' field since
it is now always the same as as the 'portbinding:host_id'
field.

Closes-Bug: #1300628
Change-Id: I17d47cb446cdd2e989c3e0d01b797a81309faaa7
(cherry picked from commit c70c2719d700902854ef0381cb725722ac2da05e)
neutron/plugins/bigswitch/plugin.py
neutron/plugins/ml2/drivers/mech_bigswitch/driver.py
neutron/tests/unit/ml2/drivers/test_bigswitch_mech.py