]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix binding:host_id is set to None when port update
authorhyunsun <hyunsun.moon@gmail.com>
Wed, 18 Dec 2013 09:03:34 +0000 (18:03 +0900)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:18 +0000 (15:20 +0800)
commite2c0763ce85eee9cb28b4e4af89a0385915dfd51
treef9dd82d53264b6b08f8f037dcf49e202283b567b
parent63405b3f082f32406df05d938adf0383376f6627
Fix binding:host_id is set to None when port update

when updating a port 'binding:host_id' is reset if not specified among
the parameter to be updated. As a result, a None value for
'binding:host_id' is sent from the notifier which might potentially
cause consumers to not work properly.

Closes-Bug: #1245310
Change-Id: Icfb5179940cca9f8a705eb36bdbfcbc8a421a272
neutron/db/portbindings_db.py
neutron/tests/unit/_test_extension_portbindings.py