Re: [Ryu-devel] rest_router.py AssertionError

2013-11-07 Thread watanabe.fumitaka
Hmm, the cause which becomes an AssertionError by dpset.py is not known. If the value of MAX_SUSPENDPACKETS is made low, what will happen? https://github.com/osrg/ryu/blob/master/ryu/app/rest_router.py#L113 MAX_SUSPENDPACKETS controls the number of ARP transmission. thanks. On Thu, 07 Nov 20

Re: [Ryu-devel] [PATCH] solve application dependency via @set_ev_cls

2013-11-07 Thread Satoshi Kobayashi
2013/11/8 FUJITA Tomonori > On Fri, 8 Nov 2013 12:58:15 +0900 > Satoshi Kobayashi wrote: > > > 2013/11/8 FUJITA Tomonori > > > >> On Fri, 8 Nov 2013 11:06:13 +0900 > >> Satoshi Kobayashi wrote: > >> > >> >> -LOG.info('loading app %s', app_cls_name) > >> >> +while len(app_li

Re: [Ryu-devel] Loops in networks

2013-11-07 Thread watanabe.fumitaka
Hi, I have contributed the patch of stp to ryu before. http://sourceforge.net/mailarchive/message.php?msg_id=31438818 It may be helpful to you. However, it has not been merged into ryu yet. Thanks. On Wed, 06 Nov 2013 17:04:31 +0100 Aldas Dise wrote: > Hello, > > I have an OpenFlow network

Re: [Ryu-devel] [PATCH] solve application dependency via @set_ev_cls

2013-11-07 Thread FUJITA Tomonori
On Fri, 8 Nov 2013 12:58:15 +0900 Satoshi Kobayashi wrote: > 2013/11/8 FUJITA Tomonori > >> On Fri, 8 Nov 2013 11:06:13 +0900 >> Satoshi Kobayashi wrote: >> >> >> -LOG.info('loading app %s', app_cls_name) >> >> +while len(app_lists) > 0: >> >> +app_cls_name = ap

Re: [Ryu-devel] [PATCH] solve application dependency via @set_ev_cls

2013-11-07 Thread Satoshi Kobayashi
2013/11/8 FUJITA Tomonori > On Fri, 8 Nov 2013 11:06:13 +0900 > Satoshi Kobayashi wrote: > > >> -LOG.info('loading app %s', app_cls_name) > >> +while len(app_lists) > 0: > >> +app_cls_name = app_lists.pop(0) > >> > >> -# for now, only single instance o

Re: [Ryu-devel] [PATCH] solve application dependency via @set_ev_cls

2013-11-07 Thread FUJITA Tomonori
On Fri, 8 Nov 2013 11:06:13 +0900 Satoshi Kobayashi wrote: >> -LOG.info('loading app %s', app_cls_name) >> +while len(app_lists) > 0: >> +app_cls_name = app_lists.pop(0) >> >> -# for now, only single instance of a given module >> -# Do we ne

Re: [Ryu-devel] [PATCH] solve application dependency via @set_ev_cls

2013-11-07 Thread Satoshi Kobayashi
2013/11/8 FUJITA Tomonori > Currently, ryu always starts ofp application because ryu doesn't know > applications that an user specifies needs ofp application or not. So > you can't run two ryu instances even if one of them doesn't use ofp > application because two instances tries to listen the sa

Re: [Ryu-devel] [PATCH 00/10] packet lib: support default parameters

2013-11-07 Thread FUJITA Tomonori
On Wed, 06 Nov 2013 17:13:45 +0900 Yuichi Ito wrote: > Yuichi Ito (10): > packet lib: icmpv6: correct typos > packet lib: icmpv6: change the timing of bit shift > packet lib: icmpv6: move ND_OPTION_* constants from classes to the > module > packet lib: icmpv6: include type and length

Re: [Ryu-devel] [PATCH 0/1] ofctl_v1_3.py: Add get_desc_stats & get_port_stats from ofctl_v1_0.py.

2013-11-07 Thread FUJITA Tomonori
On Wed, 6 Nov 2013 15:01:34 +0800 Wei-Li Tang wrote: > ofctl_v1_3 lacks of get_desc_stats & get_port_stats methods which is available > in ofctl_v1_0. I copied the code from ofctl_v1_0 and it works fine. The only > change to get_port_stats in ofctl_v1_3 is using OFPP_ANY as argument to call > OF

Re: [Ryu-devel] [PATCH v2] lacplib: set the max priority to LACP flow entries

2013-11-07 Thread FUJITA Tomonori
On Thu, 07 Nov 2013 11:04:52 +0900 Yuichi Ito wrote: > Changes v1 -> v2: > > - correct the following expression > > > The measure against the default priority of OFPFlowMod of OFP1.2/1.3 being 0. > > Signed-off-by: Yuichi Ito > --- > ryu/lib/lacplib.py |8 +--- > 1 file changed, 5 i

[Ryu-devel] [PATCH] solve application dependency via @set_ev_cls

2013-11-07 Thread FUJITA Tomonori
Currently, ryu always starts ofp application because ryu doesn't know applications that an user specifies needs ofp application or not. So you can't run two ryu instances even if one of them doesn't use ofp application because two instances tries to listen the same port. The root problem is that t

[Ryu-devel] rest_router.py AssertionError

2013-11-07 Thread wataru yamamoto
I am using the newest rest_router.py. Usually, it has started correctly. However, if communication which raised bandwidh using the iperf command etc, rest_router.py may be downed as follows. At this time, I think that the ARP packet has overflowed in the network by the side of OpenFlowSwitch node