Hi, I programmed the OF controller to send a of_mod message: m = of.ofp_flow_mod() m.priority = 0x7000 # Pretty high m.match.dl_type = ethernet.ARP_TYPE m.match.dl_dst = EthAddr("FF:FF:FF:FF:FF:FF") m.idle_timeout = 100 m.hard_timeout = 0 m.actions.append(of.ofp_ action_output(port=of.OFPP_CONTROLLER)) event.connection.send(m)
once it is connected to a switch. The goal of this is to enforce all the ARP requested incoming to a connected sw to be directly forwarded to the controller WITHOUT broadcasting the ARP in any case. And when I got the reply for flow_stats for a random sw, it is showing that of_mod is actually set correctly e.g. FlowStats rxed from sw_00-00-00-00-00-01 : [{'packet_count': 0, 'hard_timeout': 0, 'byte_count': 0, 'duration_sec': 0, 'actions': [{'max_len': 65535, 'type': 'OFPAT_OUTPUT', 'port': 'OFPP_CONTROLLER'}], 'duration_nsec': 44000000, 'priority': 28672, 'idle_timeout': 100, 'cookie': 0, 'table_id': 0, 'match': {'dl_type': 'ARP', 'dl_dst': 'ff:ff:ff:ff:ff:ff', 'get_nw_dst': 'None', 'get_nw_src': 'None'}}] However, sws continue broadcasting arp reqs even though they forward them also to the controller. What may be the possible problem causing that, any idea would be greatly appreciated. Thanks. Mehmet Fatih Aktas
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss