Nirav Patel
2017-07-20 17:14:29 UTC
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
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