Re: [Ryu-devel] RR BGP Ryu

2017-02-14 Thread Jordi Bisbal
Hi Iwase, First of all thank you for your information and the patch. I have tried to implement it and the code is initializing well The problem is when they want to start to communicate with the other addr, I get this error: error: [Errno 111] ECONNREFUSED More detailed information about the erro

[Ryu-devel] openflow table capacity

2017-02-14 Thread Moh'd Reza Abbasi
Hello, I would like to know how can I get information regarding the openflow table capacity such as maximum entries, no. of entries installed etc. The max_entries field mentioned here ( https://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#get-table-stats) is for one particular table in the s

Re: [Ryu-devel] openflow table capacity

2017-02-14 Thread Iwase Yusuke
Hi, Please refer to "n_tables" field in OFPSwitchFeatures message. https://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPSwitchFeatures Thanks, Iwase On 2017年02月14日 21:56, Moh'd Reza Abbasi wrote: > Hello, > I would like to know how can I get informat

[Ryu-devel] [PATCH v2 2/3] BGPSpeaker: Use isinstance(*, bool) for boolean check

2017-02-14 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/services/protocols/bgp/rtconf/base.py | 20 ++-- ryu/services/protocols/bgp/rtconf/common.py| 2 +- ryu/services/protocols/bgp/rtconf/neighbors.py | 8 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ryu/serv

[Ryu-devel] [PATCH v2 0/3] BGPSpeaker: Support Route Reflector features

2017-02-14 Thread IWASE Yusuke
The v2 patch updates v1 to improves the Python 3 compatibility and handle the case that the peer sent the empty AS_PATH for iBGP peering. v1: Currently, Ryu supports the features of Route Server. On the other hand, does not have the features of Route Reflector. The following patches implement the

[Ryu-devel] [PATCH v2 3/3] bgp/utils/bgp: Use lib/ip for Python 3 compatibility

2017-02-14 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/services/protocols/bgp/utils/bgp.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ryu/services/protocols/bgp/utils/bgp.py b/ryu/services/protocols/bgp/utils/bgp.py index 4979e44..4bdedf0 100644 --- a/ryu/services/protocols/bgp/utils/

[Ryu-devel] [PATCH v2 1/3] BGPSpeaker: Support Route Reflector features [RFC4456]

2017-02-14 Thread IWASE Yusuke
This patch implements the features for acting as a Route Reflector which defined in RFC4456. Signed-off-by: IWASE Yusuke --- ryu/lib/packet/bgp.py | 2 +- ryu/services/protocols/bgp/application.py | 2 + ryu/services/protocols/bgp/bgpspeaker.py | 28 -

Re: [Ryu-devel] RR BGP Ryu

2017-02-14 Thread Iwase Yusuke
Hi Jordi, Thank you for testing my patch! On 2017年02月14日 21:03, Jordi Bisbal wrote: > Hi Iwase, > > First of all thank you for your information and the patch. I have tried to > implement it and the code is initializing well The problem is when they want > to start to communicate with the othe