summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/hot/tosca/tests/test_tosca_policies.py
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-09-09 02:16:12 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2016-09-09 02:16:12 +0800
commitf90be03da41fa8a233ecc84f54fa59d1f2f7021f (patch)
treecb8bd692a493e87fbf61770cba9c3b61ecdf6788 /tosca2heat/heat-translator/translator/hot/tosca/tests/test_tosca_policies.py
parenteaecb94d4361de61a4f276175b8c8099f37a4628 (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>
Diffstat (limited to 'tosca2heat/heat-translator/translator/hot/tosca/tests/test_tosca_policies.py')
-rw-r--r--tosca2heat/heat-translator/translator/hot/tosca/tests/test_tosca_policies.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tosca2heat/heat-translator/translator/hot/tosca/tests/test_tosca_policies.py b/tosca2heat/heat-translator/translator/hot/tosca/tests/test_tosca_policies.py
index 24368ab..881e5db 100644
--- a/tosca2heat/heat-translator/translator/hot/tosca/tests/test_tosca_policies.py
+++ b/tosca2heat/heat-translator/translator/hot/tosca/tests/test_tosca_policies.py
@@ -74,7 +74,8 @@ class ToscaPoicyTest(TestCase):
'group': {
'get_resource':
'my_compute_placement_policy'}},
- 'user_data_format': 'SOFTWARE_CONFIG'}
+ 'user_data_format': 'SOFTWARE_CONFIG',
+ 'software_config_transport': 'POLL_SERVER_HEAT'}
self._tosca_policy_test(
tpl_snippet,
expectedprops)