Hi,

You have to match eth_type with ip_dscp
Check openflow spec prerequisite for details.

 --
Stas

From: Le Tran Duc <[email protected]>

> To: [email protected]
> Cc:
> Date: Wed, 3 Feb 2016 03:10:58 +0300
> Subject: [Ryu-devel] Error when add a flow entry
> Hello,
>
> I am trying to add a flow entry to a switch with following command:
>
> curl -X POST -d '{"dpid": "7", "match": {"ip_dscp": "46"}, "actions":
> [{"type": "OUTPUT "," port ":" 4 "}]} '
> http://localhost:8080/stats/flowentry/add
>
> I just want to send the packets that have ip_dscp =46 to the out_port = 4.
>
> But I got the error:
>
>
> ​
>
> Please help me to solve it.
>
> Thank you.
>
> --
> Le Tran Duc
> The Bonch-Bruevich Saint - Petersburg State University of
> Telecommunications
>
>
>
> Sent with MailTrack
> <https://mailtrack.io/install?source=signature&lang=en&[email protected]&idSignature=22>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to