summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/evpn_test.py
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-04-11 05:09:13 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-04-20 13:14:09 +0900
commit802879087ddf14da1c2dab90d05dd09debb747a7 (patch)
tree564416d955485fdaed137c0836a6a66907ed10b9 /test/scenario_test/evpn_test.py
parentd62e65f4fe06deca5c4ce7dee957a9b517b80f12 (diff)
server: support route-target constraint
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/evpn_test.py')
-rw-r--r--test/scenario_test/evpn_test.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/scenario_test/evpn_test.py b/test/scenario_test/evpn_test.py
index 7920bf2b..01827805 100644
--- a/test/scenario_test/evpn_test.py
+++ b/test/scenario_test/evpn_test.py
@@ -56,10 +56,12 @@ class GoBGPTestBase(unittest.TestCase):
initial_wait_time = max(ctn.run() for ctn in ctns)
time.sleep(initial_wait_time)
+ g1.local("gobgp vrf add vrf1 rd 10:10 rt both 10:10")
+ g2.local("gobgp vrf add vrf1 rd 10:10 rt both 10:10")
for a, b in combinations(ctns, 2):
- a.add_peer(b, evpn=True, passwd='evpn')
- b.add_peer(a, evpn=True, passwd='evpn')
+ a.add_peer(b, vpn=True, passwd='evpn')
+ b.add_peer(a, vpn=True, passwd='evpn')
cls.g1 = g1
cls.g2 = g2