aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/preload_vnfapi
AgeCommit message (Collapse)AuthorFilesLines
2019-09-06Enforce black code format via pre-commit hookLovett, Trevor1-1/+3
Issue-ID: VVP-203 Change-Id: If0de5b4bc1be0c9514decea1f4ff6f5ec79dc41b Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-05[VVP] Preload Generation Enhancements and FixesLovett, Trevor1-7/+21
- 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-40/+45
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>
2019-08-16[VVP] Adding preload generation functionalityLovett, Trevor7-0/+257
preload.py discovers and loads implementations of AbstractPreloadGenerator from any module on sys.path prefixed with preload_* Initial support is provided for VNF-API and GR-API. The templates will provide a guide for users to provide their values. Known limitations: - No support for Contrail. Preload will be created, but contrail parameters will be skipped. This will be addressed in the future. Issue-ID: VVP-227 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I081d50ac379062fbf1bffebd687e920220d32571 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com> Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>