Hi,
On 2014年08月24日 16:07, Jalee Lee wrote:
> Hi Yusuke and Takahashi,
> As I know ryu can delete flow entry strictly matching wildcards and
> priority.
> Can I delete just by priority or cookie? Because I test result is not work.
> Please help check it.
> Thanks,
In Open Flow spec(OF1.3), deleting all flow entries is considered impossible
by using OFPFlowMod messages.
[DISCUSS]
The priority field is used only for flow ADD, MODIFY_STRICT or DELETE_STRICT.
But if you use matching wildcards, the DELETE_STRICT command would only delete
a flow entry that has no match fields included.
>
> Jalee
>
> Such as:
>
> curl -X POST -d '{"dpid": 2,
> "priority": "23997",}'
> http://10.1.25.52:8080/stats/flowentry/delete_strict
This command would only delete a flow entry like as follows.
{"dpid": 2,"priority": "23997","match": {}}
^^^^^^^^^^^
>
> curl -X POST -d '{"dpid": 2, "cookie":3,
> "priority": "23997",}'
> http://10.1.25.52:8080/stats/flowentry/delete_strict
As with the flow stats, when using the cookie fields,
the cookie_mask fields are required.
>
>
>
>
>
>
>
>
> ====================================================================================
> This message may contain information which is private, privileged or
> confidential of INNO-Tech Network & Service Inc.
> If you are not the intended recipient of this message, please notify the
> sender and destroy/delete the message.
> Any review, retransmission, dissemination or other use of, or taking of any
> action in reliance upon this information,
> by persons or entities other than the intended recipient is prohibited.
> ====================================================================================
>
>
>
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel