[Ryu-devel] REST API curls not working with QOS module

2020-02-12 Thread Inês Lopes
Hello. I've been experimenting with QOS, using he REST API, with the help of this tutorial: https://osrg.github.io/ryu-book/en/html/rest_qos.html Now, I got to the point where the switch is recognized by the scripts: $ ryu-manager ryu.app.rest_qos ryu.app.qos_simple_switch_13 ryu.app.rest_conf_

[Ryu-devel] REST

2019-06-13 Thread Edison Albuquerque
Hi. I'm working on a scenario where I have 2 hosts connecting to 1 switch which, in turn, connects to a switch configured as a router (using rest_router). There is 1 host connected to the router. Question 1 - When I run rest_router, both switches will function as a router?s Is there a way to put on

[Ryu-devel] REST FIREWALL - Mininet vs Real enabled Openflow Switches

2017-05-08 Thread Juan Francisco Guano
Hi everybody, When I run the rest firewall app, This works well in Mininet and Real enabled Openflow Switches(OVS under vmware machine) except in the case of a desconection of a switch in datapath id list of switch conected to app because the time to update the list is about 15 minutes, in mininet

Re: [Ryu-devel] REST FIREWALL IP Network in a rule

2017-02-12 Thread Iwase Yusuke
Hi Juan, According to REST API reference of rest_firewall.py, you can set IP network address with mask. http://osrg.github.io/ryu-book/en/html/rest_firewall.html#id10 e.g.) "DENY" action matching IP destination to "192.168.1.0/24". curl -X POST -d '{"nw_dst": "192.168.1.0/24", "actions": "D

[Ryu-devel] REST FIREWALL IP Network in a rule

2017-02-11 Thread Juan Francisco Guano
Hi everybody, I wanna know if the ryu app REST FIREWALL can set an IP address of all network in order to set the rules to allow or deny traffic, for example the IP network address:192.168.1.0/24. Any suggestion? Regards Juan

[Ryu-devel] REST FIREWALL

2017-02-10 Thread Juan Francisco Guano
Hi everybody, I wanna know if the ryu app REST FIREWALL can set an IP adrress range in the rules to allow or deny traffic, for example the IP range: 192.168.1.1-192.168.1.20, etc. Any suggestion? Regards Juan -- Check

Re: [Ryu-devel] REST router and firewall running together

2016-09-27 Thread renanrb
Well, I'm working on my Master's degree research, which is about migrating to SDN. I need to run services/protocols such as routing(static and OSPF), ACLs and/or NAT using OpenFlow switches, same as traditional routers would do. I don't need REST (as I'm using configuration files to set the d

Re: [Ryu-devel] REST router and firewall running together

2016-09-23 Thread Luis Zárate
Hi, I agree with renanrb, I am trying to implement L3 service as a service without ryu openstack agent so I have the same problem, I need to run firewall, router, nat in the same datapath manage by rest API. So how I can run all services with precedence order ? renanrb are you interested in imp

Re: [Ryu-devel] REST router and firewall running together

2016-09-19 Thread Iwase Yusuke
Hi, On 2016年09月14日 22:33, rena...@ime.usp.br wrote: > > Hello, > > I have tried to run rest_router and rest_firewall at the same time, so > my ovs could act as both. However, I promptly realized the need to put > the firewall rules in a flow table and the routing stuff in a > subsequent one. > > 1

[Ryu-devel] REST router and firewall running together

2016-09-14 Thread renanrb
Hello, I have tried to run rest_router and rest_firewall at the same time, so my ovs could act as both. However, I promptly realized the need to put the firewall rules in a flow table and the routing stuff in a subsequent one. 1. How can I change the tables where the rules go? 2. Besides

Re: [Ryu-devel] REST linkage with simple switch and simple switch 13 (mac filtering)

2015-08-15 Thread Iwase Yusuke
Hi, On 2015年08月12日 07:01, Kelvin Yau wrote: > > Hi, > > i'm currently looking ryu through examples from the SimpleSwitch13.py & > SimpleSwitchRest13.py. I've gone through the code and understand what is it > trying to achieve. > > My question is how would i filter certain mac address to updat

