summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/route_server_malformed_test.py
diff options
context:
space:
mode:
authorNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-04-20 18:44:01 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-22 18:12:51 +0900
commite8ff6de23a4b30af2aa495afadfb27d3afa7efcb (patch)
tree10be1ee115392c4a070a9153982652f5dcc85949 /test/scenario_test/route_server_malformed_test.py
parentc5264192a2295fa617cc1569257796fedf06d9b6 (diff)
scenario_test: support to the new cli client
Diffstat (limited to 'test/scenario_test/route_server_malformed_test.py')
-rw-r--r--test/scenario_test/route_server_malformed_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scenario_test/route_server_malformed_test.py b/test/scenario_test/route_server_malformed_test.py
index ab8993ae..ab1f12bd 100644
--- a/test/scenario_test/route_server_malformed_test.py
+++ b/test/scenario_test/route_server_malformed_test.py
@@ -116,7 +116,7 @@ def check_func(exabgp_conf, result):
retry_count += 1
# check whether the service of gobgp is normally
try:
- cmd = "%s/%s -j -u %s -p %s show neighbors" % (CONFIG_DIR, CLI_CMD, gobgp_ip, gobgp_port)
+ cmd = "%s/%s -j -u %s -p %s neighbor" % (CONFIG_DIR, CLI_CMD, gobgp_ip, gobgp_port)
j = local(cmd, capture=True)
neighbors = json.loads(j)
except Exception: