'As packets coming from tunneling bridges are always tagged with
local VLAN tag, this flows will simulate the behavior.'

def set_peer_port_as_patch_port(self):

    self.bridge.add_flow(table=ovs_consts.LOCAL_SWITCHING, priority=110, vlan_tci=0, in_port=self.bridge.get_port_ofport(self._peer.port.name), actions=('mod_vlan_vid:0x%x,resubmit(,%d)' % (self._peer.port.vlan_tag, ovs_consts.LOCAL_SWITCHING)))
    self.bridge.add_flow(table=ovs_consts.TRANSIENT_TABLE, priority=4, dl_vlan=('0x%x' % self._peer.port.vlan_tag), actions='strip_vlan,normal')
