Add output in vRNC for substitution mappings 17/25517/2
authorshangxdy <shang.xiaodong@zte.com.cn>
Tue, 6 Dec 2016 08:49:19 +0000 (16:49 +0800)
committershangxdy <shang.xiaodong@zte.com.cn>
Wed, 7 Dec 2016 09:12:36 +0000 (17:12 +0800)
Add attributes in rnc.nodes.VNF definition.

JIRA:PARSER-114

Change-Id: I8578cc89dc58202893370d367dc9923ddc1c111a
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/rnc_definition.yaml
tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/vRNC.yaml

index 62ed2ad..52fbd4c 100644 (file)
@@ -42,6 +42,19 @@ node_types:
         required: false
         constraints:
           - valid_values: [ TDS-CDMA, UMTS, CDMA ]
+    attributes:
+      private_ip_of_MM:
+        type: string
+        description: IP of master MM
+      private_ip_of_CM:
+        type: string
+        description: IP of master CM
+      private_ip_of_DM:
+        type: string
+        description: IP of master DM
+      private_ip_of_LB:
+        type: string
+        description: IP of master LB
     requirements:
       - virtualLink_VNFM:
           capability: tosca.capabilities.nfv.VirtualLinkable
index 921301b..4441372 100644 (file)
@@ -487,19 +487,19 @@ topology_template:
   # definition of output parameters for the topology template
   outputs:
     private_ip_of_MM:
-      description: The private IP address of the MM.
+      description: The Inner(CtrPlane) IP address of the MM.
       value: { get_attribute: [ MM_Active_Host, private_address ] }
 
     private_ip_of_CM:
-      description: The private IP address of the CM.
+      description: The Inner(CtrPlane)  IP address of the CM.
       value: { get_attribute: [ CM_Active_Host, private_address ] }
 
     private_ip_of_DM:
-      description: The private IP address of the DM.
+      description: The Inner(CtrPlane)  IP address of the DM.
       value: { get_attribute: [ DM_Host, private_address ] }
 
     private_ip_of_LB:
-      description: The private IP address of the LB.
+      description: The Inner(CtrPlane)  IP address of the LB.
       value: { get_attribute: [ LB_Host, private_address ] }
 
   # definition of logical groups of node templates within the topology