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: I9e5325aa2d8525231353ba451e8ea895be51b1cachanges/42/585742/3
parent
ca13e651c9
commit
da5b13df2b
Loading…
Reference in New Issue