Merge "Catch OVSFWTagNotFound in update_port_filter"

This commit is contained in:
Zuul 2019-03-11 12:41:26 +00:00 committed by Gerrit Code Review
commit ccd7380f15
1 changed files with 4 additions and 0 deletions

View File

@ -588,6 +588,10 @@ class OVSFirewallDriver(firewall.FirewallDriver):
LOG.info("port %(port_id)s does not exist in ovsdb: %(err)s.",
{'port_id': port['device'],
'err': not_found_error})
except exceptions.OVSFWTagNotFound as tag_not_found:
LOG.info("Tag was not found for port %(port_id)s: %(err)s.",
{'port_id': port['device'],
'err': tag_not_found})
def _set_port_filters(self, of_port):
self.initialize_port_flows(of_port)