summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/subsystem.yaml
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-06-05 00:48:12 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2016-06-05 00:48:12 +0800
commit46e69c3142c04e54125624569c814ff52a07b562 (patch)
treed146bad085b9c974f458e49b296939584b228164 /tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/subsystem.yaml
parent920592786aabee78752cf35a293a74151b9f3c8b (diff)
The definition in test file subsystem.yaml is error
1. The input parameter my_cpus in definition of subsystem.yaml lack the default value, so when the file subsystem.yaml is error when used as a node template implementation. 2. The bug will be submitted to openstack community. Change-Id: I1f912dab47fe3751d0a992b02dd2a2253af6f158 JIRA: PARSER-45 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/subsystem.yaml')
-rw-r--r--tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/subsystem.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/subsystem.yaml b/tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/subsystem.yaml
index b27e698..99d645b 100644
--- a/tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/subsystem.yaml
+++ b/tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/subsystem.yaml
@@ -12,12 +12,15 @@ topology_template:
inputs:
mq_server_ip:
type: string
+ required: true
description: IP address of the message queuing server to receive messages from.
receiver_port:
type: string
+ required: true
description: Port to be used for receiving messages.
my_cpus:
type: integer
+ default: 2
description: Number of CPUs for the server.
constraints:
- valid_values: [ 1, 2, 4, 8 ]