[Ryu-devel] [RYU-DEVEL] - Getting flow entries length

2016-08-23 Thread Túlio Pascoal
Hello folks, I would like to get the flow entries length, because I am needing this information. I tried using ovs-ofctl from mininet but it did not work. So I saw that I could use the ryu REST api for it, by using curl -X GET http://localhost:8080/stats/flow/1 where I was supposed to get the le

Re: [Ryu-devel] [RYU-DEVEL] - Getting flow entries length

2016-08-25 Thread Túlio Pascoal
Hi, Can anyone help me in this thread? I really think it is an implementation problem in the REST API, Ryu or OpenFlow. Regards, -- Túlio Albuquerque Pascoal <https://br.linkedin.com/pub/t%C3%BAlio-pascoal/a0/2a9/b69> <http://lattes.cnpq.br/3973060880564786> On 23 August 2016 at

Re: [Ryu-devel] [RYU-DEVEL] - Getting flow entries length

2016-08-25 Thread Túlio Pascoal
"cookie": 1, > "hard_timeout": 0, > "packet_count": 0, > "length": 88, # !!! the length of flow entry > "priority": 1, > "duration_nsec": 42300 > } > ] >

Re: [Ryu-devel] [RYU-DEVEL] - Getting flow entries length

2016-08-25 Thread Túlio Pascoal
/pub/t%C3%BAlio-pascoal/a0/2a9/b69> <http://lattes.cnpq.br/3973060880564786> On 25 August 2016 at 22:23, Túlio Pascoal wrote: > Thanks for the reply, Iwase. > > I got version 3.6. > > I think I may need to upgrade my Ryu. Any hints? > > > Regards, >

[Ryu-devel] Upgrading Ryu

2016-08-26 Thread Túlio Pascoal
Hello, I am trying to update my Ryu version, however I am facing the following: ryu@ryu-vm:~/ryu$ sudo pip install ryu --upgrade Downloading/unpacking ryu from https://pypi.python.org/packages/64/e7/1be893594f9d295745b3c214c1805fd34afe1ca76a9991dc4e68c91183a0/ryu-4.5.tar.gz#md5=4ecc8794f199bef938

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Túlio Pascoal
> Cleaning up... >> > > These messages show Ryu have installed Successfully... > > Please confirm Ryu version as follows: > $ ryu-manager --version > ryu-manager 4.5 > > BTW, are you using OpenFlow Tutorial VM images? > (at https://sourceforge.net/projects/ryu/files/vmimage

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Túlio Pascoal
below, ryu is being installed into /usr/local... > > Best, > Victor > -- > Victor J. Orlikowski <> vjo@[cs.]duke.edu > > > On Aug 30, 2016, at 8:36 AM, Túlio Pascoal > wrote: > > > > Installing ryu-manager script to /usr/local/bin > >

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Túlio Pascoal
lt;http://lattes.cnpq.br/3973060880564786> On 30 August 2016 at 09:46, Victor Orlikowski wrote: > Try: > > export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages > > Then, try: > > /usr/local/bin/ryu-manager > > Best, > Victor > -- > Vict

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Túlio Pascoal
where ryu-manager had been installed. > > You will need to determine where the packages were installed, so that your > PATH and PYTHONPATH are correct, before you can proceed. > > Best, > Victor > -- > Victor J. Orlikowski <> vjo@[cs.]duke.edu > > > On Aug 30,

Re: [Ryu-devel] Request to help on python

2016-09-20 Thread Túlio Pascoal
Hello Greg, Nice initiative, keep up the good job! Best Regards, -- Túlio Albuquerque Pascoal On 20 September 2016 at 13:01, Darvid William wrote: > Hi Greg > > Thank you for sharing the de

Re: [Ryu-devel] [RYU-DEVEL] - Getting flow entries length

2016-09-28 Thread Túlio Pascoal
s.cnpq.br/3973060880564786> On 25 August 2016 at 22:28, Túlio Pascoal wrote: > I performed: sudo pip install ryu --upgrade > > And now, when I run: ryu-manager --version, I get the following: > > Traceback (most recent call last): > File "/usr/local/bin/ryu-manager", line

Re: [Ryu-devel] Upgrading Ryu

2016-09-28 Thread Túlio Pascoal
b/t%C3%BAlio-pascoal/a0/2a9/b69> <http://lattes.cnpq.br/3973060880564786> On 30 August 2016 at 10:48, Túlio Pascoal wrote: > Yeah Victor, this situation is weird. > > I can run my Ryu this way: > > ryu@ryu-vm:~/ryu$ ./bin/ryu-manager ryu/app/simple_switch_13.py > loadin

[Ryu-devel] Getting table 'max_entries' from Controller

2016-10-02 Thread Túlio Pascoal
Hello all, I am trying to get the 'max_entries' field from the swtich tables. First I tried by OFPTableStats and EventOFPTableStatsReply, however 'max_entries' is just returned by these request/reply in OpenFlow 1.2 (I am using 1.3). I am just able to get: OFPTableStats(table_id,active_count,lo

Re: [Ryu-devel] Getting table 'max_entries' from Controller

2016-10-02 Thread Túlio Pascoal
%C3%BAlio-pascoal/a0/2a9/b69> <http://lattes.cnpq.br/3973060880564786> On 2 October 2016 at 19:58, Túlio Pascoal wrote: > Hello all, > > I am trying to get the 'max_entries' field from the swtich tables. > > First I tried by OFPTableStats and EventOFPTableStatsR

Re: [Ryu-devel] Some question about how manage packet_in

2016-11-30 Thread Túlio Pascoal
Hi Luca, That is because as you have a flow rule installed (in the switch) already for that flow, the switch know already what to do (forward to the host), then no Packet-In (for rule´s instalation) is necessary. These are SDN/OpenFlow basic concepts. Regards, -- Túlio Albuquerque Pascoal

Re: [Ryu-devel] CPU usage of Ryu SDN

2017-01-27 Thread Túlio Pascoal
Hi, I did it by implementing a script capable of tracking CPU e MEM information from the python file running my Ryu Controller. I think you should try it. I hope it can help you, Best Regards, -- Túlio Albuquerque Pascoal

Re: [Ryu-devel] CPU usage of Ryu SDN

2017-01-30 Thread Túlio Pascoal
2017 at 11:53, munther numan wrote: > Dear Túlio Pascoal > I hope you're fine and well, > > Thank you very much for your reply. > > Actually I do not have skills to deal with linux operating system and > script programming. > > I will try to search in internet maybe i c

Re: [Ryu-devel] openflow table capacity

2017-02-15 Thread Túlio Pascoal
Hello Iwase, I think he meant maximum number of entries in a flow rule table instead of maximum number of flow tables (256 - 0 to 255). Best Regards, Túlio Pascoal Em 15 de fev de 2017 00:49, "Iwase Yusuke" escreveu: > Hi, > > Please refer to "n_tables" field

Re: [Ryu-devel] openflow table capacity

2017-02-15 Thread Túlio Pascoal
and have a ideia of how many flow rules your switch can support. By the way, are you working mainly about flow rule limitations? If so, please contact me by e-mail If you desire as it is part of my master thesis. Best Regards, Túlio Pascoal Em 15 de fev de 2017 10:01, "Moh'd R

Re: [Ryu-devel] measuring the controller resources usage

2018-01-24 Thread Túlio Pascoal
Hello all, In my works I have created a python script that keeps monitoring and saving to a text file CPU consumption of the controller .py file every second. Best regards, Túlio Pascoal Em 24 de jan de 2018 21:59, "Iwase Yusuke" escreveu: > Hi Soliman, > > Hmmm... it see