diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2016-12-06 16:49:19 +0800 |
---|---|---|
committer | shangxdy <shang.xiaodong@zte.com.cn> | 2016-12-07 17:12:36 +0800 |
commit | f4bd2f371d6afa92c804b3b3a6eccba9e931484b (patch) | |
tree | 3fb87048a8bf015eafcbf2beef6636d5a1d49923 /tosca2heat | |
parent | a618161aad8ebbcf3a613ab3fe1cc4b615542e95 (diff) |
Add output in vRNC for substitution mappings
Add attributes in rnc.nodes.VNF definition.
JIRA:PARSER-114
Change-Id: I8578cc89dc58202893370d367dc9923ddc1c111a
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat')
2 files changed, 17 insertions, 4 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/rnc_definition.yaml b/tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/rnc_definition.yaml index 62ed2ad..52fbd4c 100644 --- a/tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/rnc_definition.yaml +++ b/tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/rnc_definition.yaml @@ -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 diff --git a/tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/vRNC.yaml b/tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/vRNC.yaml index 921301b..4441372 100644 --- a/tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/vRNC.yaml +++ b/tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/vRNC.yaml @@ -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 |