diff --git a/tackerclient/v1_0/client.py b/tackerclient/v1_0/client.py index 9a91ca16..4dee7fb4 100644 --- a/tackerclient/v1_0/client.py +++ b/tackerclient/v1_0/client.py @@ -467,10 +467,11 @@ class Client(ClientBase): for key in ('tenant_id', 'name'): if key in arg: arg_[key] = arg[key] + arg_['attributes'] = {} if 'config' in arg: - arg_['attributes'] = {'config': arg['config']} + arg_['attributes']['config'] = arg['config'] if 'param_values' in arg: - arg_['attributes'] = {'param_values': arg['param_values']} + arg_['attributes']['param_values'] = arg['param_values'] body_ = {self._DEVICE: arg_} ret = self.create_device(body_) return {self._VNF: ret[self._DEVICE]}