|
|
|
@ -3731,6 +3731,14 @@ class DecortController(object):
|
|
|
|
|
|
|
|
|
|
self.result['waypoints'] = "{} -> {}".format(self.result['waypoints'], "bservice_provision")
|
|
|
|
|
|
|
|
|
|
if self.amodule.check_mode:
|
|
|
|
|
result_msg = 'bservice_provision() in check mode: No changing.'
|
|
|
|
|
if self.result.get('msg'):
|
|
|
|
|
self.result['msg'] += f'\n{result_msg}'
|
|
|
|
|
else:
|
|
|
|
|
self.result['msg'] = result_msg
|
|
|
|
|
return 0
|
|
|
|
|
|
|
|
|
|
api_url = "/restmachine/cloudapi/bservice/create"
|
|
|
|
|
api_params = dict(
|
|
|
|
|
name = bs_name,
|
|
|
|
|