aboutsummaryrefslogtreecommitdiffstats
path: root/samples/parser.yaml
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 /samples/parser.yaml
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 '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