Merge "ovsfw: Fix warning message when fetching port's other_config"
This commit is contained in:
commit
316e7a1fd1
@ -250,10 +250,10 @@ class OVSFirewallDriver(firewall.FirewallDriver):
|
||||
'Port', ovs_port.port_name, 'other_config')
|
||||
port_vlan_id = int(other_config['tag'])
|
||||
except (KeyError, TypeError):
|
||||
LOG.warning(_LW("Can't get tag for port %(port_id)s from its "
|
||||
"other_config: %(other_config)s"),
|
||||
port_id=port_id,
|
||||
other_config=other_config)
|
||||
LOG.warning(_LW("Cannot get tag for port %(port_id)s from "
|
||||
"its other_config: %(other_config)s"),
|
||||
{'port_id': port_id,
|
||||
'other_config': other_config})
|
||||
port_vlan_id = ovs_consts.DEAD_VLAN_TAG
|
||||
of_port = OFPort(port, ovs_port, port_vlan_id)
|
||||
self.sg_port_map.create_port(of_port, port)
|
||||
|
Loading…
Reference in New Issue
Block a user