Fixes vnf create failure even if all parameters are supplied
This commit adds code to fix the issue where vnf creation fails even if all the parameter values are supplied for the get_input parameters in VNFD template. The code was not properly handling the scenario where a certain non-vdu section may not have been parameterized in the VNFD template Change-Id: I459b0d4104cafeda6c26c5223e571f76cb5300da Closes-Bug: #1501910
This commit is contained in:
parent
6be322e69f
commit
caee775836
|
@ -108,7 +108,7 @@ class DeviceHeat(abstract_driver.DeviceAbstractDriver):
|
|||
@log.log
|
||||
def _update_params(self, original, paramvalues, match=False):
|
||||
for key, value in original.iteritems():
|
||||
if not isinstance(value, dict):
|
||||
if not isinstance(value, dict) or 'get_input' not in str(value):
|
||||
pass
|
||||
elif isinstance(value, dict):
|
||||
if not match:
|
||||
|
|
Loading…
Reference in New Issue