summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/extensions
AgeCommit message (Collapse)AuthorFilesLines
2016-07-10Synchronise the openstack bugsshangxdy2-14/+1
When run unittests through tox, some test cases are always error, the errors are already done in openstack community, so it's necessary to synchronise the fixes. Change-Id: Ib29078e6cc138a474e89c6a2cc90ad7a1db1bb46 JIRA: PARSER-63 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-06-29Divide VDU into soft component and VDU for the vRNC caseshangxdy3-55/+160
Currently the heat-translator can't translate the VDU with interface, so VDU shall be divided into SoftComponent and VDU, and the interface will be expressed in SoftComponent node. Change-Id: I1f0e0c6bef88ed66edd39e21e4e6221eb15e3188 JIRA: PARSER-57 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-06-15Merge "Create vRNC test code."julien zhang1-0/+54
2016-06-13Create vRNC test code.shangxdy1-0/+54
Unit test code for vRNC case. JIRA: PARSER-34 Change-Id: Ie4a0431e3cdfd56d2ef42760da30a8f2bb6fdb5d Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-06-13Create test case about nfv toscashangxdy4-0/+638
As a developer; I want to known the availability of current nfv tosca definitions about node types, capabilities types and relationship types. So i create some test cases to validate it. JIRA: PARSER-34 Change-Id: Id57e38c066eea1d2090a816f5129aa95de464d32 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-05-15Add attributes of address to tosca.nodes.nfv.CP addressshangxdy1-0/+3
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>
2016-04-27Bug:tosca.nodes.nfv.CP definition is errorshangxdy1-5/+1
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>
2016-04-07Update tosca lib to version 0.5shangxdy8-0/+418
Use tosca-parser and heat-translator to analyze to the basic nfv-tosca type definitions, and use simple tosca new feature such as policy, group and trigger, which are now supported by the latest version of tosca-parser and heat-translator. JIRA:PARSER-18 Change-Id: I797bcacbb5b32005d0aeb0f3f32851ac96e30f01 Signed--off-by: shangxdy <shang.xiaodong@zte.com.cn> Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>