[Ryu-devel] Fwd: [PATCH 5/5] bgp: remove unnecessary OutgoingRoute attribute 'bgp4_format'

2014-05-29 Thread ISHIDA Wataru
Attribute 'bgp4_format' was intended to be used to decide whether to construct UPDATE msg in bgp4 format or mpbgp format. But we can decide this simply by checking the path type which we are going update. If the path type is IPv4, we use bgp4 format. In other cases, we use mpbgp format. Signed-off

[Ryu-devel] Fwd: [PATCH 2/5] packet/bgp: add route distinguisher classes and refine codes

2014-05-29 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/lib/packet/bgp.py| 315 +- ryu/services/protocols/bgp/info_base/base.py |2 +- ryu/tests/unit/packet/test_bgp.py|8 +- 3 files changed, 218 insertions(+), 107 deletions(-) diff --git a/ryu/l

[Ryu-devel] Fwd: [PATCH 4/5] bgp: fix typo

2014-05-29 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/lib/packet/bgp.py |4 ++-- ryu/services/protocols/bgp/core.py |4 ++-- .../protocols/bgp/core_managers/table_manager.py |4 ++-- ryu/services/protocols/bgp/info_base/vpn.py|4 ++-- ryu/serv

[Ryu-devel] Fwd: [PATCH 3/5] bgp: fix bug of exchanging paths between vrf and global_table

2014-05-29 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/application.py |4 ++- .../protocols/bgp/core_managers/peer_manager.py|1 + ryu/services/protocols/bgp/info_base/vrf.py| 34 +++- ryu/services/protocols/bgp/rtconf/vrfs.py |2 +-

[Ryu-devel] [PATCH 1/5] bgp: keep and use nexthop value as a string internally

2014-05-29 Thread ISHIDA Wataru
Instead of BGPPathAttributeNextHop, keep nexthop value as a string. Convert it to string as we get Update msg. Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/core_managers/table_manager.py |3 +-- ryu/services/protocols/bgp/operator/internal_api.py |2 +- ryu/services/

Re: [Ryu-devel] Add Flow with eth_dst with MASK

2014-05-29 Thread takahashi.minoru
Hi , >> Is there any app which support utilization of curl command to set mask for >> eth_dst? OK, I will make a patch. Please wait for a while. On Thu, 29 May 2014 10:25:04 +0900 takahashi.minoru wrote: > On Wed, 28 May 2014 15:27:07 +0530 > Sujai Mutharasu wrote: >> Hi , >> >> Yes , I am

Re: [Ryu-devel] echo_request_handler and switch_features_handler

2014-05-29 Thread Thomas F Herbert
On 5/28/2014 5:05 PM, FUJITA Tomonori wrote: > On Wed, 28 May 2014 16:58:28 -0400 > Thomas F Herbert wrote: > > btw, if you are interested in doing something when a datapath joins, I > would recommend a different way instead of switchfeature: > http://osrg.github.io/ryu-book/en/html/traffic_moni