Support use_autoconfig in sahara clusters
Since 0.10.0 python-saharaclient has ability to specify use_autoconfig parameter when creating clusters. This patch adds support for this feature to OS::Sahara::Cluster resource in Heat. Change-Id: I91c039d95db6702ffed3a156aaa296e54305ef4d
This commit is contained in:
@@ -94,7 +94,8 @@ class SaharaClusterTest(common.HeatTestCase):
|
||||
expected_kwargs = {'cluster_template_id': 'some_cluster_template_id',
|
||||
'user_keypair_id': 'admin',
|
||||
'default_image_id': 'some_image_id',
|
||||
'net_id': 'some_network_id'}
|
||||
'net_id': 'some_network_id',
|
||||
'use_autoconfig': None}
|
||||
self.cl_mgr.create.assert_called_once_with(*expected_args,
|
||||
**expected_kwargs)
|
||||
self.cl_mgr.get.assert_called_once_with(self.fake_cl.id)
|
||||
|
||||
Reference in New Issue
Block a user