Hi,
If you prefer to use ofctl_rest.py, for example, you can use
"/stats/flowentry/add" from your Web
application, I guess.
http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#add-a-flow-entry
Please note that for stopping or accepting some traffic by using OpenFlow, you
need to design your
own flow entries and install them.
Thanks,
Iwase
On 2017年07月18日 23:38, Nicholas Brasini wrote:
Yes! If I want stop traffic when a packet arrives, and if I want select Yes -> ok or No -> delete
that packet, what function might I use?
----------------------------------------------------------------------------------------------------
*Da:* Iwase Yusuke <iwase.yusu...@gmail.com>
*Inviato:* martedì 18 luglio 2017 03:27
*A:* cola...@hotmail.it
*Cc:* ryu-devel@lists.sourceforge.net
*Oggetto:* Re: [Ryu-devel] ofctl_rest.py doesn't permit ping
Hi,
You want to implement Web Application which shows OpenFlow informations, right?
Well... I guess it is depending on your application design.
Ryu provides many APIs to control OpenFlow messages, you can implement your own
App by useing
Django, Flask, or your favorite Web framework.
Thanks,
Iwase
On 2017年07月14日 19:15, Nicholas Brasini wrote:
Excellent, it works!! Now, I have another question. If I want launch a html
page in localhost which
prints the Open Flow traffic, how can I do? For example, I start Mamp PRO, I go
to
localhost:8080/sniffer.html and I press a button. Now, I want see, for example,
the same that I see
if I digit 192.168.56.101:8080/stats/switches. Is it possible?
----------------------------------------------------------------------------------------------------
*Da:* Iwase Yusuke <iwase.yusu...@gmail.com>
*Inviato:* venerdì 14 luglio 2017 02:26
*A:* cola...@hotmail.it
*Cc:* ryu-devel@lists.sourceforge.net
*Oggetto:* Re: [Ryu-devel] ofctl_rest.py doesn't permit ping
Hi,
"ryu/app/ofctl_rest.py" installs no flow entry for forwarding packets.
To permit ping, you need to run ofctl_rest.py with other applications or
install flow entries for forwarding manually.
e.g.) Run ofctl_rest.py with the simple leaning switch application
$ ryu-manager ryu/app/ofctl_rest.py ryu/app/simple_switch_13.py
Thanks,
Iwase
On 2017年07月14日 00:58, Nicholas Brasini wrote:
Hi guys! I launched Ryu Controller with the command ryu-manager --verbose
ryu/app/ofctl_rest.py and
minimal topology in Mininet with sudo mn --topo single,2 --mac --controller
remote --switch
ovsk,protocols=OpenFlow13.
Now, if I surf to 192.168.56.101:8080/stats/switches it's ok, I see one switch,
but ping between h1
and h2 doesn't work! How can I do??
Thanks
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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