neutron/neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/openflow
Ihar Hrachyshka 876e1d7969 ovs: raise RuntimeError in _get_dp if id is None
If the switch misbehaves, we may receive None from db_get_val. In this
case, int() on the return value will raise TypeError which is not
expected by callers and may result in ovs agent crash.

Instead of bubbling up the TypeError exception, we raise RuntimeError if
datapath id is None.

Change-Id: I53bea00b9a7302d694b8066e969c894bf64cb2d4
Closes-Bug: #1731494
(cherry picked from commit 38d0b2b52d)
2019-03-21 16:07:03 -07:00
..
native ovs: raise RuntimeError in _get_dp if id is None 2019-03-21 16:07:03 -07:00
ovs_ofctl br_int: Make removal of DVR flows more strict 2017-10-05 18:56:43 +00:00
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
test_br_cookie.py Update to support the ovdsbapp 0.4.0 API 2017-05-17 19:58:34 +00:00