summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/zapi_v3_test.py
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-03-16 16:31:14 +0900
committerIWASE Yusuke <iwase.yusuke0@gmail.com>2017-03-16 16:31:14 +0900
commita7932d708921c5b2ed4f3fa7ce608a1449146048 (patch)
treeced446d1966c872154d5235dd1bd927e547f4613 /test/scenario_test/zapi_v3_test.py
parentecc9b5631eb68a5148affce56765fe661bf1f2f8 (diff)
test/lib/quagga: Avoid ambiguous command "en"
With the newer version of Quagga, "en" command will be regarded as an "Ambiguous command", because there are two commands "enable" and "end". This patch replaces "en" command with "enable" command, and fixes this problem. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'test/scenario_test/zapi_v3_test.py')
-rw-r--r--test/scenario_test/zapi_v3_test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scenario_test/zapi_v3_test.py b/test/scenario_test/zapi_v3_test.py
index 3c35903c..09c73329 100644
--- a/test/scenario_test/zapi_v3_test.py
+++ b/test/scenario_test/zapi_v3_test.py
@@ -70,10 +70,10 @@ class GoBGPTestBase(unittest.TestCase):
self.g2.local('ip netns exec ns01 ip li set up dev lo')
self.g2.local('ip netns exec ns02 ip li set up dev lo')
- self.g1.local("vtysh -c 'en' -c 'conf t' -c 'vrf 1 netns ns01'")
- self.g1.local("vtysh -c 'en' -c 'conf t' -c 'vrf 2 netns ns02'")
- self.g2.local("vtysh -c 'en' -c 'conf t' -c 'vrf 1 netns ns01'")
- self.g2.local("vtysh -c 'en' -c 'conf t' -c 'vrf 2 netns ns02'")
+ self.g1.local("vtysh -c 'enable' -c 'conf t' -c 'vrf 1 netns ns01'")
+ self.g1.local("vtysh -c 'enable' -c 'conf t' -c 'vrf 2 netns ns02'")
+ self.g2.local("vtysh -c 'enable' -c 'conf t' -c 'vrf 1 netns ns01'")
+ self.g2.local("vtysh -c 'enable' -c 'conf t' -c 'vrf 2 netns ns02'")
self.g1.local("gobgp vrf add vrf01 id 1 rd 1:1 rt both 1:1")
self.g1.local("gobgp vrf add vrf02 id 2 rd 2:2 rt both 2:2")