]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
SimpleInterfaceMonitor handle case when ofport is an empty set
authorrossella <rsblendido@suse.com>
Sat, 15 Aug 2015 12:30:29 +0000 (12:30 +0000)
committerrossella <rsblendido@suse.com>
Wed, 26 Aug 2015 10:10:42 +0000 (10:10 +0000)
commitcbeee7da500114d289f4cfc6b5e1ddaf8d5c8acf
tree60f36cbcafe1227f1cfc216034c0ecff69286980
parent1ce9ebc10ac8fd8b133512ae4edf5f770146953f
SimpleInterfaceMonitor handle case when ofport is an empty set

ofport is usually an integer but when a port is not ready
ofport is an empty set.
This patch makes SimpleInterfaceMonitor handle that case too.

Change-Id: I91611d73e8d5551fc458082ce021cbeb5123a6f2
Closes-bug: #1485206
neutron/agent/linux/ovsdb_monitor.py
neutron/tests/unit/agent/linux/test_ovsdb_monitor.py