Substitution mappings doesn't supports properties 41/17241/2
authorshangxdy <shang.xiaodong@zte.com.cn>
Wed, 20 Jul 2016 16:04:19 +0000 (00:04 +0800)
committershangxdy <shang.xiaodong@zte.com.cn>
Thu, 21 Jul 2016 06:10:25 +0000 (14:10 +0800)
According to the simple tosca specification, substitution mapping only
supports key words of node_type, capabilities and requirements, but in
the definition of vRNC, add keywords of properties, so it will be
deleted

Change-Id: I45ca5f6d44410e5a6b8cdb448f3f148d63cc1376
JIRA: PARSER-67
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
docs/parser_docs/tosca2heat/examples/Simple_RNC.yaml
tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/vRNC.yaml

index 76fd002..83283f3 100644 (file)
@@ -76,8 +76,6 @@ topology_template:
 
   substitution_mappings:
     node_type: rnc.nodes.VNF
-    properties:
-      vnfmtype: UMTS
     requirements:
       virtualLink_VNFM: [ MM_Port_CTRL, virtualLink ]
       virtualLink_EMS: [ MM_Port_EMS, virtualLink ]
index bdd03c8..21f79e2 100644 (file)
@@ -74,8 +74,6 @@ topology_template:
 
   substitution_mappings:
     node_type: rnc.nodes.VNF
-    properties:
-      vnfmtype: UMTS
     requirements:
       virtualLink_VNFM: [ MM_Port_CTRL, virtualLink ]
       virtualLink_EMS: [ MM_Port_EMS, virtualLink ]