aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/parser/parser_setup.sh
diff options
context:
space:
mode:
authorkubi <jean.gaoliang@huawei.com>2015-12-29 11:04:20 +0800
committerkubi <jean.gaoliang@huawei.com>2016-01-09 13:10:02 +0800
commitd93f6ca5bf0d4f22ec0fd90eac1bf8b9c09db820 (patch)
tree840ebf964154f0c2925097a16a43ce07d60050d4 /yardstick/benchmark/scenarios/parser/parser_setup.sh
parent45b1cc64209dec07475e5263469328231c524aa7 (diff)
running Parser Yang-to-Tosca module as a tool
with jnon and fatih's help, new docker image has been uploaded so this part is about parser verify validating output against expected outcome. Change-Id: If50d241a5338888f14fd11a752dc72678e0c569b JIRA:YARDSTICK-224 Signed-off-by: kubi <jean.gaoliang@huawei.com>
Diffstat (limited to 'yardstick/benchmark/scenarios/parser/parser_setup.sh')
-rwxr-xr-xyardstick/benchmark/scenarios/parser/parser_setup.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/parser/parser_setup.sh b/yardstick/benchmark/scenarios/parser/parser_setup.sh
new file mode 100755
index 000000000..44356447d
--- /dev/null
+++ b/yardstick/benchmark/scenarios/parser/parser_setup.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+##############################################################################
+# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+git clone https://github.com/mbj4668/pyang.git /tmp/pyang
+cd /tmp/pyang
+python setup.py install
+git clone https://gerrit.opnfv.org/gerrit/parser /tmp/parser
+