This patch adds the test cases for IPv6 unicast and VPNv6 unicast
routes in BGP UPDATE messages.

Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
 ryu/tests/packet_data/bgp4/bgp4-update_ipv6.pcap  | Bin 0 -> 168 bytes
 ryu/tests/packet_data/bgp4/bgp4-update_vpnv6.pcap | Bin 0 -> 209 bytes
 ryu/tests/unit/packet/test_bgp.py                 |   2 ++
 3 files changed, 2 insertions(+)
 create mode 100644 ryu/tests/packet_data/bgp4/bgp4-update_ipv6.pcap
 create mode 100644 ryu/tests/packet_data/bgp4/bgp4-update_vpnv6.pcap

diff --git a/ryu/tests/packet_data/bgp4/bgp4-update_ipv6.pcap 
b/ryu/tests/packet_data/bgp4/bgp4-update_ipv6.pcap
new file mode 100644
index 
0000000000000000000000000000000000000000..c21066924a6da8afe4a3d489f2c22875a06e1ffd
GIT binary patch
literal 168
zcmca|c+)~A1{MYw`2U}Qff2~r(<K-Y@RpOI0muenK_z3C(6m*%&)j|YpM$}bfuRT}
z$nc+Sc{3LS0}~K49${wK3=#u@03iPG1SpRN7`&K(GR6&jG7L<N0{<F-90XuuFi;TS
Z+QGo&z{tqpz{JJ`bjROU4J=^C0RWK_EVKXs

literal 0
HcmV?d00001

diff --git a/ryu/tests/packet_data/bgp4/bgp4-update_vpnv6.pcap 
b/ryu/tests/packet_data/bgp4/bgp4-update_vpnv6.pcap
new file mode 100644
index 
0000000000000000000000000000000000000000..07e5ebb3c16211b7878545983dd8c675c2ee85b4
GIT binary patch
literal 209
zcmca|c+)~A1{MYw`2U}Qff2~rSt}S3B*w$A637N&K_z3C(6m*%&)j|YpM$}bfnhdC
z$A7lvQCtiROhC+dgqdM8NDKr5fY?n3D31mhikW~iF%5i{3``9YAeE@#|Nk{2K<lqC
qFaq81_XSWgMS&6Q9=JLOMn)zFCWZzUu$vuNK~%~C0S*Qxh<X4=PcZfX

literal 0
HcmV?d00001

diff --git a/ryu/tests/unit/packet/test_bgp.py 
b/ryu/tests/unit/packet/test_bgp.py
index a3c922f..28b3976 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',
-- 
2.7.4


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to