hello,dear all!
look about the flow_table using ovs-ofctl dump-flows s1 -O OpenFlow13:

        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:
      OFPT_FLOW_MOD (OF1.3) (xid=0xfda9a814): ***decode error:
OFPFMFC_UNKNOWN***
      OFPT_ERROR (OF1.3) (xid=0xfda9a814): OFPFMFC_UNKNOWN

what causes the error?
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to