Re: [Ryu-devel] Error While Running RYU Controller

2020-05-03 Thread knet solutions
hi prabu, please do this, pip uninstall tinyrpc pip install tinyrpc==0.9.4 it will work. Thanks suresh On Sun, May 3, 2020 at 4:43 AM Prabu U wrote: > Dear Professor, > Recently I have changed my machine and I tried to install RYU Controller. > But I am getting the below. Can you help me in

[Ryu-devel] Error While Running RYU Controller

2020-05-02 Thread Prabu U
Dear Professor, Recently I have changed my machine and I tried to install RYU Controller. But I am getting the below. Can you help me in this regard? prabu@ubuntu:~/ryu$ ./bin/ryu-manager --verbose ryu/app/simple_switch_13.py Traceback (most recent call last): File "./bin/ryu-manager", line 18, in

[Ryu-devel] Error in reporting packets

2020-04-17 Thread Nisha Ahuja
HI all, I am observing a strange behaviour when i send normal traffic in a topology of 20 hosts at the rate of 450 packets per second and writing them to a csv file , i am getting the log as 13000 packets generated after every 30seconds but getting in reply only 9000 packets(e.g: i am sending pack

[Ryu-devel] Error in importing Tensoflow/Keras module in Ryu

2019-09-05 Thread Ricardo Bennesby
Hello all, I installed Keras and Tensorflow in my Ubuntu VM and can import keras in a simple python script but when I try to import it from my Ryu application I get the following error: *ImportError: No module named keras* Can you help me with this issue? Thank you in advance. _

[Ryu-devel] Error in traffic monitoring?

2019-06-10 Thread رغدة عبد via Ryu-devel
Hello Iam trying to do the traffic monitoring in ryu using the simple _monitor_13.py First I write ryu-manager ryu.app.simple_monitor_13 The logs look fine and everything ok Second terminal I wrote the topology sudo mn —topo=single,6 —controller=remote,ip=local host ,port=6653,switch=oval,proto

Re: [Ryu-devel] Error while sending http request to RYU server

2019-02-13 Thread IWAMOTO Toshihiro
On Tue, 12 Feb 2019 17:45:01 +0900, Nirav Patel wrote: > > [1 ] > [1.1 ] > [1.1.1 ] > Hello > I am trying to send a GET request to RYU api > Server running RYU controller > http://192.168.52.142:8080/stats/switches > When i send this request from a web browser or through POSTMAN application > i

[Ryu-devel] Error while sending http request to RYU server

2019-02-12 Thread Nirav Patel
Hello I am trying to send a GET request to RYU api Server running RYU controller http://192.168.52.142:8080/stats/switches When i send this request from a web browser or through POSTMAN application i get the response. But when i try to use a javaScript i get CORS error. *Access to XMLHttpRequest a

Re: [Ryu-devel] Error

2019-02-03 Thread IWAMOTO Toshihiro
On Mon, 04 Feb 2019 09:16:43 +0900, Pelcner, Lukasz wrote: > > [1 ] > [1.1 ] > Dear Sir/Madam, > > > Trying to set up Ryu I constantly get the following error running > simple_switch for OpenFlow 1.3 http://osrg.github.io/ryu-book/en/html/switching_hub.html#executing-the-switching-hub A pyt

[Ryu-devel] Error

2019-02-03 Thread Pelcner, Lukasz
Dear Sir/Madam, Trying to set up Ryu I constantly get the following error running simple_switch for OpenFlow 1.3 Traceback (most recent call last): File "/home/vagrant/.local/bin/ryu-manager", line 11, in sys.exit(main()) File "/home/vagrant/.local/lib/python2.7/site-packages/ryu/cmd/

Re: [Ryu-devel] Error in datapath

2018-12-19 Thread IWAMOTO Toshihiro
On Thu, 20 Dec 2018 00:41:57 +0900, [email protected] wrote: > > Hello, > > I got the follow error when i send Rule to switch: > > [DEBUG - 2018-12-17 15:33:00,235] Log.debug - --- SET RULE --- > [INFO- 2018-12-17 15:33:00,247] Log.info - Starting rule match of OF 1.0 > [DEBU

[Ryu-devel] Error in datapath

2018-12-19 Thread marcosabreu
Hello, I got the follow error when i send Rule to switch: [DEBUG - 2018-12-17 15:33:00,235] Log.debug - --- SET RULE --- [INFO- 2018-12-17 15:33:00,247] Log.info - Starting rule match of OF 1.0 [DEBUG - 2018-12-17 15:33:00,255] EventOFPErrorMsg received. version=0x1, msg_type=0x

Re: [Ryu-devel] Error parsing ICMPv4 fragments

2017-11-07 Thread Iwase Yusuke
Hi Bill, Thank you for your confirmation! I've just posted patches for this issue. The following fixes this issue and includes some improvements for ICMPv4/v6 packet libraries. [Ryu-devel] [PATCH 0/2] packet/icmp: Avoid TypeError when calculating length Thanks, Iwase On 2017年11月08日 15:39, W

Re: [Ryu-devel] Error parsing ICMPv4 fragments

2017-11-07 Thread William Fisher
Iwase, Yes, your patch works for me. Thanks, -Bill On Tue, Nov 7, 2017 at 8:59 PM, Iwase Yusuke wrote: > Hi Bill, > > Thank you for reporting issue, but sorry for the delay! > > Well, packet library for ICPMv6 seems to be fixed for the same issue. > I guess the same fix should be back-ported t

Re: [Ryu-devel] Error parsing ICMPv4 fragments

2017-11-07 Thread Iwase Yusuke
Hi Bill, Thank you for reporting issue, but sorry for the delay! Well, packet library for ICPMv6 seems to be fixed for the same issue. I guess the same fix should be back-ported to ICMPv4. https://github.com/osrg/ryu/blob/8185637767f870b5887a369dc569cc2933aeec34/ryu/lib/packet/icmpv6.py#L151-L1

[Ryu-devel] Error parsing ICMPv4 fragments

2017-11-03 Thread William Fisher
Hi, There is a TypeError exception with Ryu parsing fragmented ICMPv4 packets of a certain length. The attached program "ryu_icmpv4_test.py" demonstrates the failure. Note that the packet data is for the second fragment of a large ICMP echo. The file "ryu_icmpv4.patch" contains a superficial pat

Re: [Ryu-devel] Error while running- First Application

2017-10-25 Thread ktkhan khan
Hi Iwase, Thanks for your reply. The problem was with line. ryu-manager ~/l2.py. I didn't know the what "~" meant in linux. Later I figured out. Thanks! Tony On Wed, Oct 25, 2017 at 8:24 PM, Iwase Yusuke wrote: > Hi Tony, > > The error messages show Ryu is trying to output the log into > "

Re: [Ryu-devel] Error while running- First Application

2017-10-25 Thread Iwase Yusuke
Hi Tony, The error messages show Ryu is trying to output the log into "var/log/ryu/ryu.log", but "var/log/ryu/" directory is missing. By default, Ryu does not output the log into such place (does not output log file). https://github.com/osrg/ryu/blob/e1e85052f5563f120b1e62fd9282946be6154f5b

[Ryu-devel] Error while running- First Application

2017-10-24 Thread ktkhan khan
Hi, It may be trivial, I just started to work on RYU. I downloaded RYU, additional tools( paramiko,ncc,lxml) and Mininet. I started my mininet terminal and it works perfectly fine( setting switch, hosts and controller) When I ran first application given on Writing Your Ryu Application

Re: [Ryu-devel] Error messages when doing Ryu tutorial

2017-08-29 Thread Fujimoto Satoshi
Hi, Laura When your specify the application by file name, trailing ".py" is needed, so this should work: ryu-manager --verbose ryu/ryu/app/example_switch_13*.py* FYI, you can specify the application as a module, like: ryu-manager --verbose ryu.app.example_switch_13* * Thanks, Fujimoto

[Ryu-devel] Error messages when doing Ryu tutorial

2017-08-28 Thread Laura Heath
Hello all! I have been trying to work through the tutorial shown in the Ryu github site, using a new Ubuntu 16.04.3 VM and trying to follow the installation instructions given (including the optional-requires). There have been a lot of problems with getting pip to install Ryu correctly and to

Re: [Ryu-devel] Error while running a file

2017-08-21 Thread Fujimoto Satoshi
Hi, Sorry, please attach your code to the mail next time, instead of pasting it. Indentations in the code are broken in my mail client. Umm, I could not reproduce your situation... I sent a packet from h1(10.0.0.1/00.00.00.00.00.01) to h2(10.0.0.2/00.00.00.00.00.02). Before sending, I confir

Re: [Ryu-devel] Error while running a file

2017-08-20 Thread Attitude Killer
Hi Fujimoto I am generating proto==150 using Scapy tool(packet generator). So every time I send a packet from sender_host to receiver_host with (proto = 150 and length < 2000), it should be sent to the controller as packet_in and store in a buffer(list) for 5 seconds according to my changes in the

Re: [Ryu-devel] Error while running a file

2017-08-20 Thread Fujimoto Satoshi
Hi, Sorry, Please confirm me. Your problem is that, Packet-in comes for every packet which matches some condition(proto == 150 and total_len <= 2000), even though flow entry is added in OVS switch, right? I could not make your app work (I don't know how to send packets whose proto is 150), b

Re: [Ryu-devel] Error while running a file

2017-08-20 Thread Attitude Killer
Hi Thanks Fujimoto for your response. I corrected that and it is running now. I am stuck with another problem. Here is the code I am running. Everything is going good but I don't understand why there is a flow entry added in ovs switch. As, when a packet arrives it matches the if condition if pr

Re: [Ryu-devel] Error while running a file

2017-08-17 Thread Fujimoto Satoshi
Hi, from ryu.ryu.app import simple_switch_13.py The above line should be removed. It causes a SyntaxError and Ryu fails to load your app. Furthermore, other errors seem to exist in your code, such like "global name 'time' is not defined". Please make sure. Thanks, Fujimoto On 2017年08月18日

[Ryu-devel] Error while running a file

2017-08-17 Thread Attitude Killer
Hi I am trying to run a modified application of simple_switch_13.py. I am getting this error: loading app simple_switch_13.py Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 9, in load_entry_point('ryu==4.16', 'console_scripts', 'ryu-manager')() File "/home/se

Re: [Ryu-devel] error: cannot convert argument to integer

2017-01-18 Thread Munther Numan
; Flow: added") dp.send_msg(mod) Best Regards Munther Numan Master Student Faculty of Engineering University Putra Malaysia From: Munther Numan [mailto:[email protected]] Sent: Wednesday, January 18, 2017 8:57 PM To: Ryu-devel Subject: [Ryu-devel] error: cannot convert argument to in

[Ryu-devel] error: cannot convert argument to integer

2017-01-18 Thread Munther Numan
Greeting All, I get error below when I set hard_timeout to the flow I try in many ways but same thing occurs , please if you can help me . The command : mod = parser.OFPFlowMod(datapath=dp, priority=priority, match=match, instructions=inst, hard

Re: [Ryu-devel] error simple_switch_stp_13 and forty switch

2016-09-15 Thread wesam kh
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Hi iwase I apply two application in another topology and I get response in server but just in this topology I don't get response

Re: [Ryu-devel] error simple_switch_stp_13 and forty switch

2016-09-15 Thread Iwase Yusuke
Hi, I tried your topology script and your app on my environment, the ARP broadcast storm has occurred. I have not investigated why further, please confirm your app (multipath.py) can cooperate with simple_switch_stp_13.py. For example, simple_switch_stp_13.py installs the flows for L2 switching

Re: [Ryu-devel] error simple_switch_stp_13 and forty switch

2016-09-14 Thread Karol Majewski
Also, if you want to run multiple apps, don't run a sepperate ryu-manager instance in another terminal. You can run more apps by just putting them as space seperated inputs to ryu-manager i.e "ryu-manager app1 app2 app3 app4" Best regards, Karol 2016-09-14 15:23 GMT+02:00 Karol Majewski : > Hi Wi

Re: [Ryu-devel] error simple_switch_stp_13 and forty switch

2016-09-14 Thread Karol Majewski
Hi Wisam, You will get this error, when you use Ryu and have OvS installed on the same machine. OvS will run ovs-testcontroller at system start, which will prevent Ryu from starting. Kill all the ovs-testcontroller related processes or issue the following command: *sudo /etc/init.d/openvswitch-tes

Re: [Ryu-devel] error simple_switch_stp_13 and forty switch

2016-09-13 Thread Iwase Yusuke
Hi, The output of "sudo ss -ntlp" command shows that "ovs-vswitchd" is running on the port 6653 of "c0", and Ryu cannot bind this port. "ovs-vswitchd" seems to use the port from 6634 and increment it for each switch instance. So, if the number of switch instances becomes more than 20, "ovs-vswitc

Re: [Ryu-devel] error simple_switch_stp_13 and forty switch

2016-09-12 Thread Iwase Yusuke
Hi, > File "/usr/lib/python2.7/socket.py", line 224, in meth > return getattr(self._sock,name)(*args) > error: [Errno 98] Address already in use This messages means another application is already using the port 6633 or 6653, which is the default ofp listen port of Ryu. Please check if anoth

Re: [Ryu-devel] error in qos_simple_switch_13

2016-08-21 Thread Shinpei Muraoka
Hi Closing parentheses does not exist in line 57. Please try to impart closing parentheses. >mod = parser.OFPFlowMod(datapath=datapath, priority=priority, >match=match, instructions=inst, table_id=1 Thanks, On 2016年08月20日 17:30, wesam kh wrote: > hi ry

[Ryu-devel] error in qos_simple_switch_13

2016-08-20 Thread wesam kh
hi ryu team I have some problem with apply  of the per-flow QoSwhen implement the code :ryu-manager ryu.app.rest_qos ryu.app.qos_simple_switch_13 ryu.app.rest_conf_switchcan any one know how can I solve this error??note : I am using the simple_switch_stp_13.py to my network Wisam Maala qo

Re: [Ryu-devel] error in switch 3 and 4

2016-07-18 Thread Iwase Yusuke
Hi, I think rest_qos.py might have some bugs. Does the following fix this problem? $ git diff diff --git a/ryu/app/rest_qos.py b/ryu/app/rest_qos.py index 89185a6..e67e63f 100644 --- a/ryu/app/rest_qos.py +++ b/ryu/app/rest_qos.py @@ -1128,10 +1128,12 @@ class Action(object): @staticmet

[Ryu-devel] error in shortest_forwarding

2016-07-16 Thread wesam kh
hi ryu teamI need to apply shortest_forwarding in network_awareness  as link:https://github.com/muzixing/ryu/tree/master/ryu/app/network_awareness but I have some problem :no module named networks as shown in attachment and the files in attachment after update can any know how can I to solve th

Re: [Ryu-devel] error in hub switching

2016-07-04 Thread Shinpei Muraoka
Hi, > But I have same problem > you can see the error in attachments simple_switch_13.py can not suppresses occurrence of broadcast streams in a network having a loop structure. How about using simple_switch_stp_13.py? Please refer to the following for broadcast streams. https://osrg.gi

Re: [Ryu-devel] error in hub switching

2016-07-03 Thread Shinpei Muraoka
Hi, > can any one know how to solve this? > and I using the command to execute the topology with remote controller : > sudo mn --custom ~/mininet/custom/4sw-4host.py --controller=remote -x I think error cause is that you do not specify the 'mytopo' for command of mininet. Please try to start

Re: [Ryu-devel] error in simple_monitor

2016-06-30 Thread Shinpei Muraoka
Hi, > but I have some error when apply the application the switch receive and > transmit the packet before I send packet form host 1 ? > the result not same the at ryubook 'result not same' means each data size is not zero, right? If you are using ipv6, data communication by the NDP(Neighbor

Re: [Ryu-devel] error in simple_monitor

2016-06-29 Thread Shinpei Muraoka
Hi, > line 21 self.logger.debug ('register datapath: %016',datapath.id) > syntaxError : invalid Syntax > the file of simple_monitro.py and the picture of error in the attachment > can any one how can I resolve this error ? All of the single quotes are writed in the full-size. Please gets the

[Ryu-devel] error in simple_monitor

2016-06-29 Thread wesam kh
hi ever one I need to apply the simple_monitor.py application in ryu controller but I got some error : line 21 self.logger.debug ('register datapath: %016',datapath.id) syntaxError : invalid Syntax the file of simple_monitro.py and the picture of error in the attachment can any one how can I r

Re: [Ryu-devel] Error starting Ryu-Manager with openflow 1.3

2016-05-20 Thread Iuri Finger
I'm getting back in touch to say that I could solve the problem. I was really confused, because not encherguei something so simple before. I apologize to you. Well what was missing for min was a (stevedore) updated. I did the following to install the stevedore: $ git clone https://github.com/dr

Re: [Ryu-devel] Error starting Ryu-Manager with openflow 1.3

2016-05-20 Thread Iuri Finger
Thank you so much for your answer! Did the procedure indicated to me, but it did not work. My procedure was: 1 - ryu uninstalled and removed all his folder. 2 - again I installed the ryu as the page that sent me. Ryu installed with the following commands: $ sudo apt-get install git python-dev

Re: [Ryu-devel] Error starting Ryu-Manager with openflow 1.3

2016-05-19 Thread Shinpei Muraoka
Hi, The error has occurred because the package to be installed is insufficient. Please referring to the following, try to reinstall the Ryu. https://osrg.github.io/ryu-book/en/html/switching_hub.html#execution-of-ryu-application Thanks, On 2016年05月20日 04:37, Iuri Finger wrote: > Hello friends.

[Ryu-devel] Error starting Ryu-Manager with openflow 1.3

2016-05-19 Thread Iuri Finger
Hello friends. I'm starting work on openflow University and previously never had contact with anything about SDN. I have already installed natively and success with Mininet and RYU app. Well then, I began reading and following the tutorial available on RYU site. I'll tell you which commands that

Re: [Ryu-devel] Error in executing the hub switching 13

2016-05-19 Thread wesam kh
Thank you for reply  Wisam Maala On Thursday, May 19, 2016 10:52 AM, Victor Orlikowski wrote: On May 18, 2016, at 10:44 PM, Iwase Yusuke wrote: > > Thanks a lot! > I overlooked. No problem. ;) Best, Victor -- Victor J. Orlikowski <> vjo@[cs.]duke.edu --

Re: [Ryu-devel] Error in executing the hub switching 13

2016-05-18 Thread Victor Orlikowski
On May 18, 2016, at 10:44 PM, Iwase Yusuke wrote: > > Thanks a lot! > I overlooked. No problem. ;) Best, Victor -- Victor J. Orlikowski <> vjo@[cs.]duke.edu -- Mobile security can be enabling, not merely restricting.

Re: [Ryu-devel] Error in executing the hub switching 13

2016-05-18 Thread Iwase Yusuke
Hi Victor, On 2016年05月19日 11:33, Victor Orlikowski wrote: > On May 18, 2016, at 10:30 PM, Iwase Yusuke wrote: >> >>> root@ubuntu:~# ovs-vsctl set Bridge s1 protcols=OpenFlow13 >>> ovs-vsctl: Bridge does not contain a column whose name matches "protcols" > > I think this is simpler still: > Try:

Re: [Ryu-devel] Error in executing the hub switching 13

2016-05-18 Thread Victor Orlikowski
On May 18, 2016, at 10:30 PM, Iwase Yusuke wrote: > >> root@ubuntu:~# ovs-vsctl set Bridge s1 protcols=OpenFlow13 >> ovs-vsctl: Bridge does not contain a column whose name matches "protcols" I think this is simpler still: Try: protocols not: protcols Note the missing "o"... Best, Victor --

Re: [Ryu-devel] Error in executing the hub switching 13

2016-05-18 Thread Iwase Yusuke
Hi, On 2016年05月17日 17:22, wesam kh wrote: > Hi iwase , I very appreciate to you > The code is work : > # !!! At Ryu top directory > $ sudo pip install -r tools/pip-requires > $ sudo python setup.py install > *and the ovs version 2.6.0 also install * > > but I faced another problem as below : >

Re: [Ryu-devel] Error in executing the hub switching 13

2016-05-17 Thread wesam kh
Hi iwase , I very appreciate to youThe code is work : # !!! At Ryu top directory $ sudo pip install -r tools/pip-requires$ sudo python setup.py install and the ovs version 2.6.0 also install  but I faced another problem as below :in root switch :root@ubuntu:~# ovs-vsctl set Bridge s1 protcols=Open

Re: [Ryu-devel] Error in executing the hub switching 13

2016-05-16 Thread Iwase Yusuke
Hi, On 2016年05月16日 16:41, wesam kh wrote: > IWASE ,Thank you for reply > I using ovs version 1.4.6 > wisam@ubuntu:~$ ovs-vsctl --version > ovs-vsctl (Open vSwitch) 1.4.6 > Compiled Jun 24 2015 15:14:40 > and I need to know how can install ovs 2.6.0 ? The following is the official OVS installat

Re: [Ryu-devel] Error bad match

2016-05-16 Thread Jason Kölker
On Mon, May 16, 2016 at 2:08 PM, wrote: > Hi: > > I want to specify IP addresses in the Match so I can retrieve them later. > When I set ipv4_src, ipv4_dst , it takes them but generates error message > bad match with type 4, code 9. > > This is the segment of code > > if(pkt.get_proto

[Ryu-devel] Error bad match

2016-05-16 Thread ‫Eman Bany salameh‬ ‫
Hi: I want to specify IP addresses in the Match so I can retrieve them later. When I set ipv4_src, ipv4_dst , it takes them but generates error message bad match with type 4, code 9.  This is the segment of code              if(pkt.get_protocols(ethernet.ethernet) and pkt.get_protocols(ipv4.ipv4

Re: [Ryu-devel] Error in executing the hub switching 13

2016-05-16 Thread wesam kh
IWASE  ,Thank  you for reply I using ovs version 1.4.6wisam@ubuntu:~$ ovs-vsctl --versionovs-vsctl (Open vSwitch) 1.4.6Compiled Jun 24 2015 15:14:40and I need to know how can install ovs 2.6.0  ? and I trying to reinstall ryu by two codes but I have another error as below : wisam@ubuntu:~$ pip in

Re: [Ryu-devel] Error in executing the hub switching 13

2016-05-15 Thread Iwase Yusuke
Hi, On 2016年05月16日 00:11, wesam kh wrote: > Hi every one > I have problem when I need to execute the switching hub like : > c0#ryu-manager --verbose ryu.app.simple_switch_13 > problem:pkg_resources.DistributionNotFound: The 'ovs>=2.6.0.dev0' > distribution was not found and is required by ryu Th

[Ryu-devel] Error in executing the hub switching 13

2016-05-15 Thread wesam kh
Hi every one I have problem when I need to execute the switching hub like :c0#ryu-manager --verbose ryu.app.simple_switch_13 problem:pkg_resources.DistributionNotFound: The 'ovs>=2.6.0.dev0' distribution was not found and is required by ryuand I have another problem in S1 :S1#ovs-vsctl set Bridg

Re: [Ryu-devel] error: cannot convert argument to integer

2016-03-01 Thread David Gabriel
I fixed this issue. In fact I have to use the -O option to specify the openflow version ovs-ofctl dump-flows mybridge *-O OpenFlow13* Thanks. 2016-03-01 2:09 GMT-08:00 David Gabriel : > Dears > > Thanks Shinpei for your help. > I have fixed my issue but when I use this command 'ovs-ofctl dump-fl

Re: [Ryu-devel] error: cannot convert argument to integer

2016-03-01 Thread David Gabriel
Dears Thanks Shinpei for your help. I have fixed my issue but when I use this command 'ovs-ofctl dump-flows mybridge' to get the flows deails it shows me this kind of error after displaying few flows. Please note that when I disable writing metadata the content is well displayed. ovs-ofctl dump-f

Re: [Ryu-devel] error: cannot convert argument to integer

2016-02-29 Thread Shinpei Muraoka
Hi, > In fact I am using a 64-bit VM under a 64-bit physical machine but the > problem is still pending. > Please advise how to fix it ? > inst = [parser.OFPInstructionWriteMetadata(metadata, 0x), parser.OFPInstructionGotoTable(3), ] The argument metadata of OFPInstructionWriteMeta

Re: [Ryu-devel] error: cannot convert argument to integer

2016-02-28 Thread David Gabriel
Dear Shinpei and all, Thanks for your answer. In fact I am using a 64-bit VM under a 64-bit physical machine but the problem is still pending. Please advise how to fix it ? Best regards. Hi, > inst = [parser.OFPInstructionWriteMetadata(metadata, 0x), parser.OFPInst

Re: [Ryu-devel] error: cannot convert argument to integer

2016-02-15 Thread Shinpei Muraoka
Hi, > inst = [parser.OFPInstructionWriteMetadata(metadata, > 0x), parser.OFPInstructionGotoTable(3), ] > mod = parser.OFPFlowMod(datapath=self.current_datapath, > priority=1, match=match, instructions=inst,table_id=1) > s

[Ryu-devel] error: cannot convert argument to integer

2016-02-11 Thread David Gabriel
Dears I am getting this error when I set the writeMatadata instruction. This is my code and below is the error I am getting. inst = [parser.OFPInstructionWriteMetadata(metadata, 0x), parser.OFPInstructionGotoTable(3), ] mod = parser.OFPFlowMod(d

Re: [Ryu-devel] Error when add a flow entry

2016-02-02 Thread Minoru TAKAHASHI
Hi, I think, the connection with the controller may have gone wrong. For example, ofctl_rest (ryu/app/ofctl_rest.py) app start-up already? > curl -X POST -d '{"dpid": "7", "match": {"ip_dscp": "46"}, And, OFspec1.3says that OXM_OF_IP_DSCP is allowed only if it is preceded by another entry with E

[Ryu-devel] Error when add a flow entry

2016-02-02 Thread Le Tran Duc
Hello, I am trying to add a flow entry to a switch with following command: curl -X POST -d '{"dpid": "7", "match": {"ip_dscp": "46"}, "actions": [{"type": "OUTPUT "," port ":" 4 "}]} ' http://localhost:8080/stats/flowentry/add I just want to send the packets that have ip_dscp =46 to the out_port

Re: [Ryu-devel] Error while getting vlan Id

2016-01-21 Thread David Gabriel
Thanks so much Victor for your help. Your code fixes my problem. 2016-01-21 4:35 GMT-08:00 Victor Orlikowski : > On Jan 21, 2016, at 5:33 AM, David Gabriel wrote: > > > I am getting an error when I want to get the *vlan id* of packets. > In fact, I am using the following code I found here >

Re: [Ryu-devel] Error while getting vlan Id

2016-01-21 Thread Victor Orlikowski
On Jan 21, 2016, at 5:33 AM, David Gabriel mailto:[email protected]>> wrote: I am getting an error when I want to get the vlan id of packets. In fact, I am using the following code I found here pkt = packet.Packet(array.arr

[Ryu-devel] Error while getting vlan Id

2016-01-21 Thread David Gabriel
Dears, I am getting an error when I want to get the *vlan id* of packets. In fact, I am using the following code I found here pkt = packet.Packet(array.array('B', ev.msg.data)) for p in pkt: print p.protocol_name, p

Re: [Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-25 Thread Vishlesh Patel
Hi Yusuke, parser.OFPMatch(nw_src=struct. unpack("!I", socket.inet_aton('10.0.0.1'))[0]) That works!! Thanks a ton. I think as a community we should document that so that it can help others! Best Regards, Vishlesh Patel M.S. Computer Engineering NYU Polytechnic School of Engineering On Fri, Sep

Re: [Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-24 Thread Vishlesh Patel
Let me check and get back to you. Thanks! On Fri, Sep 25, 2015 at 1:05 AM, Yusuke Iwase wrote: > Hi, > > How about using this instead of addrconv module? > e.g.) parser.OFPMatch(nw_src=struct.unpack("!I", > socket.inet_aton('10.0.0.1'))[0]) > > Thanks, > Iwase > > On 2015年09月24日 15:38, Vishles

Re: [Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-24 Thread Yusuke Iwase
Hi, How about using this instead of addrconv module? e.g.) parser.OFPMatch(nw_src=struct.unpack("!I", socket.inet_aton('10.0.0.1'))[0]) Thanks, Iwase On 2015年09月24日 15:38, Vishlesh Patel wrote: > Hi, > > It is the same error i received last time without using addrconv method. > > Error: can

Re: [Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-23 Thread Vishlesh Patel
Hi, It is the same error i received last time without using addrconv method. Error: cannot convert argument to integer. hub: uncaught exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 52, in _launch func(*args, **kwargs) File

Re: [Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-23 Thread Yusuke Iwase
Hi, On 2015年09月24日 11:40, Vishlesh Patel wrote: > Hi Yusuke, > > Thanks for the reply. I tried it, still having same error. What error did you get? > > Code now looks like that: > > def add_layer4_rules(self, datapath, nw_proto, nw_dst, priority, fwd_port ): > print " I am in method a

Re: [Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-23 Thread Vishlesh Patel
Hi Yusuke, Thanks for the reply. I tried it, still having same error. Code now looks like that: def add_layer4_rules(self, datapath, nw_proto, nw_dst, priority, fwd_port ): print " I am in method add_layer4_rules " parser = datapath.ofproto_parser actions = [parser.OFPAct

Re: [Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-23 Thread Yusuke Iwase
Hi, On 2015年09月23日 14:41, Vishlesh Patel wrote: > Hi there, > > I am using RYU controller with flowvisor. As flowvisor do not support any > other version other than openflow v1. I am using openflow v1 in my project. > > I have topology of 3 ovs switches and controller sits in one of server >

[Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-22 Thread Vishlesh Patel
Hi there, I am using RYU controller with flowvisor. As flowvisor do not support any other version other than openflow v1. I am using openflow v1 in my project. I have topology of 3 ovs switches and controller sits in one of server conataining ovs bridge. Other two ovs bridge in other servers conn

Re: [Ryu-devel] error with app simple_switch_15.py

2015-09-15 Thread Yusuke Iwase
Is there any app in RYU how active the > flow-mod to do that? > > If that exists, I would appreciate if you attach me in the next mail. > > Regards, > Iol > >> Subject: Re: [Ryu-devel] error with app simple_switch_15.py >> To: [email protected] >> CC: ryu-d

Re: [Ryu-devel] error with app simple_switch_15.py

2015-09-15 Thread iol mancon
gards,Iol > Subject: Re: [Ryu-devel] error with app simple_switch_15.py > To: [email protected] > CC: [email protected] > From: [email protected] > Date: Tue, 15 Sep 2015 08:31:23 +0900 > > Hi Iol, > > I attached a sample code of simple_switch

Re: [Ryu-devel] error with app simple_switch_15.py

2015-09-14 Thread Yusuke Iwase
Hi Iol, I attached a sample code of simple_switch_15.py, but OVS does not fully support OpenFlow1.5, this code does not work enough. Certainly, Ryu can speak OpenFlow 1.5. On the other hand, OVS may be working with the OpenFlow 1.4 or earlier implementation. Thanks, Iwase On 2015年09月15日 03:45,

[Ryu-devel] error with app simple_switch_15.py

2015-09-14 Thread iol mancon
Hello. I have created a python file to test with OpenFlow 1.5. My file is like the simple_switch_14.py but I added the v15 parser and I change the version in the app. I create the topology, enable the switch to can support OpenFlow 1.5 and then I open the application simple_switch_15.py. It come

Re: [Ryu-devel] Error during installation through setup.py script

2015-08-03 Thread Oleg Sadov
For Linux distributions using of package repositories may be more simple way -- all dependences will be installed automagically. If you have any of RHEL flavours (CentOS, Scientific Linux/NauLinux, Oracle Linux, etc.) you may try to use our RPM packages: http://sdn.ifmo.ru/Members/sadov/ryu/testin

Re: [Ryu-devel] Error during installation through setup.py script

2015-08-02 Thread FUJITA Tomonori
On Sat, 1 Aug 2015 07:49:08 + (UTC) Saurabh Jain wrote: > I have tried setup.py script to install Ryu Controller, but it seems > that some packages should be installed before using this script.May > be Ryu can install dependencies through script. Unfortunately, that's Python limit. Python ca

[Ryu-devel] Error during installation through setup.py script

2015-08-01 Thread Saurabh Jain
Hi, I have tried setup.py script to install Ryu Controller, but it seems that some packages should be installed before using this script.May be Ryu can install dependencies through script. Thanks,Saurabh Jain -- _

Re: [Ryu-devel] Error starting OFAgent

2015-07-22 Thread fumihiko kakuma
I retransmit an E-mail. Sorry if you receive multiple e-mail. Hi Maite, neutron agent also needs to be installed on compute node. Please refer to openstack documentation about installation of openstack. You can see it from the following url. the case installing on ubuntu: http://docs.openstack.

[Ryu-devel] Error starting OFAgent

2015-07-15 Thread Maite Furundarena
Hello, I'm trying to install Ryu in OpenStack Juno using OFAgent agent following the next: https://github.com/osrg/ryu/wiki/Configuration-OpenStack-OFAgent-agent I'm having problems to start the agent because the python code gives me errors. I don't have /opt/stack/neutron directory on my Compute

Re: [Ryu-devel] Error in running application

2015-07-14 Thread 俊 赵
I think you need pip install six Zhao Jun Date: Tue, 14 Jul 2015 17:11:13 +0800 From: [email protected] To: [email protected] CC: [email protected] Subject: [Ryu-devel] Error in running application Hi, After writing an application, when I am trying to run it using %ryu

[Ryu-devel] Error in running application

2015-07-14 Thread Gautam Pathak
Hi, After writing an application, when I am trying to run it using %ryu-manager it gives the following errors: Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 5, in from pkg_resources import load_entry_point File "/usr/lib/python2.7/dist-packages/pkg_resources

Re: [Ryu-devel] Error in running simple_switch_13

2015-07-08 Thread Yi Tseng
Hi You should change the version of OpenFlow which in your switch to 1.3 For example(mininet) sudo mn --controller=remote,ip=[controller ip] --switch=ovsk,protocols=OpenFlow13 -- Takeshi 2015-07-08 17:16 GMT+08:00 Gautam Pathak : > Hi, > > I have first run my topology with simple_switch.py. I

[Ryu-devel] Error in running simple_switch_13

2015-07-08 Thread Gautam Pathak
Hi, I have first run my topology with simple_switch.py. It is working fine. But when I run the simple_switch_13.py it is showing following errors: mininet@mininet-VirtualBox:~/ryu$ sudo PYTHONPATH=. ./bin/ryu-manager --verbose ryu/app/simple_switch_13.py loading app ryu/app/simple_switch_13.py l

Re: [Ryu-devel] Error in running Ryu

2015-07-07 Thread Gautam Pathak
Giving the root privilege it is working fine. Best regards, Goutam On Tue, Jul 7, 2015 at 7:45 PM, Gautam Pathak wrote: > Dear Minoru, > > After installing "pip install oslo.confi" It is still showing the same > error. > > > Best regards, > Goutam > > On Tue, Jul 7, 2015 at 3:13 PM, Minoru TA

Re: [Ryu-devel] Error in running Ryu

2015-07-07 Thread Gautam Pathak
Dear Minoru, After installing "pip install oslo.confi" It is still showing the same error. Best regards, Goutam On Tue, Jul 7, 2015 at 3:13 PM, Minoru TAKAHASHI < [email protected]> wrote: > Hi, > > On 2015年07月07日 16:08, Gautam Pathak wrote: > > Hi, > > > > I am getting the following

Re: [Ryu-devel] Error in running Ryu

2015-07-07 Thread Minoru TAKAHASHI
Hi, On 2015年07月07日 16:08, Gautam Pathak wrote: > Hi, > > I am getting the following errors: > > mininet@mininet-VirtualBox:~/ryu$ PYTHONPATH=. ./bin/ryu-manager > ryu/app/simple_switch.py > Traceback (most recent call last): > File "./bin/ryu-manager", line 18, in > from ryu.cmd.manager

[Ryu-devel] Error in running Ryu

2015-07-07 Thread Gautam Pathak
Hi, I am getting the following errors: mininet@mininet-VirtualBox:~/ryu$ PYTHONPATH=. ./bin/ryu-manager ryu/app/simple_switch.py Traceback (most recent call last): File "./bin/ryu-manager", line 18, in from ryu.cmd.manager import main File "/home/mininet/ryu/ryu/cmd/manager.py", line 31,

Re: [Ryu-devel] Error with Switch.py

2015-06-21 Thread emafermon
YAMAMOTO Takashi writes: > > i guess you edited a wrong copy of the module. > please check your python module loading path. > > YAMAMOTO Takashi > > > Hi Yamamoto, > > > > Thank you, yes it works now but when I edited in the original file, I couldn't see the print statement that I > have added

Re: [Ryu-devel] error while running test

2015-05-12 Thread Yusuke Iwase
Hi Naresh, On 2015年05月12日 18:31, Naresh Kumar wrote: > Hi, > I am getting the following error when I run the test in xterm c0. > > Traceback (most recent call last): > File "/usr/local/bin/ryu-manager", line 5, in > from pkg_resources import load_entry_point > File "/usr/lib/python2.7/di

[Ryu-devel] error while running test

2015-05-12 Thread Naresh Kumar
Hi, I am getting the following error when I run the test in xterm c0. Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 5, in from pkg_resources import load_entry_point File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in working_set = Work

Re: [Ryu-devel] Error in api.py under ryu/ryu/topology/api.py

2015-04-15 Thread Ruchika Luthra
Thank you Minoru. I got your point and it worked well. Is there any way to know which ports of the switch are connected to other switches and which ports to the hosts? Thank you On Wed, Apr 15, 2015 at 4:09 AM, Minoru TAKAHASHI < [email protected]> wrote: > Hi, > > On 2015年04月14日 17:1

Re: [Ryu-devel] Error in api.py under ryu/ryu/topology/api.py

2015-04-14 Thread Minoru TAKAHASHI
Hi, On 2015年04月14日 17:10, Ruchika Luthra wrote: > Hello, > > For the python code api.py present under ryu/ryu/topology api.py, when I > tried to do > > python api.py > > it gives the following error > Inline image 1 > > I have not done any changes in the code so far. Can anyone help me find o

  1   2   >