From 5a918c30a6c46605c616c2ffba1737ef9ea3ee3a Mon Sep 17 00:00:00 2001 From: shangxdy Date: Mon, 27 Feb 2017 00:25:29 +0800 Subject: Fix heat-translator after sync code Fix heat-translator after sync code from upstream JIRA:PARSER-120 Change-Id: I033fa7c09fea716d7568613f72643f1e4bf8cd19 Signed-off-by: shangxdy --- tosca2heat/heat-translator/translator/hot/syntax/hot_resource.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tosca2heat/heat-translator/translator/hot/syntax') 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') -- cgit 1.2.3-korg