Hi, I'm new to RYU controller and I'm trying to install some simple rules. I use Openflow 1.0.
Here's my code: addressList = ('10.10.1.1', '10.10.1.2', '10.10.1.3') for address in addressList: actions = [parser.OFPActionOutput(ofproto.OFPP_NORMAL)] match = parser.OFPMatch(nw_src = address) self.add_flow(dp, match, actions, 1, 100) def add_flow(self, datapath, match, act, priority=0, idle_timeout=0): ofproto = datapath.ofproto parser = datapath.ofproto_parser mod = parser.OFPFlowMod(datapath=datapath, priority=priority, match=match, actions=act, idle_timeout=idle_timeout) datapath.send_msg(mod) Here's what I see in OVS: cookie=0x0, duration=13.212s, table=0, n_packets=0, n_bytes=0, idle_timeout=100,priority=1 actions=NORMAL Why ip-source match was ignored? Thanks for your help! -- Sincerely, Garegin Grigoryan
------------------------------------------------------------------------------
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel