neutron/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native
Ihar Hrachyshka 38d0b2b52d 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
2018-04-17 18:23:06 +00:00
..
__init__.py OVS-agent: Introduce Ryu based OpenFlow implementation 2015-09-02 14:05:18 +09:00
br_dvr_process.py OpenFlowSwitchMixin: do not override delete_flows 2017-02-24 10:43:31 -05:00
br_int.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
br_phys.py OpenFlowSwitchMixin: do not override delete_flows 2017-02-24 10:43:31 -05:00
br_tun.py OpenFlowSwitchMixin: do not override delete_flows 2017-02-24 10:43:31 -05:00
main.py OVS-agent: Introduce Ryu based OpenFlow implementation 2015-09-02 14:05:18 +09:00
ofswitch.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
ovs_bridge.py ovs: raise RuntimeError in _get_dp if id is None 2018-04-17 18:23:06 +00:00
ovs_ryuapp.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00