At Mon, 22 Aug 2016 09:40:29 +0900,
IWASE Yusuke wrote:
>
> Signed-off-by: IWASE Yusuke
> ---
> ryu/lib/packet/bgp.py | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
> index 697eff3..457f87b 100644
> --- a/ryu/lib/pack
hi ryu teamI need application or codes to send packets by specific route, in
another word if switch (1) receive from port 1 must the switch send packet to
port 2 not forwarding to another ports ?how can I doing that ?
thank in advance
Wisam Maala
---
Hi Iwamoto-San,
Thank you for reviewing my patch.
On 2016年08月22日 16:19, IWAMOTO Toshihiro wrote:
> At Mon, 22 Aug 2016 09:40:29 +0900,
> IWASE Yusuke wrote:
>>
>> Signed-off-by: IWASE Yusuke
>> ---
>> ryu/lib/packet/bgp.py | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> di
This patch remames the internal (not for users) API for the consistency,
and add missing docstring.
Signed-off-by: IWASE Yusuke
---
ryu/services/protocols/bgp/api/rtconf.py | 4 ++--
.../protocols/bgp/core_managers/table_manager.py | 20 +---
2 files changed, 15
This patch enables BGPSpeaker to advertise BGP EVPN routes and
store the advertised BGP EVPN routes from the neighbors.
TODO:
- To support the VRF table for BGP EVPN routes.
This patch supports the global table only.
- To implement Multihoming Functions.
Currently, ONLY Single-Homing is su
Signed-off-by: IWASE Yusuke
---
.../unit/services/protocols/bgp/test_bgpspeaker.py | 276 +
1 file changed, 276 insertions(+)
create mode 100644 ryu/tests/unit/services/protocols/bgp/test_bgpspeaker.py
diff --git a/ryu/tests/unit/services/protocols/bgp/test_bgpspeaker.py
b/
This patch fixes to reduce Pylint warnings, to use 'netaddr' utilities
and to reduce redundant if statements.
Signed-off-by: IWASE Yusuke
---
ryu/services/protocols/bgp/utils/validation.py | 190 +++--
1 file changed, 82 insertions(+), 108 deletions(-)
diff --git a/ryu/servi
Signed-off-by: IWASE Yusuke
---
ryu/tests/packet_data/bgp4/evpn_esi_arbitrary.pcap | Bin 0 -> 156 bytes
ryu/tests/packet_data/bgp4/evpn_esi_as_based.pcap | Bin 0 -> 156 bytes
ryu/tests/packet_data/bgp4/evpn_esi_l2_bridge.pcap | Bin 0 -> 156 bytes
ryu/tests/packet_data/bgp4/evpn_esi_lacp.pcap
This patch enables BGPSpeaker to store EVPN routes into the VRF
tables and to provide the API for advertising routes.
Usage example:
speaker = BGPSpeaker(as_number=65001,
router_id='172.17.0.1')
speaker.neighbor_add(address='172.17.0.2', remote_as=65002,
Because the NLRI_CLASS of the VRF EVPN Table is the same as the
NLRI_CLASS of the Global EVPN Table, the str representation can not
be distinguished with 'formatted_nlri_str' format.
So, 'show vrf' commands on the SSH console returns the str outputs
with Route Distinguisher (RD) even if the route o
Signed-off-by: IWASE Yusuke
---
ryu/services/protocols/bgp/base.py | 32 ++---
ryu/services/protocols/bgp/bgpspeaker.py | 133 -
.../protocols/bgp/core_managers/table_manager.py | 3 -
.../protocols/bgp/operator/commands/show/rib.py| 10 +-
Signed-off-by: IWASE Yusuke
---
.../bgp/core_managers/test_table_manager.py| 91 ++
1 file changed, 91 insertions(+)
diff --git
a/ryu/tests/unit/services/protocols/bgp/core_managers/test_table_manager.py
b/ryu/tests/unit/services/protocols/bgp/core_managers/test_tab
Signed-off-by: IWASE Yusuke
---
ryu/services/protocols/bgp/bgpspeaker.py | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/ryu/services/protocols/bgp/bgpspeaker.py
b/ryu/services/protocols/bgp/bgpspeaker.py
index 4608524..b6128ec 100644
--- a/ryu/services/protocols/bgp
This patch fixes the TCP packet parser to return the BGP packet
parser class if the TCP src or dst port is the reserved BGP port
and enable to parse the entire packet data.
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/bgp.py | 8 ++--
ryu/lib/packet/bmp.py
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/afi.py | 1 +
ryu/lib/packet/bgp.py | 806 +++--
ryu/lib/packet/safi.py | 1 +
3 files changed, 777 insertions(+), 31 deletions(-)
diff --git a/ryu/lib/packet/afi.py b/ryu/lib/packet/afi.py
index c84
Currently, RegisterWithArgChecks validates only required arguments,
so invalid arguments might be passed through if the arguments are
registered as optionals.
This patch fixes to enable validation for optional arguments.
Signed-off-by: IWASE Yusuke
---
ryu/services/protocols/bgp/api/base.py | 12
Signed-off-by: IWASE Yusuke
---
.../unit/services/protocols/bgp/utils/__init__.py | 0
.../protocols/bgp/utils/test_validation.py | 203 +
2 files changed, 203 insertions(+)
create mode 100644 ryu/tests/unit/services/protocols/bgp/utils/__init__.py
create mode 100
This patch enables BGPSpeaker to advertise MPLS-Based Ethernet
VPN (RFC7432) routes and store the advertised BGP EVPN routes
from the neighbors.
Also, includes the Python3 compatibility improvements and the
updates of the API reference of BGPSpeaker.
v2: For Iwamoto-San comment, [PATCH 06/20] was
In the validator for the API arguments should raise exception
when the validator detects invalid arguments, otherwise the
decorator for registering API functions, RegisterWithArgChecks,
can pass through the invalid arguments.
This patch fixes this problem.
Signed-off-by: IWASE Yusuke
---
ryu/se
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/bgp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
index 697eff3..5846dba 100644
--- a/ryu/lib/packet/bgp.py
+++ b/ryu/lib/packet/bgp.py
@@ -3321,7 +3321,7 @@ class BGPNotification
Signed-off-by: IWASE Yusuke
---
ryu/services/protocols/bgp/bgpspeaker.py | 66 ++---
ryu/services/protocols/bgp/info_base/base.py | 85 +---
2 files changed, 72 insertions(+), 79 deletions(-)
diff --git a/ryu/services/protocols/bgp/bgpspeaker.py
b/ryu
Currently, SSH console of BGPSpeaker fails to recieve commands from
user when it is running on Python3 due to the binary conversion.
This patch fixes this problem and enables to use SSH console on
Python3.
Signed-off-by: IWASE Yusuke
---
.../protocols/bgp/operator/commands/show/route_formatter_m
Signed-off-by: IWASE Yusuke
---
.../protocols/bgp/core_managers/table_manager.py | 4 +
ryu/services/protocols/bgp/info_base/vrf.py| 5 +
.../protocols/bgp/core_managers/__init__.py| 0
.../bgp/core_managers/test_table_manager.py| 264 +
4 files
Signed-off-by: IWASE Yusuke
---
ryu/services/protocols/bgp/info_base/base.py | 18 ++
1 file changed, 18 insertions(+)
diff --git a/ryu/services/protocols/bgp/info_base/base.py
b/ryu/services/protocols/bgp/info_base/base.py
index 54e02bb..a11de7f 100644
--- a/ryu/services/protoc
At Mon, 22 Aug 2016 09:40:25 +0900,
IWASE Yusuke wrote:
>
> Signed-off-by: IWASE Yusuke
> ---
> ryu/lib/packet/afi.py | 1 +
> ryu/lib/packet/bgp.py | 806
> +++--
> ryu/lib/packet/safi.py | 1 +
> 3 files changed, 777 insertions(+), 31 deletion
--
Hello,
Would you be interested in acquiring our recently compiled and updated
contact list of *Personal trainers, Group fitness instructors, Club and
studio owners, Program Directors and Managers, Mind-body professionals
and Nutrition professionals? *
*Data Fields like: *Company name, W
Hello,
I wanted to ask for a description of the process that we would follow to
have our OpenFlow devices test results included on the Ryu Certification
page.
http://osrg.github.io/ryu/certification.html
Thanks in advance.
David Whittaker
Corsa
-
Hi Iwamoto-San,
On 2016年08月22日 17:31, IWAMOTO Toshihiro wrote:
> At Mon, 22 Aug 2016 09:40:25 +0900,
> IWASE Yusuke wrote:
>>
>> Signed-off-by: IWASE Yusuke
>> ---
>> ryu/lib/packet/afi.py | 1 +
>> ryu/lib/packet/bgp.py | 806
>> +++--
>> ryu/li
At Tue, 23 Aug 2016 09:45:30 +0900,
Iwase Yusuke wrote:
>
> Hi Iwamoto-San,
>
>
> On 2016年08月22日 17:31, IWAMOTO Toshihiro wrote:
> > At Mon, 22 Aug 2016 09:40:25 +0900,
> > IWASE Yusuke wrote:
> >>
> >> Signed-off-by: IWASE Yusuke
> >> ---
> >> ryu/lib/packet/afi.py | 1 +
> >> ryu/lib/pac
Hi Iwamoto-San,
On 2016年08月23日 11:41, IWAMOTO Toshihiro wrote:
> At Tue, 23 Aug 2016 09:45:30 +0900,
> Iwase Yusuke wrote:
>>
>> Hi Iwamoto-San,
>>
>>
>> On 2016年08月22日 17:31, IWAMOTO Toshihiro wrote:
>>> At Mon, 22 Aug 2016 09:40:25 +0900,
>>> IWASE Yusuke wrote:
Signed-off-by: IWASE Y
This patch adds the script for PyInstaller in order to build
stand-alone executable of ryu-manager.
And includes the patch which is suggested by papostolescu as
Pull Request(*1) on GitHub.
(*1) https://github.com/osrg/ryu/pull/26
IWASE Yusuke (2):
handler: Fix for frozen builds
PyInstaller: En
Navigates back the stack to locate the module instead of relying on
inspect to locate the module based on the file name.
This patch is suggested by papostolescu as Pull Request(*1)
on GitHub.
(*1) https://github.com/osrg/ryu/pull/26
Signed-off-by: IWASE Yusuke
---
ryu/controller/handler.py
Usage: After installing Ryu (on virtualenv is better), build a
ryu-manager executable as following:
$ pip install PyInstaller==3.1.1
$ cd tools/
$ pyinstaller ryu-manager.spec
$ ./dist/ryu-manager
Note: PyInstaller==3.2 may have a bug of str encoding, please use
Pyinstaller==3.1.1 inst
33 matches
Mail list logo