Re: [Ryu-devel] l2_multi and stp

2013-10-29 Thread Vasiliy Tolstov
2013/10/29 FUJITA Tomonori : > Unfortunately, not. =(. Last question - i see many arp flood when using controller because some one sometimes scan my /22 network. What is the best way to resolve this? I can't see in google linux behavior. May be best of all cache for some time negative responses?

[Ryu-devel] [PATCH 2/4] packet_data_generator: add cases to use all oxm types

2013-10-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/packet_data_generator/src/x3.erl | 191 +++- ryu/tests/packet_data_generator/src/x4.erl | 195 - 2 files changed, 384 insertions(+), 2 deletions(-) diff --git a/ryu/tests/packet_data_generator/src/x

[Ryu-devel] [PATCH 4/4] test_parser: expected json representations for new test cases

2013-10-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- .../json/of12/3-59-ofp_packet_in.packet.json | 262 ++ .../json/of12/3-60-ofp_flow_mod.packet.json| 269 +++ .../json/of13/4-59-ofp_packet_in.packet.json | 291 .../json/of13/4-60-ofp_flow

[Ryu-devel] [PATCH 1/4] packet_data_generator: update of_protocol

2013-10-29 Thread YAMAMOTO Takashi
for ipv6_flabel and mpls_label. (https://github.com/FlowForwarding/of_protocol/pull/57) Signed-off-by: YAMAMOTO Takashi --- ryu/tests/packet_data_generator/rebar.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ryu/tests/packet_data_generator/rebar.config b/ryu/tests

[Ryu-devel] [PATCH 0/4] more oxm tests

2013-10-29 Thread YAMAMOTO Takashi
parse and serialize every openflow_basic oxm types. YAMAMOTO Takashi (4): packet_data_generator: update of_protocol packet_data_generator: add cases to use all oxm types packet_data: regen test_parser: expected json representations for new test cases .../packet_data/of12/3-59-ofp_packet_

[Ryu-devel] [PATCH 3/4] packet_data: regen

2013-10-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/packet_data/of12/3-59-ofp_packet_in.packet | Bin 0 -> 314 bytes ryu/tests/packet_data/of12/3-60-ofp_flow_mod.packet | Bin 0 -> 344 bytes ryu/tests/packet_data/of13/4-59-ofp_packet_in.packet | Bin 0 -> 354 bytes ryu/tests/packet_data/of13/4-60-ofp_

Re: [Ryu-devel] [PATCH v2] ofproto_v1_3_parser: correct variable name same as spec

2013-10-29 Thread watanabe.fumitaka
> Hmm, I still can't apply cleanly. I think, the cause is the following. - 4-50-ofp_meter_stats_reply.packet.json contained an unnecessary space. - Mailer(I use Thunderbird) automatically deletes space of an end. So, can you use the attached file as the patch? It was applied in my environment.

[Ryu-devel] [PATCH v2] Decoration Based PacketIn Filter

2013-10-29 Thread Satoshi Kobayashi
It is noisy when packets goes into a handler of EventOFPPacketIn indiscriminately. Then, we introduce API which filters a packet. API is decorator and a filtering algorithem is pluggable. Signed-off-by: Satoshi Kobayashi --- Change for v2: - rename ryu/lib/ofp_pktinfilter.py

Re: [Ryu-devel] [PATCH] Decoration Based PacketIn Filter

2013-10-29 Thread Satoshi Kobayashi
2013/10/29 FUJITA Tomonori > On Tue, 29 Oct 2013 16:52:26 +0900 > Satoshi Kobayashi wrote: > > > It is noisy when a packet goes into a handler of EventOFPPacketIn > indiscriminately. Then, we introduce API which filters a packet. API is > decorator and a filtering algorithem is pluggable. > > >

Re: [Ryu-devel] {PATCH] switches.py: Link discovery support for OF1.3

2013-10-29 Thread Raphael Vicente Rosa
Sorry about it, I'm sending it attached, may I? I've tested it on gmail, and it corrupts the code. Do you suggest git send-mail? switches_patch Description: Binary data -- Android is increasing in popularity, but the open

Re: [Ryu-devel] Got error in running l2_switch_v1_3.py

2013-10-29 Thread FUJITA Tomonori
On Mon, 28 Oct 2013 22:35:36 -0500 Gandhimathi Velusamy wrote: > Hi, > I did git pull and in the beginning it worked well. But after some time the > controller output shows the following error message but the forwarding of > packets is continued. > pc-4:~/ryu/bin% sudo ryu-manager l2_switch_v1_3.

Re: [Ryu-devel] {PATCH] switches.py: Link discovery support for OF1.3

2013-10-29 Thread FUJITA Tomonori
On Tue, 29 Oct 2013 09:52:23 -0200 Raphael Vicente Rosa wrote: > {PATCH] switches.py: Openflow 1.3 support > > Signed-off-by: Raphael Vicente Rosa Thanks so much. However, the patch is malformed so I can't apply. likely your mailer corrupted the patch. Please check. --

Re: [Ryu-devel] [PATCH] Decoration Based PacketIn Filter

2013-10-29 Thread FUJITA Tomonori
On Tue, 29 Oct 2013 16:52:26 +0900 Satoshi Kobayashi wrote: > It is noisy when a packet goes into a handler of EventOFPPacketIn > indiscriminately. Then, we introduce API which filters a packet. API is > decorator and a filtering algorithem is pluggable. > > Signed-off-by: Satoshi Kobayashi >

Re: [Ryu-devel] l2_multi and stp

2013-10-29 Thread FUJITA Tomonori
On Tue, 29 Oct 2013 12:50:33 +0400 Vasiliy Tolstov wrote: > Hi All. I'm try to understand how l2_multi > (https://github.com/noxrepo/pox/blob/betta/pox/forwarding/l2_multi.py) > works and have a question - does ryu have similar ability to calc > shortest path and get loop free topology in mesh n

Re: [Ryu-devel] [PATCH v3 0/2] packet lib: support Q-in-Q and PBB

2013-10-29 Thread FUJITA Tomonori
On Tue, 29 Oct 2013 11:27:32 +0900 Yuichi Ito wrote: > Changes v2 -> v3: > > - correct a typo > > > Yuichi Ito (2): > packet lib: vlan: support Q-in-Q (IEEE 802.1ad) > packet lib: support Provider Backbone Bridges (PBB, IEEE 802.1ah) > > doc/source/library_packet_ref.rst |3 + > ryu

Re: [Ryu-devel] [PATCH v2] ofproto_v1_3_parser: correct variable name same as spec

2013-10-29 Thread FUJITA Tomonori
On Tue, 29 Oct 2013 11:09:40 +0900 "watanabe.fumitaka" wrote: > v1 -> v2 > rebase: patch against the latest git > > > Signed-off-by: WATANABE Fumitaka > --- > ryu/ofproto/ofproto_v1_3_parser.py|9 > + > .../ofproto/json/of13/4-50-ofp_meter_stats_reply

Re: [Ryu-devel] [PATCH] rest_router: bug fix of match parameter

2013-10-29 Thread FUJITA Tomonori
On Tue, 29 Oct 2013 14:12:58 +0900 "watanabe.fumitaka" wrote: > It was regarded as the list because of the unnecessary comma. > > > Signed-off-by: WATANABE Fumitaka > --- > ryu/app/rest_router.py |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied. ---

Re: [Ryu-devel] rest_router.py mac-address

2013-10-29 Thread FUJITA Tomonori
On Tue, 29 Oct 2013 11:24:43 +0900 "watanabe.fumitaka" wrote: > Hi, yamamoto. > > Is correction below correct with the new API? > If satisfactory now, I will try test. > > > --- a/ryu/app/rest_router.py > +++ b/ryu/app/rest_router.py > @@ -1764,13 +1764,9 @@ class OfCtl_v1_2(OfCtl): >

Re: [Ryu-devel] [PATCH 0/2] packet lib: sctp: change the timing of the auto calculation

2013-10-29 Thread FUJITA Tomonori
On Tue, 29 Oct 2013 18:50:26 +0900 Yuichi Ito wrote: > Yuichi Ito (2): > packet lib: sctp: remove the past 'TODO' comments > packet lib: sctp: change the timing of the auto calculation > > ryu/lib/packet/sctp.py |7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) Applied. --

[Ryu-devel] {PATCH] switches.py: Link discovery support for OF1.3

2013-10-29 Thread Raphael Vicente Rosa
{PATCH] switches.py: Openflow 1.3 support Signed-off-by: Raphael Vicente Rosa --- switches_old.py 2013-10-23 10:01:27.036248398 -0200 +++ switches.py 2013-10-29 09:33:44.340248878 -0200 @@ -25,9 +25,10 @@ from ryu.controller import ofp_event from ryu.controller.handler import set_ev_cls from r

[Ryu-devel] [PATCH 2/2] packet lib: sctp: change the timing of the auto calculation

2013-10-29 Thread Yuichi Ito
As well as 'length', calculate 'num' automatically at 'serialize()'. Signed-off-by: Yuichi Ito --- ryu/lib/packet/sctp.py |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ryu/lib/packet/sctp.py b/ryu/lib/packet/sctp.py index 89b57a0..6ecefd0 100644 --- a/ryu/lib/packe

[Ryu-devel] [PATCH 0/2] packet lib: sctp: change the timing of the auto calculation

2013-10-29 Thread Yuichi Ito
Yuichi Ito (2): packet lib: sctp: remove the past 'TODO' comments packet lib: sctp: change the timing of the auto calculation ryu/lib/packet/sctp.py |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) -- 1.7.10.4

