Re: [Ryu-devel] Problens with ports and packates

2016-02-18 Thread Henrique Santos Fernandes
Hi, I'm not sure if i can, the thing is I am using mininet + ryu + snort on diferents virtual machines. When I'm done with this tests I might look to use OVS, but i remember having some problem with it.. Thanks anyway! Em sex, 19 de fev de 2016 às 00:41, Yusuke Iwase escreveu: > Hi, > > If it

Re: [Ryu-devel] Problens with ports and packates

2016-02-18 Thread Yusuke Iwase
Hi, If it is the restriction of Linux kernel, how about using OVS instead? With OVS, you can add the port mirroring more flexibly, I think. Thanks, Iwase On 2016年02月19日 07:14, Henrique Santos Fernandes wrote: > Just an update. > > I guess it was an update in kernel. ( although i could not fin

Re: [Ryu-devel] [PATCH] simple_switch: Separate simple_switch for beginners

2016-02-18 Thread Yusuke Iwase
Hi Fujita-San, On 2016年02月18日 13:37, FUJITA Tomonori wrote: > On Fri, 12 Feb 2016 15:39:50 +0900 > IWASE Yusuke wrote: > >> simple_switch_* apps have conflicting two faces of its purpose. >> One is the example apps for beginners, the other is the utility >> apps for the L2 switching in the user

Re: [Ryu-devel] Need help for Traffic Monitor example

2016-02-18 Thread Minoru TAKAHASHI
Hi, Please don't drop the mailing list. > There is an error in my code. It works fine. Thanks. OK, I'm glad to hear that. thanks, On 2016年02月19日 10:50, yu hsiang Huang wrote: > Hi Minoru, > > There is an error in my code. It works fine. Thanks. > > * > * > */Best Regards,/* > */ > /* > *

[Ryu-devel] [PATCH] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-18 Thread Victor Orlikowski
After more discussion with Iwamoto-San, cut things down to 2 semaphores. In doing so, it was discovered that PriorityQueues *don't* maintain FIFO ordering by default. In order to achieve FIFO ordering, a counter has to be used, per: https://docs.python.org/2/library/heapq.html#priority-queue-impl

Re: [Ryu-devel] Problens with ports and packates

2016-02-18 Thread Henrique Santos Fernandes
Just an update. I guess it was an update in kernel. ( although i could not find the commit. ) I am now using my lts kernel from archlinux and the command runned fine Thanks Em qui, 18 de fev de 2016 às 17:47, Henrique Santos Fernandes < [email protected]> escreveu: > Hello, > > There is anyot

Re: [Ryu-devel] [PATCH] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-18 Thread Victor Orlikowski
On Feb 18, 2016, at 2:27 PM, Victor Orlikowski wrote: > > That having been said - if we're not getting events of the same priority in > FIFO order due to the PriorityQueue - that's may not be a good thing. I will > consider it further. Trying again - seems Python's heapq documentation has cons

Re: [Ryu-devel] Problens with ports and packates

2016-02-18 Thread Henrique Santos Fernandes
Hello, There is anyother alternatve to this? I mean, now for somereason I get an error while trying to do this: # brctl setageing rede_snort1 0 set ageing time failed: Numerical result out of range It only works when the number is 10 or above. I looked for new code to see if there is any change

Re: [Ryu-devel] [PATCH] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-18 Thread Victor Orlikowski
On Feb 18, 2016, at 1:46 PM, Victor J. Orlikowski wrote: > > 1) Cut the number of semaphores to 2 (PacketIns and "everything else"). This isn't going to work. I tried moving to a single priority queue and 2 semaphores (PacketIns, and "everything else") in our lab environment. I *immediately*

Re: [Ryu-devel] [PATCH] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-18 Thread Victor Orlikowski
On Feb 17, 2016, at 11:16 PM, IWAMOTO Toshihiro wrote: > I think the code is mostly okay now. > Well - that's a start. ;) >> +self.events = hub.PriorityQueue(96) >> +self._event_get_timeout = 5 >> +# The sum of the following semaphores must equal the number of >> +

[Ryu-devel] Match transmit "files" in Ryu

2016-02-18 Thread Gavin Chan
Dear Sir/Madam, Is anyone have any idea about If I want to use Ryu to match transmit "files" in openvswitch when host are sent out, how can I do? And after this "match", I want to do some "action" like add another flow entries (rule) in switch. P.S. More detail about this question is I don't kno

Re: [Ryu-devel] Need help for Traffic Monitor example

2016-02-18 Thread Minoru TAKAHASHI
Hi, > buf += struct.pack(fmt, *args) > > error: ubyte format requires 0 <= number <= 255 I think you don't need upgrade the python version. Because above error appears when you input invalid arg to struct.pack. Example is as follows. $ python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [