Hi,
If you want to install flow entries which contain "ipv4_src" or "ipv4_dst", you
need also to specify
"eth_type=0x0800".
Please refer to "7.2.3.8 Header Match Fields" in OpenFlow Spec 1.3.5 for more
details.
FYI, with "--verbose" option, Ryu should output error message if your switch
rejected flow entries
and reply OFPT_ERROR messages.
Thanks,
Iwase
On 2017年07月21日 02:14, Nirav Patel wrote:
Hello
I am using a RYU controller on vm along with mininet running on a different VM.
RYU has
simple_switch.py and ofctl_rest.py application running on it .
I am also using RYU API for installing flows on a single toplogy with 3 hosts.
S1 is connected to 3 hosts
h1= 10.0.0.1
h2 =10.0.0.2
h3=10.0.0.3
I want to use RYU API to install a flow entry on switch S1 such that communication from host h1 is
blocked. I am trying to achieve this through a python script and a post request ...
json object that i have used is
*data={*
* "dpid": 1,*
* "cookie": 2802,*
* "priority": 3000,*
* "match":{*
* "ipv4_src": "10.0.0.1",*
**
* },*
* "actions": [ ]*
*}*
RYU is accepting the request but the corresponding flow entry has a blank
match field .
Can someone please guide me how to add
IP based flow entry to RYU controller using RYU API
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel