Hi, I am trying to implement a flow rule which matches ARP packets. What I am trying to do is to send all the ARP packets to the controller.
Here's the code snippet I am trying to implement. *match = self.parser.OFPMatch(eth_type = 0x0806)* *actions = [self.parser.OFPActionOutput(self.ofproto.OFPP_CONTROLLER , self.ofproto.OFPCML_NO_BUFFER)]* *inst = [self.parser.OFPInstructionActions(self.ofproto.OFPIT_APPLY_ACTIONS , actions)]* *mod = self.parser.OFPFlowMod(datapath=self.datapath , priority=1 , match=match , instructions=inst)* *self.datapath.send_msg(mod)* When running this code, the switches get disconnected. I am pretty sure this behavior has something to do with the above code, as my controller code runs smoothly when the above flow is not installed in switches. Note : I am using Openflow 1.3 with ofsoftswitch13. Please advice on what I am doing wrong. Regards, -- Mututhanthrige Praveen Sameera Fernando Graduate Research Assistant Department of electrical and computer engineering The University of Akron Mobile : +94 077-517-3454 | +1 330-319-0215
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel