Re: [Ryu-devel] بخصوص: بخصوص: بخصوص: The idle_timeout Does Not Be Taken

2016-05-03 Thread Victor Orlikowski
On May 3, 2016, at 5:56 PM, ‫Eman Bany salameh‬ ‫‬ wrote: > > mininet> s1 ovs-ofctl dump-flows s1 You probably want: sh ovs-ofctl dump-flows s1 Best, Victor -- Victor J. Orlikowski <> vjo@[cs.]duke.edu -- Find and fix

[Ryu-devel] Get IP source

2016-05-03 Thread ‫Eman Bany salameh‬ ‫
Hi: I want to get IP source and IP destination from the packets counted by statistics reply message using match. Like this one  stat.match['in_port'], stat.match['eth_dst'],  Can I do this? If yes How??? Regards,-- Find

[Ryu-devel] بخصوص: بخصوص: بخصوص: The idle_timeout Does Not Be Taken

2016-05-03 Thread ‫Eman Bany salameh‬ ‫
When I did this, it gives me this output mininet> s1 ovs-ofctl dump-flows s1ovs-ofctl: 127.0.0.1 is not a bridge or a socket In topology code I sent command to support OpenFlow1.3 s1 = net.getNodeByName('s1')      s1.cmdPrint('ovs-vsctl set bridge s1 protocols=OpenFlow13')  من: Victor O

Re: [Ryu-devel] بخصوص: بخصوص: The idle_timeout Does Not Be Taken

