bugs:The code in function of get_all_requirements is duplicated 63/14163/1
authorshangxdy <shang.xiaodong@zte.com.cn>
Sun, 15 May 2016 18:52:29 +0000 (14:52 -0400)
committershangxdy <shang.xiaodong@zte.com.cn>
Sun, 15 May 2016 18:52:29 +0000 (14:52 -0400)
commit68cd5714afa7f4d903c2d52bbb8f2a3dc4118f61
tree13ec91aeec4cddb7a66a030cdc657760de956fa7
parent05fee6dbbe8d0404d68a4d510b4a0929ee0e2025
bugs:The code in function of get_all_requirements is duplicated

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>
tosca2heat/tosca-parser/toscaparser/elements/nodetype.py