aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator
AgeCommit message (Collapse)AuthorFilesLines
2019-10-01reduce cognitive complexityEzhilarasi1-13/+10
Reduce cognitive complexity in test_network_format.py Change-Id: I6f42192988f7b3361479b66740e287b8f9e6d887 Issue-ID: VVP-313 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-09-27[VVP] updating version, adding releases folderstark, steven1-1/+1
Issue-ID: VVP-305 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I818c14325a5bcc274eef6359730738b028d85b97
2019-09-24Merge "added Is_nova_server method to helpers"Steven Wright1-0/+8
2019-09-20Merge "[VVP] Misc tweaks and fixes to preload generation"steven stark13-247/+2294
2019-09-20[VVP] Misc tweaks and fixes to preload generationLovett, Trevor13-247/+2294
* 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-19[VVP] Removed additional f-string for build-upload issueLovett, Trevor1-1/+1
Also made heat req't json and req't mapping optional in checks.py Change-Id: I38367e768de704cca3727bccb8f8bcdb04f9b193 Issue-ID: VVP-311 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-19[VVP] removing Information.txt from test csar filesstark, steven2-0/+0
Issue-ID: VVP-311 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I09275cb10ce59f0dcde506dc5594e586766e20d0
2019-09-18[VVP] Replaced test.csar in preload_testsLovett, Trevor3-11/+11
Issue-ID: VVP-311 Change-Id: I8b669a31511348a70915ccc91be597b8df097ae2 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-18added Is_nova_server method to helpers5.0.15.0.0Ezhilarasi1-0/+8
Added is_nova_server check to helpers to remove coginitve complexity in test files Change-Id: I20e68730947cc6472d693eca782bbee36a3c9e1b Issue-ID: VVP-285 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-09-10[VVP] Ensure Sonar coverage executes all testsLovett, Trevor1-51/+0
Today the Sonar coverage is only exercising the --self-tests which excludes the tests written for other functionality such as GUIs, helpers, and preload generation. This change will ensure all tests are executed by both verify jobs and Sonar coverage Issue-ID: VVP-251 Change-Id: I291b578aef477bfaaa9d8d061c5b8a23614d514a Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-06Enforce black code format via pre-commit hookLovett, Trevor14-39/+111
Issue-ID: VVP-203 Change-Id: If0de5b4bc1be0c9514decea1f4ff6f5ec79dc41b Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-06Fixed GUI not saving users' prior settingsLovett, Trevor2-4/+9
Change-Id: Id495e291ef6fe9f8ff024decfe27220a32e727ba Issue-ID: VVP-298 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-05[VVP] Preload Generation Enhancements and FixesLovett, Trevor12-45/+121
- 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-09-03Sonar issue fix in helpers.pyEzhilarasi1-3/+1
Change-Id: Ief18c717974498ea9b5f1fd2e2987db0d013b732 Issue-ID: VVP-172 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-08-30Sonarfix:Reduce coginitive complexity vmtype utilEzhilarasi1-5/+6
Change-Id: I4b82df8587b98a142e86031700f8c73e922184d5 Issue-ID: VVP-172 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-08-27[VVP] Generated completed preload from env filesLovett, Trevor39-609/+2808
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-21[VVP] test_environment_file_parameters violation fixstark, steven1-4/+5
test_environment_file_parameters check for environment violation is checking the wrong variable. Also doesn't handle environment files with no parameters gracefully. Issue-ID: VVP-267 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I9fbedbb5af4c045037131a7e7a7ca7f6c8febb14
2019-08-20Merge "[VVP] Adding preload generation functionality"Steven Wright20-360/+1549
2019-08-16[VVP] Adding preload generation functionalityLovett, Trevor20-360/+1549
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>
2019-08-13VNFRQTS - Update the rst table contentHagop Bozawglanian1-2/+1
Issue-ID: VNFRQTS-651 Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com> Change-Id: If4f535004e78cf3abaf0113eda3cbfa4e562fba1
2019-07-26Merge "[VVP] All http URLs in requirement link"steven stark1-1/+3
2019-07-25[VVP] All http URLs in requirement linkLovett, Trevor1-1/+3
Issue-ID: VVP-249 Change-Id: Ibfb8ccf735a8eaa29a6f1b1f6b2fbfd72d562feb Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-07-25[VVP] Fixed ParameterCollector nested get_paramLovett, Trevor1-1/+1
Issue-ID: VVP-248 Change-Id: I27d95c763cafe6d262ea8f6c03fbb3a7ba0f64dc Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-07-24[VVP] Fixed issue in unused parameter detectionLovett, Trevor2-147/+19
Issue-ID: VVP-247 Change-Id: I02e2da52fdfa31a1d056b9839063373453c8ace7 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-07-24Merge "[VVP] Adding bandit security scans and fixes"steven stark5-6/+9
2019-07-24[VVP] Adding bandit security scans and fixesLovett, Trevor5-6/+9
Issue-ID: VVP-244 Change-Id: Ia782f4cc7bf5a379ff8cdcce96cd2e7235998345 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-07-19[VVP] Update AZ tests to not apply to nested templatesLovett, Trevor2-1/+10
Issue-ID: VVP-226 Change-Id: I91e97b1b73daf6be83c227ff2deeeb4e72213ed5 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-07-19[VVP] Properly escape error messages in HTML outputLovett, Trevor2-3/+8
Issue-ID: VVP-159 Change-Id: I741e5abbc80fbcbbb5d7c0332e13217305532bfd Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-07-02[VVP] Modifies uses_sr_iov function in structures.py to return sr_iov true ↵Lokur, Manish1-5/+5
when vnic_type=direct Issue-ID: VVP-231 Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com> Change-Id: I9b42d682f9cca0b8ae68746c5472cf7903933558
2019-07-02[VVP-230] Modified test_non_server_name_unique for non-server name ↵Lokur, Manish1-5/+7
uniqueness check Used heat_template argument which loops through for each base template Created a list of base and it's nested templates for the test Issue-ID: VVP-230 Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com> Change-Id: I84d14ed61ac79d83894a47a79954f4ce8ac1615e
2019-07-01[VVP] Bug fix in conftest.pyLokur, Manish1-1/+1
Relatived Path function failed if the value is an empty string. Issue-ID: VVP-229 Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com> Change-Id: I811234cfc7c3c438bd8934568a3ccbb02bac013a
2019-06-19Merge "[VVP] Added support to display terms and force acceptance if desired"steven stark3-28/+27576
2019-06-19[VVP] Added support to display terms and force acceptance if desiredLovett, Trevor3-28/+27576
Issue-ID: VVP-195 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com> Change-Id: Ia66e8deabdb5945a2acc7dc5a652ffdb2429945e
2019-06-17Merge "[VVP] Allow multi-line error messages on error reports"Steven Wright2-7/+14
2019-06-14[VVP] Allow multi-line error messages on error reportsLovett, Trevor2-7/+14
Issue-ID: VVP-225 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com> Change-Id: Iebee13d29f8025b3dd5c147f2024a484789464f7
2019-06-10Merge "[VVP] Fix redundant errors: missing base module or nested dirs"Steven Wright3-32/+31
2019-06-07Merge "[VVP] Improved readability of reports"steven stark2-70/+37
2019-06-06[VVP] Fix redundant errors: missing base module or nested dirsLovett, Trevor3-32/+31
Change-Id: I50f9f3f0bd627124a679248b2cf630e818755c59 Issue-ID: VVP-218 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-06-06[VVP] Improved readability of reportsLovett, Trevor2-70/+37
- Removed resolution steps from all reports - Added error number to all reports - Only show base file names - Add auto-filter to excel reports - Shift test ID to right-most column of Excel - Removed raw output from Excel and CSV Change-Id: Ic022b0a14d53fbeab591def631b8743228e1d5c0 Issue-ID: VVP-184 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-06-06[VVP] Adding resource ID to error messageLokur, Manish1-2/+2
Issue-ID: VVP-224 Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com> Change-Id: I36f5033220593ea574d96c991fb1a07994089ef4
2019-06-06Merge "[VVP] removed fixtures for the deleted tests"steven stark2-160/+0
2019-06-06Merge "[VVP] Removed yamllint library"steven stark2-30/+27
2019-06-05[VVP] Removed yamllint libraryLovett, Trevor2-30/+27
Change-Id: If2c26b8650e8aba0a183d0cf47b1b3744dbfaf95 Issue-ID: VVP-201 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-06-05[VVP] removed fixtures for the deleted testsLokur, Manish2-160/+0
Issue-ID: VVP-223 Change-Id: I00def826ff322fa9ae6d308c1107e3cac659e061 Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com>
2019-06-05[VVP] removing duplicate test from vvpaarjvi,desai1-87/+0
Issue-ID: VVP-223 Signed-off-by: aarjvi,desai <aarjvi.desai@att.com> Change-Id: Iee4c666085cbe6fbef3ab37d2d85c9984b88f1d8
2019-06-05[VVP] Performance Enhancements (report generation and test collection)Lovett, Trevor4-126/+54
Issue-ID: VVP-222 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com> Change-Id: I9dd3506097cb0d6e69bd1434b2d42f6d1965023b
2019-05-30[VVP] Exempt output section from nested get_param checkLovett, Trevor4-17/+22
Change-Id: Ib87b0fb1c70c5689fc7687a21a27ea60934096b1 Issue-ID: VVP-220 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-05-28Merge "[VVP] Refine nested get_param test per R-10834 update"Steven Wright3-309/+308
2019-05-24[VVP] Refine nested get_param test per R-10834 updateLovett, Trevor3-309/+308
R-10834 was updated via VNFRQTS-646 to better reflect SDC's level of support Change-Id: I5232e7dc88c8c20f076788abf368bf33f4f1e1cb Issue-ID: VVP-219 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-05-23[VVP] adding heat template-validate teststark, steven10-0/+264
Issue-ID: VVP-218 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: If88f9b4b620aaffe61ead3b6f7d5c74dcfd14cba