Hi,
On 2015??04??14?? 15:39, ?? wrote:
> Hi,
> The code is in the attachment,it is the same as Ryu book.And I operate
> as it said.
Cause of the error is incorrect of Ryu-BOOK.
Please correct the source as follows.
url = '/v1/simpleswitch/mactable/{dpid}' ->
url = '/simpleswitch/mactab
Hi Govind,
I think your app needs some modification.
1. The method name "_packet_in_handler" is duplicated.
If you need to add another method for Packet-In,
Please change the method name.
2. Import module of "tcp" packet lib is missing.
+ from ryu.lib.packet import tcp
3. If the proce
Hi Ishii-san,
Thank you so much!
2015-04-14 13:28 GMT+09:00 Hisaharu Ishii :
> Hi KOBAYASHI-san,
>
> Let me share the attached script I'm using to generate markdown text.
> The usage of this script is like:
>
> $ ryu run ryu/tests/switch/tester.py --test-switch-dir ryu/tests/switch
> --log-file
Hi,
On 2015年04月13日 11:51, 水墨画 wrote:
> Hi,
> Thank you for your reply!I run as you say,but the result is still 404
> error.I consider whether the reason is about version.
> mininet:2.1.1(ryubook:2.0.0)
> ryu:3.11(ryubook:3.2)
> OpenFlow:2.1.1(ryubook:1.11.0)
It worked fine on older versions
Hi KOBAYASHI-san,
Let me share the attached script I'm using to generate markdown text.
The usage of this script is like:
$ ryu run ryu/tests/switch/tester.py --test-switch-dir ryu/tests/switch
--log-file result.txt
$ cat result.txt | python markdown.py > result.md
This script contains so man
Signed-off-by: Satoshi Kobayashi
---
ryu/tests/unit/lib/test_rpc.py | 3 ++-
ryu/tests/unit/packet/test_packet.py | 10 ++
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/ryu/tests/unit/lib/test_rpc.py b/ryu/tests/unit/lib/test_rpc.py
index d56ef84..405fbbc 100644
--
Signed-off-by: Satoshi Kobayashi
---
ryu/tests/unit/lib/test_stringify.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/ryu/tests/unit/lib/test_stringify.py
b/ryu/tests/unit/lib/test_stringify.py
index 4b47fd2..da78414 100644
--- a/ryu/tests/unit/lib/test_stringify.py
Signed-off-by: Satoshi Kobayashi
---
ryu/app/wsgi.py| 12 +-
ryu/contrib/_eventlet/__init__.py | 0
ryu/contrib/_eventlet/websocket.py | 656 -
ryu/lib/hub.py | 2 +-
tools/pip-requires | 2 +-
5 f
Signed-off-by: Satoshi Kobayashi
---
ryu/lib/packet/bgp.py | 7 +++
ryu/lib/packet/ospf.py | 7 +++
2 files changed, 14 insertions(+)
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
index 84de1e1..0314748 100644
--- a/ryu/lib/packet/bgp.py
+++ b/ryu/lib/packet/bgp.py
@@ -29,6
However I have action:
match = parser.OFPMatch(in_port=in_port,eth_type=ether.ETH_TYPE_IP)
Actions = [parser.OFPActionPushPbb(ether.ETH_TYPE_8021AH),
parser.OFPActionOutput(out_port)]
What's causing that error?
Thanks.
On Tue, Apr 14, 2015 at 12:16 AM, Minoru TAKAHASHI <
takahashi.mino...@gmail
Signed-off-by: Satoshi Kobayashi
---
ryu/tests/unit/cmd/test_manager.py | 7 +++
ryu/tests/unit/ofproto/test_ofproto.py | 7 +++
2 files changed, 14 insertions(+)
diff --git a/ryu/tests/unit/cmd/test_manager.py
b/ryu/tests/unit/cmd/test_manager.py
index 84c67c2..0f8fb62 100644
--- a
Signed-off-by: Satoshi Kobayashi
---
ryu/tests/unit/ofproto/test_parser_ofpmatch.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ryu/tests/unit/ofproto/test_parser_ofpmatch.py
b/ryu/tests/unit/ofproto/test_parser_ofpmatch.py
index 8400e1b..2436b93 100644
--- a/ryu/test
Signed-off-by: Satoshi Kobayashi
---
ryu/lib/packet/vrrp.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ryu/lib/packet/vrrp.py b/ryu/lib/packet/vrrp.py
index cca5690..699efa0 100644
--- a/ryu/lib/packet/vrrp.py
+++ b/ryu/lib/packet/vrrp.py
@@ -275,12 +275,12 @@ class v
Signed-off-by: Satoshi Kobayashi
---
ryu/tests/unit/lib/test_addrconv.py | 20 ++--
ryu/tests/unit/lib/test_mac.py | 2 +-
ryu/tests/unit/ofproto/test_oxm.py | 4 ++--
3 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/ryu/tests/unit/lib/test_addrconv.py
b/r
Signed-off-by: Satoshi Kobayashi
---
ryu/lib/type_desc.py | 2 +-
ryu/ofproto/nx_actions.py| 4 ++--
ryu/ofproto/oxm_fields.py| 2 +-
ryu/tests/unit/packet/test_icmpv6.py | 28 ++--
4 files changed, 18 insertions(+), 18 deletions(
Hi,
Please don't drop mailing list.
On 2015年04月14日 12:45, Vishlesh Patel wrote:
> Thank you very much for the reply. It helped me to get rid of Ofperrormsg
> code =9 and type -4. Unfortunately, I am finding hard for "A.4.4 Error
> Message" of "OpenFlow specification 1.3.4". But didn't able to.
hi,
> On Fri, 10 Apr 2015 17:36:57 +0900
> YAMAMOTO Takashi wrote:
>
>> Necessary for neutron functional tests so that a test won't
>> interfere the next test in a run.
>>
>> Signed-off-by: YAMAMOTO Takashi
>> ---
>> ryu/base/app_manager.py | 9 -
>> 1 file changed, 8 insertions(+), 1
Hello,
I am making a ryu app which has actions such as push pbb and pop pbb.
OpenFlow v1.3 does not supoort that actions so I upgraded the ovs to
version 2.3.1 which supports Openflow v1.4 and also upgraded mininet to
2.2.1. However, still I am getting OFPErrorMsg code=0, type=2 while doing
push
Hi,
> Do any one knows what does that mean by code 9 and type 4 openflow error?
They means the following.
OFPET_BAD_MATCH = 4, /* Error in match. */
OFPBMC_BAD_PREREQ = 9, /* A prerequisite was not met. */
You should check "Table 12: Header match fields details" in "OpenFlow
specification 1.
Hi Vardhan,
Please keep the mailing list.
Ryu-devel
> but it still doesn't use the dpid which I configured.
From the log, it seems 4 switches are in your topology as following.
[STP][INFO] dpid=0004: Join as stp bridge.
[STP][INFO] dpid=0003: Join as stp bridge.
[STP]
Hello,
I am making a ryu app which has actions such as push pbb and pop pbb.
OpenFlow v1.3 does not supoort that actions so I upgraded the ovs to
version 2.3.1 which supports Openflow v1.4 and also upgraded mininet to
2.2.1. However, still I am getting OFPErrorMsg code=9, type=4 while doing
push
2015-04-14 5:43 GMT+09:00 FUJITA Tomonori :
> Applied #1, 3, 4, 5, and 6 patches.
>
> #2 is for contiributed code as Yamamoto pointed out.
> #7 breaks the unittests?
>
Sorry for the trouble. I'll rewrite the two patches.
>
> Thanks!
>
> On Mon, 13 Apr 2015 16:32:04 +0900
> Satoshi Kobayashi wr
Hi,
On 2015年04月13日 17:17, 秋月岳彦 wrote:
> Hello everyone.
> I'm very new to ryu BMP server.
>
> I'm trying to start BMP server on CentOS7 running on VMware,but always stuck
> below.
>
> root@377709a2c093:~# ryu run --verbose ./ryu-master/ryu/app/bmpstation
> loading app ./ryu-master/ryu/app/bmpst
Hi Yusuke,
Please let me know if you need any more information on this to achieve the
desired result.
Thanks a lot for your esteemed support !!!
Regards,
Govind Prasad
On Mon, Apr 13, 2015 at 1:56 PM, Govind Prasad
wrote:
> Hi Yusuke,
>
> The following is my openflow version:
>
> govind@govin
Applied #1, 3, 4, 5, and 6 patches.
#2 is for contiributed code as Yamamoto pointed out.
#7 breaks the unittests?
Thanks!
On Mon, 13 Apr 2015 16:32:04 +0900
Satoshi Kobayashi wrote:
> ---
> ryu/lib/packet/packet.py | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/ryu/lib/packet/p
Applied all the patches, thanks a lot!
On Fri, 10 Apr 2015 15:43:39 +0900
Satoshi Kobayashi wrote:
> I don't know what it is not a really a string but use '%' for safety.
> ---
> ryu/app/simple_switch_snort.py | 4 +--
> ryu/cmd/of_config_cli.py | 22 +
On Thu, 9 Apr 2015 14:12:59 +0900
YAMAMOTO Takashi wrote:
> Some of ofputil_encode_xxx functions does not fill in
> the correct value for the length field in the ofp header.
> Fix it up before writing out the message to a file.
>
> NOTE: For Open vSwitch, ofconn_send() fixes it up before
> send
On Fri, 10 Apr 2015 17:36:57 +0900
YAMAMOTO Takashi wrote:
> Necessary for neutron functional tests so that a test won't
> interfere the next test in a run.
>
> Signed-off-by: YAMAMOTO Takashi
> ---
> ryu/base/app_manager.py | 9 -
> 1 file changed, 8 insertions(+), 1 deletion(-)
Appl
On Thu, 09 Apr 2015 15:41:08 +0900
Yusuke Iwase wrote:
> Hi,
>
> How about the following?
>
> [PATCH] Avoid invalid dpid and simplify the checking of ofctl version
>
> Would you mind changing the title of the mail and reposting your patch?
I've applied the patch with the changed name. Thanks
On Mon, 13 Apr 2015 19:20:59 +0800
Yi Tseng wrote:
> Hi
>
> I wrote DNS packet parser, but I don't know how to test it.
>
> I would appreciate it if someone can help me to test it.
>
> https://github.com/TakeshiTseng/ryu/blob/dns/ryu/lib/packet/dns.py
https://github.com/osrg/ryu/commit/3736b0
Hi Yusuke,
The following is my openflow version:
govind@govind-RYU-virtual-machine:~/ryu$ ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 2.0.2
Compiled Aug 15 2014 14:31:03
OpenFlow versions 0x1:0x1
when I run the controller script "simple_switch_scott.py" my edited file
(also attached herew
To use api, you can use like this.
https://github.com/TakeshiTseng/SDN-Work/blob/master/GetSwitches/GetSwitches.py
Or you can just use rest_topology
https://github.com/osrg/ryu/blob/master/ryu/app/rest_topology.py
if you want to use restful api to get all switches/links
2015-04-13 19:33 GMT+0
Could you write a sample code which uses OF1.5 tcp_flags ryu in any application?
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process
hi,
Thank you for replying.
The problem is that whenever I try to run api.py using the following
command, it starts and stops on its own in a minute
sudo ./bin/ryu-manager ryu/topology/api.py
How to make use of this script? Is any other script calling this one?
On Mon, Apr 13, 2015 at 12:57 PM
Hi
I wrote DNS packet parser, but I don't know how to test it.
I would appreciate it if someone can help me to test it.
https://github.com/TakeshiTseng/ryu/blob/dns/ryu/lib/packet/dns.py
Yi
2015-04-13 16:08 GMT+08:00 Matthew Hayes :
> Thank you to those who replied to my question re DNS pars
Hello YAMAMOTO,
I use instantiate method from AppManager to "install" an app (like apache
karaf)
you can see my code here(line 83):
https://github.com/TakeshiTseng/ryu/blob/dynamic_loader/ryu/cmd/ryu_dynamic_loader.py#L83
and I use instantiate method in line 106
Yi
2015-04-13 15:58 GMT+08:0
Hi
To get all switch and link information, you can use :
ryu/topology/api.py
To get all hosts, you need to record host information while controller
receive packet in message, for example:
https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py#L89
Yi
2015-04-13 18:32 GMT+08:00 R
Hello,
Is there any way app/script/module in Ryu controller using which we can
dump info about the switch and its ports, as in which what is connected at
which port?
My main aim is to know whether the host is directly connected to the switch
or reachable via other switch connected to this switch.
Hello everyone.
I'm very new to ryu BMP server.
I'm trying to start BMP server on CentOS7 running on VMware,but always
stuck below.
root@377709a2c093:~# ryu run --verbose ./ryu-master/ryu/app/bmpstation
loading app ./ryu-master/ryu/app/bmpstation
instantiating app ./ryu-master/ryu/app/bmpstation
Thank you to those who replied to my question re DNS parsing. I've since used
the dpkt library to do the DNS decode, and it is working fine.
FYI, this was for a Ryu app called nmeta that does policy-based traffic
classification, see:
http://mattjhayes.github.io/nmeta/
I have some observ
_CONTEXT is an old mechanism which we want to get rid of eventually.
can you be a little more specific about your requirements?
YAMAMOTO Takashi
> Hi
>
> I am working on dynamic application loader for ryu, base on ryu-manager.
>
> I tried App_manager.instantiate(app_class) and it works
>
> How
there are various places for OVS to drop packets. (are you using OVS?)
you might want to try "ovs-appctl bridge/dump-flows bridge-name"
to see n_bytes/n_packets for internal flows.
YAMAMOTO Takashi
> Hi,
>
> I am trying to develop inband mechanisms for fast reaction to failures
> and I am expe
Oops ... this patch breaks unittest.
2015-04-13 16:32 GMT+09:00 Satoshi Kobayashi :
> ---
> ryu/tests/unit/lib/test_rpc.py | 4
> ryu/tests/unit/packet/test_packet.py | 4
> 2 files changed, 8 insertions(+)
>
> diff --git a/ryu/tests/unit/lib/test_rpc.py
> b/ryu/tests/unit/lib/te
2015-04-13 16:38 GMT+09:00 YAMAMOTO Takashi :
> contrib directory is not expected to have local changes like this.
>
> probably this version of websocket.py is not necessary
> with the latest version of eventlet.
>
Indeed. Probably websocket.py may be removed.
>
> YAMAMOTO Takashi
>
> > ---
> >
contrib directory is not expected to have local changes like this.
probably this version of websocket.py is not necessary
with the latest version of eventlet.
YAMAMOTO Takashi
> ---
> ryu/contrib/_eventlet/websocket.py | 8
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --
---
ryu/tests/unit/ofproto/test_parser_ofpmatch.py | 7 +++
1 file changed, 7 insertions(+)
diff --git a/ryu/tests/unit/ofproto/test_parser_ofpmatch.py
b/ryu/tests/unit/ofproto/test_parser_ofpmatch.py
index d801f8a..8400e1b 100644
--- a/ryu/tests/unit/ofproto/test_parser_ofpmatch.py
+++ b/ry
---
ryu/lib/packet/packet.py | 4
1 file changed, 4 insertions(+)
diff --git a/ryu/lib/packet/packet.py b/ryu/lib/packet/packet.py
index 2042dd7..e25db3d 100644
--- a/ryu/lib/packet/packet.py
+++ b/ryu/lib/packet/packet.py
@@ -109,6 +109,9 @@ class Packet(object):
self.add_protocol(
---
ryu/contrib/_eventlet/websocket.py | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ryu/contrib/_eventlet/websocket.py
b/ryu/contrib/_eventlet/websocket.py
index 4a07c8d..b18df66 100644
--- a/ryu/contrib/_eventlet/websocket.py
+++ b/ryu/contrib/_eventlet/websocket.p
---
ryu/log.py | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ryu/log.py b/ryu/log.py
index de2b31c..d6abf5a 100644
--- a/ryu/log.py
+++ b/ryu/log.py
@@ -23,7 +23,11 @@ import logging.config
import logging.handlers
import os
import sys
-import ConfigParser
+
+try:
+
---
ryu/tests/unit/lib/test_rpc.py | 4
ryu/tests/unit/packet/test_packet.py | 4
2 files changed, 8 insertions(+)
diff --git a/ryu/tests/unit/lib/test_rpc.py b/ryu/tests/unit/lib/test_rpc.py
index d56ef84..8274f2f 100644
--- a/ryu/tests/unit/lib/test_rpc.py
+++ b/ryu/tests/unit/l
---
ryu/tests/unit/lib/test_rpc.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ryu/tests/unit/lib/test_rpc.py b/ryu/tests/unit/lib/test_rpc.py
index 2c43521..d56ef84 100644
--- a/ryu/tests/unit/lib/test_rpc.py
+++ b/ryu/tests/unit/lib/test_rpc.py
@@ -16,11 +16,11 @@
---
ryu/lib/mac.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ryu/lib/mac.py b/ryu/lib/mac.py
index d7ec7d9..cff244f 100644
--- a/ryu/lib/mac.py
+++ b/ryu/lib/mac.py
@@ -16,8 +16,6 @@
from ryu.lib import addrconv
-import itertools
-
# string representation
HADDR_
52 matches
Mail list logo