neutron/neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent
Lucian Petrut da5b13df2b Trivial: avoid KeyError while processing ports
The Neutron OVS agent logs can get flooded with KeyErrors as the
'_get_port_info' method skips the added/removed dict items if no
ports have been added/removed, which are expected to be present,
even if those are just empty sets.

This change ensures that those port info dict fields are always set.

Closes-Bug: #1783556

Change-Id: I9e5325aa2d8525231353ba451e8ea895be51b1ca
2018-07-26 10:07:12 +03:00
..
extension_drivers [Qos] Fix residues of ovs in ingress bw limit 2017-12-05 18:36:20 +08:00
openflow Merge "of_interface: Implement bundled() method" 2018-05-11 18:39:24 +00:00
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
fake_oflib.py OVS-agent: Introduce Ryu based OpenFlow implementation 2015-09-02 14:05:18 +09:00
ovs_test_base.py Update to support the ovdsbapp 0.4.0 API 2017-05-17 19:58:34 +00:00
test_ovs_agent_extension_api.py of_interface: Implement bundled() method 2018-04-18 18:33:55 +09:00
test_ovs_capabilities.py unit test: unbreak test cases for callbacks.subscribe 2018-04-11 07:20:42 +00:00
test_ovs_neutron_agent.py Trivial: avoid KeyError while processing ports 2018-07-26 10:07:12 +03:00
test_ovs_tunnel.py Adopt hacking 1.1.0 2018-07-05 11:31:40 +09:00
test_vlanmanager.py Removed deprecated class LocalVLANMapping 2016-11-07 20:24:06 +00:00