[Ryu-devel] [PATCH 1/2] packet lib: sctp: remove the past 'TODO' comments

2013-10-29 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/lib/packet/sctp.py |2 -- 1 file changed, 2 deletions(-) diff --git a/ryu/lib/packet/sctp.py b/ryu/lib/packet/sctp.py index f44f4da..89b57a0 100644 --- a/ryu/lib/packet/sctp.py +++ b/ryu/lib/packet/sctp.py @@ -760,7 +760,6 @@ class chunk_abort(chunk): =

Re: [Ryu-devel] rest_router.py mac-address

2013-10-29 Thread wataru yamamoto
I tried the following patche. It checked working correctly also OpenFlow1.0 switch. Thank you. >It was regarded as the list because of the unnecessary comma. > > >Signed-off-by: WATANABE Fumitaka >--- > ryu/app/rest_router.py |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

[Ryu-devel] l2_multi and stp

2013-10-29 Thread Vasiliy Tolstov
Hi All. I'm try to understand how l2_multi (https://github.com/noxrepo/pox/blob/betta/pox/forwarding/l2_multi.py) works and have a question - does ryu have similar ability to calc shortest path and get loop free topology in mesh network like: gw1 gw2 /\ /

[Ryu-devel] [PATCH] ofproto_parser: dump packets if error is encountered during parse

2013-10-29 Thread FUJITA Tomonori
>From d7b99ac12d8d48ea8f67666ec184061fbdbff9ac Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Tue, 29 Oct 2013 18:00:16 +0900 Subject: [PATCH] ofproto_parser: dump packets if error is encountered during parse Signed-off-by: Isaku Yamahata Signed-off-by: FUJITA Tomonori --- ryu/ofproto/of

[Ryu-devel] [PATCH] Decoration Based PacketIn Filter

2013-10-29 Thread Satoshi Kobayashi
It is noisy when a packet goes into a handler of EventOFPPacketIn indiscriminately. Then, we introduce API which filters a packet. API is decorator and a filtering algorithem is pluggable. Signed-off-by: Satoshi Kobayashi --- ryu/lib/pktinfilter.py | 57 ++ ry