root@ashok-vb:/usr/local/bin# ovs-ofctl del-flows br-int
root@ashok-vb:/usr/local/bin# ovs-ofctl dump-tables br-int
OFPST_TABLE reply (xid=0x2): 254 tables
  0: classifier: wild=0x3fffff, max=1000000, active=10
               lookup=0, matched=0
  1: table1  : wild=0x3fffff, max=1000000, active=0

Although it seems the flows have been deleted:

root@ashok-vb:/usr/local/bin# ovs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):


So again an issue with dump-tables command...?

It would be useful to have: ovs-ofctl dump-tables br-int tableX

Also, dumping all the tables (with 0 active flows) is not very useful... It
would be nice and short if you dumped only tables with >0 flows.

Thanks,
Ashok

On Fri, Jan 30, 2015 at 5:05 PM, Ashok Chippa <a.n.chi...@gmail.com> wrote:

> Sorry, I meant del-flows... I mistyped it... del-flows does not work!!!
>
> Out of 11 flows, it deleted 1 flow, and repeated commands to del-flows did
> not have any effect!!!
>
>
> On Fri, Jan 30, 2015 at 2:51 PM, Justin Pettit <jpet...@nicira.com> wrote:
>
>>
>> > On Jan 30, 2015, at 2:22 PM, Ashok Chippa <a.n.chi...@gmail.com> wrote:
>> >
>> > Is there a cli command to clear flows in a table? ovs-ofctl del-flow
>> <switch>   does not work!!
>>
>> As Ben mentioned, this should work.  However, the command is "del-flows",
>> not "del-flow".
>>
>> --Justin
>>
>>
>>
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to