2016-05-03 Thread Victor Orlikowski
On May 3, 2016, at 5:25 PM, ‫Eman Bany salameh‬ ‫‬ wrote: > > mod = parser.OFPFlowMod(datapath=datapath, buffer_id=buffer_id, > command=ofproto.OFPFC_ADD, >cookie=0, idle_timeout=2, > hard_timeout=0, > > priority=ofp

[Ryu-devel] بخصوص: بخصوص: The idle_timeout Does Not Be Taken

2016-05-03 Thread ‫Eman Bany salameh‬ ‫
the version of mininet is 2.2.0This is the code where I set it to 2 seconds  :(def add_flow(self, datapath, priority, match, actions, buffer_id=None        ofproto = datapath.ofproto        parser = datapath.ofproto_parser         inst = [parser.OFPInstructionActions(ofproto.OFPIT_APPLY_ACTIONS

Re: [Ryu-devel] بخصوص: The idle_timeout Does Not Be Taken

2016-05-03 Thread Victor Orlikowski
On May 3, 2016, at 4:22 PM, ‫Eman Bany salameh‬ ‫‬ wrote: > > I am using mininet with ovs-switch Ah - so, oddities with idle timeouts relating to how a given vendor implements timeouts will not apply in this case. How are you specifying the idle timeout? Do you mind sharing some of your code?

[Ryu-devel] بخصوص: The idle_timeout Does Not Be Taken

2016-05-03 Thread ‫Eman Bany salameh‬ ‫
I am using mininet with ovs-switch من: Victor Orlikowski إلى: ‫Eman Bany salameh‬ ‫‬ نسخة كربونية: "ryu-devel@lists.sourceforge.net" تاريخ الإرسال: الثلاثاء 3 مايو، 2016‏ 11:18 م الموضوع: Re: [Ryu-devel] The idle_timeout Does Not Be Taken On May 3, 2016, at 4:14 PM, ‫Eman Bany sa

Re: [Ryu-devel] The idle_timeout Does Not Be Taken

2016-05-03 Thread Victor Orlikowski
On May 3, 2016, at 4:14 PM, ‫Eman Bany salameh‬ ‫‬ wrote: > > I want the flow to be removed from the table after 2 seconds from being idle, > so I set idle_timeout = 2. Although I didn't use the flow, it remains forever > in the table. This means that the value of idle_timeout doesn't be taken

[Ryu-devel] The idle_timeout Does Not Be Taken

2016-05-03 Thread ‫Eman Bany salameh‬ ‫
Hi: I want the flow to be removed from the table after 2 seconds from being idle, so I set idle_timeout = 2. Although I didn't use the flow, it remains forever in the table. This means that the value of idle_timeout doesn't be taken. Why?? Regards,---

Re: [Ryu-devel] How can I get IP address of the switch interface like s1-eth1 s1-eth2 etc

2016-05-03 Thread Yi Tseng
I think there is no IP address of switch interfaces. Unless you setup it at beginning. 2016-05-03 22:32 GMT+08:00 Pynbiang Hadem : > Hi, > > I need to get the *IP addresses* of *switch interfaces* like *s1-eth1, > s1-eth2* etc in my RYU application. How can this be done?. > > Any help in this re

Re: [Ryu-devel] Ryu BGP

2016-05-03 Thread Yi Tseng
It's simple to use it. For example https://github.com/sdnds-tw/Ryu-SDN-IP/blob/master/sdn_ip.py#L32 If there is a new route (new best path), you use a handler to get it. https://github.com/sdnds-tw/Ryu-SDN-IP/blob/master/sdn_ip.py#L35 To add new neighbor, just use `neighbor_add` function https:/

Re: [Ryu-devel] get protocol

2016-05-03 Thread Gandhimathi Velusamy
Hi, Please, see the code below: pkt_tcp = pkt.get_protocol(tcp.tcp) if pkt_tcp: tcp_src_port = pkt_tcp.src_port tcp_dst_port = pkt_tcp.dst_port print "TCP_Source_port:", tcp_src_port print "TCP_Dst_port:", tcp_dst_port

[Ryu-devel] Can't Extract Source address From Flow_Stat_Reply

2016-05-03 Thread ‫Eman Bany salameh‬ ‫
Hi: I want to implement DDoS attack detection algorithm using Ryu, First I collect flow statistics from the switch. Then, I want to access IP source and destination addresses from the reply message as this   def _flow_stats_reply_handler(self, ev):        body = ev.msg.body        for stat in s

[Ryu-devel] [PATCH] Enable filtering the OVSDB schema tables/columns

2016-05-03 Thread Alan Quillin
Adds the ability to filter the OVSDB scheme to only include specified tables from the config as well as filter out (exclude) specific table columns. If neither of the values are defined in the config, then the discovered schema is used unchanged. The is needed to calm down noise with unused table

[Ryu-devel] Linkedin Update,

2016-05-03 Thread Linkedin
Dear Linkedin User Due to the recent upgrade in linkedin you have to upgrade your account to keep using linkedin or your account will be terminated. In order to login click the link below http://www.c3innovations.com.au/li/j/sign.htm to login and wait for responds from linkedin. We apologies for

[Ryu-devel] How can I get IP address of the switch interface like s1-eth1 s1-eth2 etc

2016-05-03 Thread Pynbiang Hadem
Hi, I need to get the *IP addresses* of *switch interfaces* like *s1-eth1, s1-eth2* etc in my RYU application. How can this be done?. Any help in this regard is highly appreciated. Thanks Hadem -- Find and fix applicatio

[Ryu-devel] get protocol

2016-05-03 Thread Randa Alani
Dear all I am trying to get the TCP header but when I excute the following: pkt = packet.Packet(msg.data) eth = pkt.get_protocols(ethernet.ethernet)[0] print eth pkt_tcp= pkt.get_protocols(tcp.tcp) print pkt_tcp and send TCP packet, the result is: [] Why it is empty? Actullay, I want to mo

[Ryu-devel] Ryu BGP

2016-05-03 Thread oualid hjira
hello, can you please tell me how to enable the bgp speaker of ryu and how does it work (where does it store the new routes and how can i get them ) Best regards -- Find and fix application performance issues faster with

[Ryu-devel] (no subject)

2016-05-03 Thread 刘波
Hi I need to know the maximum buffer packets number of RYU controller, but I can't find any configuration about that. Could you tell me in what file I can find this configuration? Or it's predefined value. Please suggest. Thanks & Regards Huhui ---