Hi,

Request someone to kindly respond!

Regards.

---------- Forwarded message ----------
From: Prashant Pandey <[email protected]>
Date: Sun, Nov 20, 2016 at 1:59 AM
Subject: Need help with parser.OFPFlowMod
To: [email protected]


Hi,
    I'm a new user to RYU and I've a query regarding adding/modifying flow
entries from controller to switch. I've referred the latest RYU
documentation here
<http://ryu.readthedocs.io/en/latest/ofproto_v1_4_ref.html#ryu.ofproto.ofproto_v1_4_parser.OFPFlowMod>,
but couldn't get help from there.

I want to store an entry on my OVS switch with src_ip too, e.g. my current
table looks something like this:

OFPST_FLOW reply (OF1.4) (xid=0x2):
 cookie=0x0, duration=5325.673s, table=0, n_packets=1809, n_bytes=101304,
priority=1,in_port=2,dl_dst=ff:ff:ff:ff:ff:ff actions=output:2
 cookie=0x0, duration=5326.418s, table=0, n_packets=35, n_bytes=3220,
priority=0 actions=CONTROLLER:65535
root@OVS:~#

However, I wish that it should look something like this (the src_ip for
that particular flow should also be reflected and stored in the flow):

OFPST_FLOW reply (OF1.4) (xid=0x2):
 cookie=0x0, duration=5325.673s, table=0, n_packets=1809, n_bytes=101304,
priority=1,in_port=2,dl_dst=ff:ff:ff:ff:ff:ff actions=output:2,
src_ip=1.1.1.1
 cookie=0x0, duration=5326.418s, table=0, n_packets=35, n_bytes=3220,
priority=0 actions=CONTROLLER:65535
root@OVS:~#

Is there a way this is achievable?

Thanks and regards,
Prashant Pandey
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to