aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/preload/generator.py
diff options
context:
space:
mode:
authorLovett, Trevor <trevor.lovett@att.com>2019-09-19 14:03:55 -0500
committerLovett, Trevor (tl2972) <tl2972@att.com>2019-09-20 09:52:15 -0500
commit8fbae03a8758bb7c5aff28b0d7334db8c81b2d0f (patch)
tree48519171b2897e6acc0c8b2ee0c26153299e10be /ice_validator/preload/generator.py
parentff44cf54a9661597443f4f0a9ae9c5328aa4f22e (diff)
[VVP] Misc tweaks and fixes to preload generation
* Use VALUE_FOR if value is still CHANGE me in .env file * Fix issues with improper parameters being put in VNF parameters in the preload * Fix issue where lists of parameter values pulled from env file could only be put in one template * Exclude platform provided parameters from VNF parameters in preload * Fixed issues with parameter validations * Updated heat requirements * implemented missing test for new requirement that all incremental modules must have a nova server Issue-ID: VVP-312 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com> Change-Id: I1a1225097544b690fb9b854c8a3d9e036f694d6a
Diffstat (limited to 'ice_validator/preload/generator.py')
-rw-r--r--ice_validator/preload/generator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ice_validator/preload/generator.py b/ice_validator/preload/generator.py
index 6c0d4b8..3da4014 100644
--- a/ice_validator/preload/generator.py
+++ b/ice_validator/preload/generator.py
@@ -258,6 +258,7 @@ class AbstractPreloadGenerator(ABC):
if not value:
value = self.current_module_env.get(param_name)
if isinstance(value, list):
+ value = value.copy()
value.reverse()
self.env_cache[param_name] = value
if value and single and isinstance(value, list):