Replace the policie types with parent type when judging policy node 73/19273/1
authorshangxdy <shang.xiaodong@zte.com.cn>
Tue, 23 Aug 2016 02:36:25 +0000 (10:36 +0800)
committershangxdy <shang.xiaodong@zte.com.cn>
Tue, 23 Aug 2016 02:36:25 +0000 (10:36 +0800)
commitf567dd66c9517acda42559e2c471d40e3401531e
tree0081f301f906aaa0568d903643c643fc1e6a31af
parentd93490753ba93e4c3aa00cd487855e3d2970ae9a
Replace the policie types with parent type when judging policy node
template in HotResource

In class of HotResource, because the policy node template has not
interface property, so it is excepted when get all operation from node,
but the policy types are enumerated, they are can expressed with parent
type.

JIRA:PARSER-97

Change-Id: I6393dcaefc774af3aa627ffa287b75083a173f3f
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
tosca2heat/heat-translator/translator/hot/syntax/hot_resource.py