From 40f33ecff43279f689e8bfbecf012e8b8e95126b Mon Sep 17 00:00:00 2001 From: shangxdy Date: Fri, 22 Apr 2016 08:04:03 -0400 Subject: Bug:tosca.nodes.nfv.CP definition is error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1、The virtualLink requirement of tosca.nodes.nfv.CP defined below: - virtualLink: capability: tosca.capabilities.VirtualLinkable But the tosca.capabilities.VirtualLinkable does not exsit in simple tosca(which is tosca.capabilities.Linkable), it should be tosca.capabilities.nfv.VirtualLinkable in nfv tosca. Additonally, the attribute definition of IP_address in CP is not needed because the parent node type tosca.nodes.network.Port also includes the same attributes ip_address. 2、The bug will be submitted to openstack community. JIRA:PARSER-32 Change-Id: I8f70747675dd6623380493d0436d9516c545d705 Signed-off-by: shangxdy --- .../toscaparser/extensions/nfv/TOSCA_nfv_definition_1_0.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 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 b82250e..69cd38d 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 @@ -65,17 +65,13 @@ tosca.nodes.nfv.CP: required: false requirements: - virtualLink: - capability: tosca.capabilities.VirtualLinkable + capability: tosca.capabilities.nfv.VirtualLinkable relationship: tosca.relationships.nfv.VirtualLinksTo node: tosca.nodes.nfv.VL - virtualBinding: capability: tosca.capabilities.nfv.VirtualBindable relationship: tosca.relationships.nfv.VirtualBindsTo node: tosca.nodes.nfv.VDU - attributes: - IP_address: - type: string - required: false tosca.nodes.nfv.VL: derived_from: tosca.nodes.network.Network -- cgit 1.2.3-korg