]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix bad call in port_update in linuxbridge agent
authorDarragh O'Reilly <dara2002-openstack@yahoo.com>
Mon, 2 Dec 2013 12:49:50 +0000 (12:49 +0000)
committerDarragh O'Reilly <dara2002-openstack@yahoo.com>
Tue, 3 Dec 2013 12:35:27 +0000 (12:35 +0000)
commit15c9a7e1487045003239bd23835278c3d13e2061
tree15673ff3d7ea8ad711e164ba23d00850fe5f2542
parent36c0d99076fe1dc28de83274f6760ccb1538045d
Fix bad call in port_update in linuxbridge agent

A call to update_device_down() was made on the wrong object.
Also adds unit tests for code paths to update_device_down() and
update_device_up().

Partial-Bug: 1256950
Change-Id: I34e364d4c29441d0b62b665a4ce1d02b5d08d465
neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py
neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py