summaryrefslogtreecommitdiffstats
path: root/samples/parser.yaml
diff options
context:
space:
mode:
authorkubi <jean.gaoliang@huawei.com>2015-12-29 11:04:20 +0800
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-01-09 06:06:52 +0000
commit9b792a92f1f0b67159de52f8bd6b94806b35ae7b (patch)
tree840ebf964154f0c2925097a16a43ce07d60050d4 /samples/parser.yaml
parent20edb26aff8165996bab6f644e7380260a8a0aa5 (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> (cherry picked from commit d93f6ca5bf0d4f22ec0fd90eac1bf8b9c09db820)
Diffstat (limited to 'samples/parser.yaml')
-rw-r--r--samples/parser.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/samples/parser.yaml b/samples/parser.yaml
new file mode 100644
index 000000000..32d9abed1
--- /dev/null
+++ b/samples/parser.yaml
@@ -0,0 +1,21 @@
+---
+# Sample task config file
+# running Parser Yang-to-Tosca module as a tool
+# validating output against expected outcome
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: Parser
+ options:
+ yangfile: /root/yardstick/samples/yang.yaml
+ toscafile: /root/yardstick/samples/tosca.yaml
+
+ runner:
+ type: Iteration
+ iterations: 1
+ interval: 1
+
+context:
+ type: Dummy