The definition in test file subsystem.yaml is error 69/15169/1
authorshangxdy <shang.xiaodong@zte.com.cn>
Sat, 4 Jun 2016 16:48:12 +0000 (00:48 +0800)
committershangxdy <shang.xiaodong@zte.com.cn>
Sat, 4 Jun 2016 16:48:12 +0000 (00:48 +0800)
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>
tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/subsystem.yaml

index b27e698..99d645b 100644 (file)
@@ -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 ]