vnfd: name and description was not supported
make it pass to tacker server Change-Id: I1b8ec2b45568a870782ca38e8930b2def38d163b
This commit is contained in:
@@ -428,6 +428,9 @@ class Client(ClientBase):
|
|||||||
'infra_driver': 'heat',
|
'infra_driver': 'heat',
|
||||||
'mgmt_driver': 'noop',
|
'mgmt_driver': 'noop',
|
||||||
}
|
}
|
||||||
|
KEY_LIST = ('name', 'description')
|
||||||
|
args_.update(dict((key, args[key])
|
||||||
|
for key in KEY_LIST if key in args))
|
||||||
body_ = {self._DEVICE_TEMPLATE: args_}
|
body_ = {self._DEVICE_TEMPLATE: args_}
|
||||||
if 'vnfd' in args:
|
if 'vnfd' in args:
|
||||||
args_['attributes'] = {'vnfd': args['vnfd']}
|
args_['attributes'] = {'vnfd': args['vnfd']}
|
||||||
|
Reference in New Issue
Block a user