Log reserved cookies in cleanup_flows method
This will help us debug why flows are unexpectedly being cleaned up if the related bug ever resurfaces. Related-Bug: #1697243 Change-Id: I517b16c550037f41a5f4915b98963c2232daa78c
This commit is contained in:
parent
c989331b93
commit
bc51380ded
@ -150,6 +150,8 @@ class OpenFlowSwitchMixin(object):
|
||||
def cleanup_flows(self):
|
||||
cookies = set([f.cookie for f in self.dump_flows()]) - \
|
||||
self.reserved_cookies
|
||||
LOG.debug("Reserved cookies for %s: %s", self.br_name,
|
||||
self.reserved_cookies)
|
||||
for c in cookies:
|
||||
LOG.warning(_LW("Deleting flow with cookie 0x%(cookie)x"),
|
||||
{'cookie': c})
|
||||
|
Loading…
Reference in New Issue
Block a user