On Sat, 09 Feb 2019 14:44:29 +0900,
David Liew wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; UTF-8 (7bit)>]
>  hi,
> kindly for all,
> i have a question please,
>  i had read the ryu book follow it exactly, but honestly i could not make
> it.
> How can i extract the TOS values from the ev.msg to track specific value,

Do you plan to use packet-in messages to extract TOS values?

In OpenFlow specs, the TOS field is separated into ECN and DSCP
fields. Use those keywords to program flows.

> and then apply it in flow table matching, cause it has "ox" at the
> beginning g of each value, i want to work in decimal not in "ox".

The values and arguments are of integer type and I'm not sure how can
it be a problem. You can convert base if necessary.

https://docs.python.org/3/library/functions.html?highlight=int#int

--
IWAMOTO Toshihiro


_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to