Re: [Ryu-devel] Application on RYU controller and OpenVswitch

2016-09-04 Thread Shinpei Muraoka
Hi Please refer to the following documents. I think these will be your help. https://osrg.github.io/ryu-book/en/html/ http://ryu.readthedocs.io/en/latest/index.html Thanks, On 2016年09月02日 17:28, Naveena Alishetty wrote: > hello,iam naveena > I have just installed openwrt and want to install Op

Re: [Ryu-devel] Ryu patch

2016-09-04 Thread Iwase Yusuke
Hi Tungyueh, Thank you for updating your patch! It looks good to me and the API reference can be successfully built on my environment. Thanks, Iwase On 2016年09月02日 12:49, 林東岳 wrote: > Hi, > > I write the reference for this API. > > tungyueh > > Iwase Yusuke 於 2016年9月2日 週五 上午9:38寫道: > >> Hi T

[Ryu-devel] [PATCH 6/8] BGPSpeaker: Add EVPN routes from Global to VRF Table

2016-09-04 Thread IWASE Yusuke
This patch adds the missing support for importing EVPN Table from the Global Table to VRF Table when BGPSpeaker recieved a new EVPN route. Signed-off-by: IWASE Yusuke --- ryu/services/protocols/bgp/model.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ryu/services/proto

[Ryu-devel] [PATCH 2/8] BGPSpeaker: Support to advertise Tunnel Encapsulation

2016-09-04 Thread IWASE Yusuke
This patch adds support to advertise the BGP Tunnel Encapsulation Attribute for the Ethernet VPN Routes. Signed-off-by: IWASE Yusuke --- ryu/lib/packet/bgp.py | 20 ++ ryu/services/protocols/bgp/api/base.py | 1 + ryu/services/protocols/b

[Ryu-devel] [PATCH 3/8] BGPSpeaker: Extend to advertise VNI for EVPN routes

2016-09-04 Thread IWASE Yusuke
This patch enables to advertise VNI as MPLS lables field in the MAC/IP Advertisement Route of EVPN. Signed-off-by: IWASE Yusuke --- ryu/lib/packet/bgp.py | 153 + ryu/services/protocols/bgp/api/base.py | 1 + ryu/services/protocols/b

[Ryu-devel] [PATCH 4/8] test_bgpspeaker: Add UT for advertising VNI for EVPN

2016-09-04 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- .../bgp/core_managers/test_table_manager.py| 49 ++ .../unit/services/protocols/bgp/test_bgpspeaker.py | 44 +++ .../protocols/bgp/utils/test_validation.py | 12 ++ 3 files changed, 105 insertions(+) diff --g

[Ryu-devel] [PATCH 5/8] table_manager: Fix conversion of De Morgan's laws

2016-09-04 Thread IWASE Yusuke
This patch fixes incorrect conversion of De Morgan's laws. e.g.) not (A and B) == not A or not B Original: if not (vpn_path.source is None and route_dist == vrf_table.vrf_conf.route_dist): Incorrect: if (vpn_path.source is not None and # !!! Should be "or" route

[Ryu-devel] [PATCH 1/8] packet/bgp: Add BGP Encapsulation Extended Community

2016-09-04 Thread IWASE Yusuke
This patch adds the support for BGP Encapsulation Extended Community [RFC5512]. Signed-off-by: IWASE Yusuke --- ryu/lib/packet/bgp.py | 41 +++ ryu/tests/unit/packet/test_bgp.py | 4 2 files changed, 37 insertions(+), 8 deletions(-) diff --g

[Ryu-devel] [PATCH 7/8] BGPSpeaker/vrf: Handle non MPLS labled NLRI

2016-09-04 Thread IWASE Yusuke
Currently, VRF Table supposes the incoming NLRI has MPLS labels field, but some EVPN NLRI don't have MPLS labels field, and BGPSpeaker fails to import the incoming routes from the neighbours. This patch fixes this problem. Signed-off-by: IWASE Yusuke --- ryu/services/protocols/bgp/info_base/vrf

[Ryu-devel] [PATCH 8/8] BGPSpeaker: Enable to get path from EventPrefix

2016-09-04 Thread IWASE Yusuke
To get more detail information about BGP route by using best_path_change_handler, this patch adds path member into EventPrefix and implements property to get existing attributes. Signed-off-by: IWASE Yusuke --- ryu/services/protocols/bgp/bgpspeaker.py | 74 1 fil

[Ryu-devel] [PATCH 0/8] Extend to advertise VNI for EVPN routes

2016-09-04 Thread IWASE Yusuke
Currently, BGPSpeaker supports EVPN based on RFC7432 (BGP MPLS-Based Ethernet VPN), but to support EVPN VXLAN, it is required to support some more extensions along with draft-ietf-bess-evpn-overlay-04(A Network Virtualization Overlay Solution using EVPN). This patch implements some extensions for