[Ryu-devel] Logs are printed twice

2014-11-28 Thread Aravindhan Dhanasekaran
Hello, I'm new to Python/Ryu and I've a question regarding printing logs in Ryu (more of Python, actually). I followed some existing Ryu examples and Python documentation to create a simple logging infra for my project. Code is given below. Issue is that each of logs are printed twice. Once usin

Re: [Ryu-devel] Push tables to the switchs using curl

2014-11-28 Thread Clément Rault
Hi, On 28 November 2014 at 02:23, Yusuke Iwase wrote: > Hi, > > > OpenFlow1.3 Spec describes watch_port/watch_group as follows. > > /* Bucket for use in groups. */ > struct ofp_bucket { > ... > uint32_t watch_port; /* Port whose state affects whether this >

[Ryu-devel] Problems with vlan_pcp match field

2014-11-28 Thread Ricardo Balbinot
Hi, Another question... I have the following code: CODE A match = parser.OFPMatch(vlan_pcp=0, vlan_vid=id_grupo) actions = [parser.OFPActionGroup(group_id=id_grupo)] resp = self.add_flow(datapath,32768,match,actions) ADD_FLOW is this code: ofproto = datapath.ofproto parser = datapath.ofproto_par

[Ryu-devel] [PATCH] bmp: bug fix of peer bgp ID in BMP Message

2014-11-28 Thread Yuji Oshima
Ryu BGP sets self-BGP ID as Peer BGP ID in BMP Message. Signed-off-by: Yuji Oshima --- ryu/services/protocols/bgp/bmp.py |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ryu/services/protocols/bgp/bmp.py b/ryu/services/protocols/bgp/bmp.py index c899b5b..4fbbecb 1006