summaryrefslogtreecommitdiffstats
path: root/tosca2heat
AgeCommit message (Collapse)AuthorFilesLines
2016-06-16The artifacttype's parent_type definition is errorshangxdy2-9/+18
1. Artifact type define parent_type, but it shall be statuefulentity, not string, so the method of is_derived_from in artifact entity may be error when it's called. 2. The bug will submit to openstack community. Change-Id: I8e64a28da0287ff5653da69a0cf15016c8ed937f JIRA: PARSER-53 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-05-19Merge "bugs:The code in function of get_all_requirements is duplicated"julien zhang1-19/+1
2016-05-19Merge "Add attributes of address to tosca.nodes.nfv.CP address"julien zhang1-0/+3
2016-05-19Merge "Add affinity policy type definition"julien zhang1-0/+10
2016-05-15bugs:The code in function of get_all_requirements is duplicatedshangxdy1-19/+1
1、The virtualLink requirement of tosca.nodes.nfv.CP defined below: In nodetype.py, the most code in functon of get_all_requirements is not needed,becuase the property of requirements has realized the main logical in current get_all_requirements. So the duplicated code will be deleted. 2、The bug will be submitted to openstack community. JIRA: PARSER-37 Change-Id: I1a346ffc388546dd9c65a1b8d32e32859150d077 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-27Add affinity policy type definitionshangxdy1-0/+10
Add two definition in parser: tosca.policy.Placement.Colocate tosca.policy.Placement.Antilocate JIRA:PARSER-33 Change-Id: I0259bbc1ce2616dcbc28a912c34a7513e9432ff5 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.5shangxdy498-2567/+6046
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>
2015-12-22JIRA:PARSER-15 Provide Standalone Heat-Translator Liberty Pypi Packageszhipengh419-0/+26052
2015-03-24JIRA:PARSER-1 -Basic Setup For Parser Gerrit Repohannibalhuang1-0/+1
Change-Id: Iec2941e6f11416c896fedd5d3c8ec249302c40be Signed-off-by: hannibalhuang <huangzhipeng@huawei.com>