diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2016-11-07 16:04:22 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-11-14 12:14:53 +0900 |
commit | 4ed018df09b2b08579c4683a40a6929e68955589 (patch) | |
tree | 878e0da219dd6317bf42e523cc465fc300c69f00 | |
parent | 7e1f64865d43a9668973e369fdbd8790e83e9057 (diff) |
test_bgp: Add test cases for IPv6 and VPNv6 routes
This patch adds the test cases for IPv6 unicast and VPNv6 unicast
routes in BGP UPDATE messages.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/tests/packet_data/bgp4/bgp4-update_ipv6.pcap | bin | 0 -> 168 bytes | |||
-rw-r--r-- | ryu/tests/packet_data/bgp4/bgp4-update_vpnv6.pcap | bin | 0 -> 209 bytes | |||
-rw-r--r-- | ryu/tests/unit/packet/test_bgp.py | 2 |
3 files changed, 2 insertions, 0 deletions
diff --git a/ryu/tests/packet_data/bgp4/bgp4-update_ipv6.pcap b/ryu/tests/packet_data/bgp4/bgp4-update_ipv6.pcap Binary files differnew file mode 100644 index 00000000..c2106692 --- /dev/null +++ b/ryu/tests/packet_data/bgp4/bgp4-update_ipv6.pcap diff --git a/ryu/tests/packet_data/bgp4/bgp4-update_vpnv6.pcap b/ryu/tests/packet_data/bgp4/bgp4-update_vpnv6.pcap Binary files differnew file mode 100644 index 00000000..07e5ebb3 --- /dev/null +++ b/ryu/tests/packet_data/bgp4/bgp4-update_vpnv6.pcap diff --git a/ryu/tests/unit/packet/test_bgp.py b/ryu/tests/unit/packet/test_bgp.py index a3c922f8..28b39769 100644 --- a/ryu/tests/unit/packet/test_bgp.py +++ b/ryu/tests/unit/packet/test_bgp.py @@ -247,6 +247,8 @@ class Test_bgp(unittest.TestCase): files = [ 'bgp4-open', 'bgp4-update', + 'bgp4-update_ipv6', + 'bgp4-update_vpnv6', 'bgp4-keepalive', 'evpn_esi_arbitrary', 'evpn_esi_lacp', |