summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/hot/syntax/hot_resource.py
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2017-02-27 00:25:29 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2017-02-27 00:25:29 +0800
commit5a918c30a6c46605c616c2ffba1737ef9ea3ee3a (patch)
tree291bd80b54a36f0155600a23d1e7ba485a76404a /tosca2heat/heat-translator/translator/hot/syntax/hot_resource.py
parentf7b240c6893a48d71da29974e54cb560b6575eb3 (diff)
Fix heat-translator after sync code
Fix heat-translator after sync code from upstream JIRA:PARSER-120 Change-Id: I033fa7c09fea716d7568613f72643f1e4bf8cd19 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/heat-translator/translator/hot/syntax/hot_resource.py')
-rw-r--r--tosca2heat/heat-translator/translator/hot/syntax/hot_resource.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tosca2heat/heat-translator/translator/hot/syntax/hot_resource.py b/tosca2heat/heat-translator/translator/hot/syntax/hot_resource.py
index 6499333..80a62ff 100644
--- a/tosca2heat/heat-translator/translator/hot/syntax/hot_resource.py
+++ b/tosca2heat/heat-translator/translator/hot/syntax/hot_resource.py
@@ -28,7 +28,10 @@ SECTIONS = (TYPE, PROPERTIES, MEDADATA, DEPENDS_ON, UPDATE_POLICY,
policy_type = ['tosca.policies.Placement',
'tosca.policies.Scaling',
- 'tosca.policies.Scaling.Cluster']
+ 'tosca.policies.Scaling.Cluster',
+ 'tosca.policies.Placement.Colocate',
+ 'tosca.policies.Placement.Antilocate']
+
log = logging.getLogger('heat-translator')