From: shangxdy Date: Sun, 15 May 2016 18:33:58 +0000 (-0400) Subject: Add attributes of address to tosca.nodes.nfv.CP address X-Git-Tag: colorado.1.0~79^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=35d22b24de270981018dd5f798e5cce762ff73f4;p=parser.git Add attributes of address to tosca.nodes.nfv.CP address According to the openstack comments, it's necessary to add the attribute of address, which was deleted because the IP_address was duplication to CP's parent's attributes. The related modifications are refer to: 1. https://gerrit.opnfv.org/gerrit/#/c/12567. 2. https://bugs.launchpad.net/tosca-parser/+bug/1574715. JIRA: PARSER-36 Change-Id: I6bf894cbba440013175df478cce00fa08906dc19 Signed-off-by: shangxdy --- diff --git a/tosca2heat/tosca-parser/toscaparser/extensions/nfv/TOSCA_nfv_definition_1_0.yaml b/tosca2heat/tosca-parser/toscaparser/extensions/nfv/TOSCA_nfv_definition_1_0.yaml index 69cd38d..660cdc0 100644 --- a/tosca2heat/tosca-parser/toscaparser/extensions/nfv/TOSCA_nfv_definition_1_0.yaml +++ b/tosca2heat/tosca-parser/toscaparser/extensions/nfv/TOSCA_nfv_definition_1_0.yaml @@ -72,6 +72,9 @@ tosca.nodes.nfv.CP: capability: tosca.capabilities.nfv.VirtualBindable relationship: tosca.relationships.nfv.VirtualBindsTo node: tosca.nodes.nfv.VDU + attributes: + address: + type: string tosca.nodes.nfv.VL: derived_from: tosca.nodes.network.Network