aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/preload/model.py
AgeCommit message (Collapse)AuthorFilesLines
2020-01-14Excluding platform provided params from vnf-paramsLovett, Trevor1-0/+1
Issue-ID: VVP-356 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com> Change-Id: I2f307147453712f24311477974f5ff4c73552049
2019-12-04[VVP] Support pluggable data sources for preload dataLovett, Trevor1-53/+83
Change-Id: Ia7fcfa25203a93eac93381f472e3ba1e6c11235f Issue-ID: VVP-339 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-10-29[VVP] Make Preload Generation more reslient to failuresLovett, Trevor1-1/+2
Ensure that errors during preload do not prevent validation report creation Issue-ID: VVP-335 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com> Change-Id: I0cfd411b6a034422e349b96c462e68a4f0ceb876
2019-10-08[VVP] Flag duplicate parameters in .env filesLovett, Trevor1-1/+1
Also some minor tweaks to preload generation so it doesn't fail on partial heat templates Change-Id: If39288dde645b0b53a338e7672336807ffa1b6d7 Issue-ID: VVP-284 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-20[VVP] Misc tweaks and fixes to preload generationLovett, Trevor1-5/+20
* 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
2019-09-05[VVP] Preload Generation Enhancements and FixesLovett, Trevor1-2/+5
- All values flow to preload env templates (availability zones were not) - defaults.yaml should be in preload_env (includes vnf_name) - Ensure SDC Model Identifiers are documented in VNF API format (ex: vnf-type, etc.) - Ensure CSAR is used in VNF and GR API where appropriate and available - Flag populated preload templates with _incomplete when they are not fully resolved - If a value is still set to CHANGEME in the preload env, then revert to the original VALUE FOR from the blank preload template - Ensure app_tests/preload_tests/sample_heat passes all vvp validations - Added missing depedency (bandit) to requirements.txt Change-Id: Idf1d5e6e5237debcf3e94bed5fcf7c15e41c9e82 Issue-ID: VVP-283 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-08-27[VVP] Generated completed preload from env filesLovett, Trevor1-0/+437
User can supply an optional directory containing .env files and/or CSAR VSP which can be used to generate populated preloads in the requested format. The nested directories can be used to create sub-environments that inherit their settings from the parent directories. Optionally, values can be specified in a defaults.yaml and they will be used if that value is not defined in the .env file. This is useful if the parameter name and value will be the same in all modules. Issue-ID: VVP-278 Change-Id: Icd9846c63463537793db908be8ce5dba13c4bda3 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>