[Ryu-devel] REST linkage with simple switch and simple switch 13 (mac filtering)

2015-08-11 Thread Kelvin Yau
Hi, i'm currently looking ryu through examples from the SimpleSwitch13.py & SimpleSwitchRest13.py. I've gone through the code and understand what is it trying to achieve. My question is how would i filter certain mac address to update as in from the "PUT" method i can control a list of MAC addres

[Ryu-devel] REST linkage with simple switch and simple switch 13 (mac filtering)

2015-08-09 Thread Kelvin Yau
Hi All, I'm still new to python and i'm currently learning ryu through examples from the SimpleSwitch13 & SimpleSwitchRest13. I've gone through the code and understand what is it trying to achieve. My question is how would i filter certain mac address to update as in from the "PUT" method i can c

Re: [Ryu-devel] Rest-api notworking

2015-06-15 Thread Minoru TAKAHASHI
Hi, On 2015年06月16日 00:16, Andre Schütze wrote: > Hello, > > I have a problem with the rest api of Ryu. What I do: > > - take mininet image from mininet.org > - install Ryu (from pip and from git - it is the same problem) > - run Ryu with: "PYTHONPATH=. ryu-manager --verbose ./app/rest.py" You w

[Ryu-devel] Rest-api notworking

2015-06-15 Thread Andre Schütze
Hello, I have a problem with the rest api of Ryu. What I do: - take mininet image from mininet.org - install Ryu (from pip and from git - it is the same problem) - run Ryu with: "PYTHONPATH=. ryu-manager --verbose ./app/rest.py" - start my mininet custom topology - run the rest request: "curl -X

[Ryu-devel] REST API Creation Queue

2015-06-04 Thread Faten Mkacher
Hi, I want to know if the REST API of RYU can create queue in the ports of the switch? if yes, how w can do this. Thanks. -- ___ Ryu-devel mailing list Ryu-devel@lists.sourcefor

Re: [Ryu-devel] Rest API questions

2014-07-31 Thread Yusuke Iwase
Hi, On 2014年07月31日 17:54, Marc Bruyere wrote: > Hi, > > I am trying to add a couple of flows using ofctl_rest.py with curl like > that one : > > curl -X POST -d '{"cookie": "1","dpid": 0x9b9de89a8ffbc388,"priority": > "23999","match": {"in_port": > "1"},"actions":[{"type":"OUTPUT","port":"1"}

[Ryu-devel] Rest API questions

2014-07-31 Thread Marc Bruyere
Hi, I am trying to add a couple of flows using ofctl_rest.py with curl like that one : curl -X POST -d '{"cookie": "1","dpid": 0x9b9de89a8ffbc388,"priority": "23999","match": {"in_port": "1"},"actions":[{"type":"OUTPUT","port":"1"}]}' http://127.0.0.1:8080/stats/flowentry/add I am not sure i

Re: [Ryu-devel] REST API stress cause ryu to hit 100% CPU utilization

2014-01-29 Thread FUJITA Tomonori
On Wed, 29 Jan 2014 22:14:33 + Morgan Yang wrote: > We are using the REST API plugin interface to Openstack so it will > be ideal to stay with REST. Do you think performance will improve if > our agent supports jumbo/super flow or wildcard flow addition? I see. If your agent supports such, t

Re: [Ryu-devel] REST API stress cause ryu to hit 100% CPU utilization

2014-01-29 Thread FUJITA Tomonori
On Wed, 29 Jan 2014 11:27:05 +0900 Satoshi Kobayashi wrote: > Do we have any document for how to use VRRP RPC API? I want to try it. Thanks for interest! I'll write docs about VRRP but there is no VRRP docs for now. Here's simple instructions (of course, after reading, writing and sending a pat

Re: [Ryu-devel] REST API stress cause ryu to hit 100% CPU utilization

2014-01-29 Thread Morgan Yang
[mailto:fujita.tomon...@lab.ntt.co.jp] Sent: Monday, January 27, 2014 9:01 AM To: Morgan Yang Cc: ryu-devel@lists.sourceforge.net Subject: Re: [Ryu-devel] REST API stress cause ryu to hit 100% CPU utilization Hi, On Sat, 25 Jan 2014 00:22:13 + Morgan Yang wrote: > 1) Improve the RYU REST

Re: [Ryu-devel] REST API stress cause ryu to hit 100% CPU utilization

2014-01-28 Thread Satoshi Kobayashi
Hi, 2014-01-27 FUJITA Tomonori > Hi, > > On Sat, 25 Jan 2014 00:22:13 + > Morgan Yang wrote: > > > 1) Improve the RYU REST API performance in the future, for example, > > instead of invoking an event for every message, a method to add a > > group of flows and generate 1 event for N flows. >

Re: [Ryu-devel] REST API stress cause ryu to hit 100% CPU utilization

2014-01-27 Thread FUJITA Tomonori
Hi, On Sat, 25 Jan 2014 00:22:13 + Morgan Yang wrote: > 1) Improve the RYU REST API performance in the future, for example, > instead of invoking an event for every message, a method to add a > group of flows and generate 1 event for N flows. It could, however, I would recommend you to more

[Ryu-devel] REST API stress cause ryu to hit 100% CPU utilization

2014-01-24 Thread Morgan Yang
Hi: I have been using the "ofctl_rest" RYU application and adding and modifying flows via REST interface (I'm using pycurl) Here's my python script, basically, it just updates the PYCURL string with new IP's and continuously PUSH it to the RYU's REST interface. c = pycurl.Curl() c.setopt(c.

Re: [Ryu-devel] REST API for topology module

2013-03-28 Thread YAMADA Hideki
(2013/03/27 15:22), Nikhil wrote: > Thanks a lot. Discovery module is designed to work with only OF1.0. When > can we expect OF1.2 or OF1.3 support? > Sorry, there is no plan for support OF1.2/OF1.3 yet. But I think it is needed. > Best Regards, > Nikhil > > -

Re: [Ryu-devel] REST API for topology module

2013-03-26 Thread Nikhil
Thanks a lot. Discovery module is designed to work with only OF1.0. When can we expect OF1.2 or OF1.3 support? Best Regards, Nikhil On Wed, Mar 27, 2013 at 6:55 AM, YAMADA Hideki wrote: > Hi, > > > (2013/03/26 20:00), Nikhil wrote: > >> Hi , >> >> Thanks for the reply. Could you tell me whether

Re: [Ryu-devel] REST API for topology module

2013-03-26 Thread YAMADA Hideki
Hi, (2013/03/26 20:00), Nikhil wrote: > Hi , > > Thanks for the reply. Could you tell me whether topology/switches.py file > can be run as an app ryu-manager. any test method or whats the go? > You can receive topology events from the module. A sample receiver app is ryu/topology/dumper.py. To ru

Re: [Ryu-devel] REST API for topology module

2013-03-26 Thread Nikhil
Hi , Thanks for the reply. Could you tell me whether topology/switches.py file can be run as an app ryu-manager. any test method or whats the go? Best Regards, Nikhil On Tue, Mar 26, 2013 at 3:27 PM, YAMADA Hideki wrote: > Hi, > > Topology module has not REST API yet. > I will post REST API pa

Re: [Ryu-devel] REST API for topology module

2013-03-26 Thread YAMADA Hideki
Hi, Topology module has not REST API yet. I will post REST API patch in this week. (2013/03/26 18:38), Nikhil wrote: > Hello, > > > Does topology module added to ryu controller recently has REST API? If yes, > Please provide me details of the same. > > > Best Regards, > Nikhil > > > > ---

[Ryu-devel] REST API for topology module

2013-03-26 Thread Nikhil
Hello, Does topology module added to ryu controller recently has REST API? If yes, Please provide me details of the same. Best Regards, Nikhil -- Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness i