]> 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)
committerGerrit Code Review <review@openstack.org>
Mon, 10 Feb 2014 06:41:14 +0000 (06:41 +0000)
commit9b083d7636508cbc5addfe3457c1aac706f0e267
treef41bc967d86e88cd8eef47c2f457094b8e814a53
parente72929af4dde54e791f4ca4e61054f485890711b
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