code: def _add_flow_v1_0(self, src, port, timeout, datapath):
          
          ofproto = datapath.ofproto
          parser = datapath.ofproto_parser
  
          match = parser.OFPMatch(
              in_port=port, dl_src=addrconv.mac.text_to_bin(src),
              dl_type=ether.ETH_TYPE_SLOW)
          actions = [parser.OFPActionOutput(
              ofproto.OFPP_CONTROLLER, 65535)]
          mod = parser.OFPFlowMod(
              datapath=datapath, match=match, cookie=0,
              command=ofproto.OFPFC_ADD, idle_timeout=timeout,
              priority=65535, flags=ofproto.OFPFF_SEND_FLOW_REM,
              actions=actions)
          datapath.send_msg(mod)
docs: enter a flow entry for the packet from the slave i/f
          with idle_timeout. for OpenFlow ver1.0.