From 6a3e9d53686eda1d45fb54b97869a594741f089c Mon Sep 17 00:00:00 2001 From: Zhaoxing Date: Fri, 22 Sep 2017 15:40:57 +0800 Subject: Move python files to root dir Change-Id: I16a66e1f6bcb65cbb68f2b622618252885ab47fc Issue-Id: MODELING-20 Signed-off-by: Zhaoxing --- .../toscaparser/tests/data/functions/test_token.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nfvparser/toscaparser/tests/data/functions/test_token.yaml (limited to 'nfvparser/toscaparser/tests/data/functions/test_token.yaml') diff --git a/nfvparser/toscaparser/tests/data/functions/test_token.yaml b/nfvparser/toscaparser/tests/data/functions/test_token.yaml new file mode 100644 index 0000000..495a930 --- /dev/null +++ b/nfvparser/toscaparser/tests/data/functions/test_token.yaml @@ -0,0 +1,15 @@ +tosca_definitions_version: tosca_simple_yaml_1_0 + +description: Template for deploying a single server with token function. + +topology_template: + node_templates: + server: + type: tosca.nodes.Compute + + outputs: + url: + description: Get the first part of the ip + value: { token: [ get_attribute: [ server, public_address ], + '.' , + 0 ] } -- cgit 1.2.3-korg