hello,dear all!
cookie=0x0, duration=423.001s, table=0, n_packets=9, n_bytes=546,
priority=1,in_port=2,dl_dst=00:00:00:00:00:10 actions=output:3
i want to delete the flow above using flow_mod,and i definite a method like
this:
def remove_flow(self, datapath, match):
ofproto = datapath.ofproto
parser = datapath.ofproto_parser
mod = parser.OFPFlowMod(datapath=datapath,
command=ofproto.OFPFC_DELETE,
match=match)
datapath.send_msg(mod)
and i pack the pkts using the method:
match = parser.OFPMatch(eth_dst='00:00:00:00:00:10)
self.remove_flow(datapath, match)
but i fail to delete relevant flows,using ovs-ofctl snoop s1,ovs warns that:
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss