'Set base flows for port
:param port: OFPort instance'

def initialize_port_flows(self, port):

    self._add_flow(table=ovs_consts.TRANSIENT_TABLE, priority=100, in_port=port.ofport, actions='set_field:{:d}->reg{:d},set_field:{:d}->reg{:d},resubmit(,{:d})'.format(port.ofport, ovsfw_consts.REG_PORT, port.vlan_tag, ovsfw_consts.REG_NET, ovs_consts.BASE_EGRESS_TABLE))
    for mac_addr in port.all_allowed_macs:
        self._add_flow(table=ovs_consts.TRANSIENT_TABLE, priority=90, dl_dst=mac_addr, dl_vlan=('0x%x' % port.vlan_tag), actions='set_field:{:d}->reg{:d},set_field:{:d}->reg{:d},strip_vlan,resubmit(,{:d})'.format(port.ofport, ovsfw_consts.REG_PORT, port.vlan_tag, ovsfw_consts.REG_NET, ovs_consts.BASE_INGRESS_TABLE))
    self._initialize_egress(port)
    self._initialize_ingress(port)
