diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2016-04-22 08:04:03 -0400 |
---|---|---|
committer | shangxdy <shang.xiaodong@zte.com.cn> | 2016-04-27 01:37:36 -0400 |
commit | 40f33ecff43279f689e8bfbecf012e8b8e95126b (patch) | |
tree | 54168b9eff5d6a67375202bb45a0044fff60a232 /tosca2heat/tosca-parser | |
parent | 2fa4785aa218cf655f3405d832d2200d64fd033e (diff) |
Bug:tosca.nodes.nfv.CP definition is error
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 <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser')
-rw-r--r-- | tosca2heat/tosca-parser/toscaparser/extensions/nfv/TOSCA_nfv_definition_1_0.yaml | 6 |
1 files changed, 1 insertions, 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 |