Re: [Ryu-devel] How to modify "switch_enter" event on the OVS and read it correctly using RYU

2017-01-13 Thread Garegin Grigoryan
Thank you. On Wed, Jan 11, 2017 at 7:49 PM, Iwase Yusuke wrote: > Hi, > > > On 2017年01月12日 03:39, Garegin Grigoryan wrote: > > No, the opposite. When switch connects to the controller, the controller > gets the event message with some information, including datapath ID.

Re: [Ryu-devel] How to modify "switch_enter" event on the OVS and read it correctly using RYU

2017-01-11 Thread Garegin Grigoryan
hanks. On Wed, Jan 11, 2017 at 1:34 PM, Garegin Grigoryan wrote: > > "some other parameters" mean parameters (modules, classes, static > definitions or else) > to send messages to switches, right? > > > No, the opposite. When switch connects to the control

Re: [Ryu-devel] How to modify "switch_enter" event on the OVS and read it correctly using RYU

2017-01-11 Thread Garegin Grigoryan
switch will say not only his datapath id but also its model name. So the question is how can I modify the event message structure. Thanks. On Tue, Jan 10, 2017 at 8:26 PM, Iwase Yusuke wrote: > Hi, > > > On 2017年01月08日 03:25, Garegin Grigoryan wrote: > > Good afternoon and Happ

[Ryu-devel] How to modify "switch_enter" event on the OVS and read it correctly using RYU

2017-01-07 Thread Garegin Grigoryan
oller? Thanks a lot. -- Sincerely, Garegin Grigoryan -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot

Re: [Ryu-devel] Parsing UDP segments in ryu

2016-12-20 Thread Garegin Grigoryan
x27;] > > Thanks, > Iwase > > On 2016年12月20日 15:26, Garegin Grigoryan wrote: > > I think I can do it this way, because udp headers is 8 bytes: > >udp_pointer = len(msg.data) - udp_segment.total_length + 8 > > print msg.data[udp_pointer:] > >

Re: [Ryu-devel] Parsing UDP segments in ryu

2016-12-19 Thread Garegin Grigoryan
Thanks! But udp_pkt contains only the header, as I understand it. I want to get the application data from the udp_segment and nothing else (no headers). On Tue, Dec 20, 2016 at 1:05 AM, Iwase Yusuke wrote: > Hi, > > > On 2016年12月20日 14:18, Garegin Grigoryan wrote: > > Hi, &

Re: [Ryu-devel] Parsing UDP segments in ryu

2016-12-19 Thread Garegin Grigoryan
I think I can do it this way, because udp headers is 8 bytes: udp_pointer = len(msg.data) - udp_segment.total_length + 8 print msg.data[udp_pointer:] On Tue, Dec 20, 2016 at 1:08 AM, Garegin Grigoryan wrote: > Thanks! > > But udp_pkt contains only the hea

[Ryu-devel] Parsing UDP segments in ryu

2016-12-19 Thread Garegin Grigoryan
bstract methods try_parse -- Sincerely, Garegin Grigoryan -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio X

[Ryu-devel] Simple switch and arping

2016-11-24 Thread Garegin Grigoryan
676641 ARP, Reply server-1-link-0 is-at 02:52:d9:02:fd:31 (oui Unknown), length 46 But OVS switch does not accept the reply. Could you please help me with this problem? Thank you! -- Sincerely, Garegin

Re: [Ryu-devel] RYU controller

2016-11-23 Thread Garegin Grigoryan
I found what was the problem. Sorry for disturbance. On Wed, Nov 23, 2016 at 3:27 PM, Garegin Grigoryan wrote: > Hi all, > > I have installed RYU controller and get this error when I run the modules. > Could you please help me, what I miss there? > > grigorg@controller:/

[Ryu-devel] RYU controller

2016-11-23 Thread Garegin Grigoryan
r ImportError: No module named tinyrpc.server -- Sincerely, Garegin Grigoryan -- ___ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel

Re: [Ryu-devel] EventOFPFlowRemoved

2016-10-03 Thread Garegin Grigoryan
n (self.logger... in simple_switch.py) to print out messages. > Then make sure correct verbosity level is set for your logger. > > Regards, > > --- > Michał Rzepka > > > W dniu 2016-10-03 02:21, Garegin Grigoryan napisał(a): > >> Hi all, >> >> I'm working on

[Ryu-devel] EventOFPFlowRemoved

2016-10-02 Thread Garegin Grigoryan
g else other than these lines in my simple_switch.py file? Thank you, -- Sincerely, Garegin Grigoryan -- Check out the vibrant tech community on one of the world's most engaging t

Re: [Ryu-devel] Question about flow installation

2016-09-29 Thread Garegin Grigoryan
Thanks a lot! I'll read that part of documentation carefully. Sincerely, Garegin Grigoryan --- Michał Rzepka wrote > Hello, > > That problem is more related to OpenFlow protocol than Ryu controller > itself. One should remember that some of match fields have prer

[Ryu-devel] Question about flow installation

2016-09-28 Thread Garegin Grigoryan
d(datapath=datapath, priority=priority, match=match, actions=act, idle_timeout=idle_timeout) datapath.send_msg(mod) Here's what I see in OVS: cookie=0x0, duration=13.212s, table=0, n_packets=0, n_bytes=0, idle_timeout=100,priority=1 actions=NORMAL Why ip-source match was ignored? Thanks