summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-05-15 14:33:58 -0400
committershangxdy <shang.xiaodong@zte.com.cn>2016-05-15 14:33:58 -0400
commit35d22b24de270981018dd5f798e5cce762ff73f4 (patch)
tree205ec7de32b2132a6802450ac5766115d7332b15
parent05fee6dbbe8d0404d68a4d510b4a0929ee0e2025 (diff)
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 <shang.xiaodong@zte.com.cn>
-rw-r--r--tosca2heat/tosca-parser/toscaparser/extensions/nfv/TOSCA_nfv_definition_1_0.yaml3
1 files changed, 3 insertions, 0 deletions
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