summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-09-09 02:16:12 +0800
committerxiaodong shang <shang.xiaodong@zte.com.cn>2016-09-12 14:53:00 +0000
commit10d501cf6ab7e2e892b4ce8ae4144be3d28df39a (patch)
treedd3354f176a175f9a07291a5d19a44beadebd357 /tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py
parentb16327d5e53a873d1b4bd473015dd201d167ae5e (diff)
Add property of software_config_transport in compute node
According to hot syntax, when deploy software into compute, it shall include software_config_transport property in server resource, because the openstack environment configuration may not support the default value. so the software_config_transport shall be specified. JIRA:PARSER-105 Change-Id: Iefe50400ae2008214bb8cb98dde719130553b3bf Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn> (cherry picked from commit f90be03da41fa8a233ecc84f54fa59d1f2f7021f)
Diffstat (limited to 'tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py')
-rw-r--r--tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py b/tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py
index 9ceb049..16d0518 100644
--- a/tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py
+++ b/tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py
@@ -104,6 +104,7 @@ class ToscaCompute(HotResource):
self.nodetemplate.get_capability('host'),
self.nodetemplate.get_capability('os'))
self.properties['user_data_format'] = 'SOFTWARE_CONFIG'
+ self.properties['software_config_transport'] = 'POLL_SERVER_HEAT'
tosca_props = self.get_tosca_props()
for key, value in tosca_props.items():
if key in self.ALLOWED_NOVA_SERVER_PROPS: