diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-06-01 04:59:11 +0000 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-06-01 05:06:37 +0000 |
commit | addc3902e85959e525a6e577de174dc1229551ac (patch) | |
tree | 6e906d49bec9056a68739ea86b65f44d6613faf6 /test/scenario_test | |
parent | 4c9cd88c61cb848e36a45657b7cbc63b9c783dc4 (diff) |
server: support peering with ipv6 link local address
fix DialTCPTimeoutWithMD5Sig to handle ipv6 scope-id
also update ipv6 test to test this feature
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test')
-rw-r--r-- | test/scenario_test/route_server_ipv4_v6_test.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/scenario_test/route_server_ipv4_v6_test.py b/test/scenario_test/route_server_ipv4_v6_test.py index c32bfecf..c79939fd 100644 --- a/test/scenario_test/route_server_ipv4_v6_test.py +++ b/test/scenario_test/route_server_ipv4_v6_test.py @@ -63,16 +63,12 @@ class GoBGPIPv6Test(unittest.TestCase): g1.add_peer(ctn, is_rs_client=True) ctn.add_peer(g1) - br02 = Bridge(name='br02', subnet='2001::/96') - br02.addif(g1) for ctn in v6: - br02.addif(ctn) - g1.add_peer(ctn, is_rs_client=True, bridge=br02.name) - ctn.add_peer(g1, bridge=br02.name) + g1.add_peer(ctn, is_rs_client=True, v6=True) + ctn.add_peer(g1, v6=True) cls.gobgp = g1 cls.quaggas = {'q1': q1, 'q2': q2, 'q3': q3, 'q4': q4} - cls.bridges = {'br02': br02} cls.ipv4s = {'q1': q1, 'q2': q2} cls.ipv6s = {'q3': q3, 'q4': q4} |