Replace the policie types with parent type when judging policy node 59/19359/1
authorshangxdy <shang.xiaodong@zte.com.cn>
Tue, 23 Aug 2016 02:36:25 +0000 (10:36 +0800)
committerjulien zhang <zhang.jun3g@zte.com.cn>
Tue, 23 Aug 2016 14:24:45 +0000 (14:24 +0000)
commit212d539d92a8d0b20af4d8ccb153b744fdc6e303
tree1f6646e790397661dd37a5f2823c827bc1d2bfed
parent1a9b3ea86e026115938b1872ac1fc3bce30055ed
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>
(cherry picked from commit f567dd66c9517acda42559e2c471d40e3401531e)
tosca2heat/heat-translator/translator/hot/syntax/hot_resource.py