aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-11-12[VVP] updating ports.py to check str_replace paramsstark, steven10-491/+317
allowed_address_pairs/ip_address can use CIDR format, and is often done by using the intrinsic function str_replace. This update will naively go through each param in a str_replace to check if one is a valid allowed_address_pair/ip_address parameter. Issue-ID: VVP-341 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I24e7ad6b74e5795b577d99468517287be46cd2b7
2019-11-12Merge "[VVP] Fix issue floating IP params for R-35666"steven stark1-2/+2
2019-11-12Merge "[VVP] Handle intrinsic functions in prop_iterator"steven stark1-4/+26
2019-11-12Merge "Remove unnecessary check for pytest.skip"steven stark1-6/+0
2019-11-12Merge "Skip unnecessary resource/pytest.skip check"steven stark1-4/+0
2019-11-12[VVP] Fix issue floating IP params for R-35666Lovett, Trevor1-2/+2
Change-Id: I5071958a0709ad2d9606eea8ab90247b6a3283b8 Issue-ID: VVP-340 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-11-12[VVP] Handle intrinsic functions in prop_iteratorLovett, Trevor1-4/+26
Change-Id: I68131190f84b60276c56ad140d16a3792b764fdc Issue-ID: VVP-336 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-11-07[VVP] updating oparent version to 2.1.0stark, steven1-1/+1
Issue-ID: VVP-324 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I0f661d015b6382b66b1e4658c27119cf67765e98
2019-11-04Remove unnecessary check for pytest.skipanushadasari1-6/+0
Issue-ID: VVP-290 Change-Id: I81a67dc0a2574dd3bea2a1b86d4cc3f6644c28b2 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-11-04Skip unnecessary resource/pytest.skip checkanushadasari1-4/+0
Issue-ID: VVP-295 Change-Id: Ia8b367859f4bbf9bc4366d2574f082ace863ef15 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-10-30Sonar fix for vvp 291 and 292Mamtha2-22/+6
Issue-ID: VVP-291 Change-Id: I4d2eebbb9d4d96b17cc09a5de34e95e41cb9ec7d Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
2019-10-29[VVP] Make Preload Generation more reslient to failuresLovett, Trevor2-2/+7
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-16[VVP] Allow any_of and all_of in categories decoratorLovett, Trevor1-6/+2
Change-Id: I76ff9ebd7108d2ef19a3f167c5a253a3ce5f07f7 Issue-ID: VVP-331 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-10-16[VVP] Support any_of in categories decoratorLovett, Trevor2-25/+30
If specified, then the test will be selected if any of the passed categories from the command line are in the tests categories. This is different than the default behavior where all categories must match Change-Id: Iee08556d6c07eac2663ff2ff2e89bcd7a18cd392 Issue-ID: VVP-330 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-10-08[VVP] Flag duplicate parameters in .env filesLovett, Trevor10-31/+112
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-10-07[VVP] Enforce R-35666 by ensuring a network exists for int_ parametersLovett, Trevor13-108/+446
Implements a basic sanity check that if parameters match the internal network naming convention, then we ensure the network itself was defined in a heat template. Change-Id: I37c84e2c62745a51a90dd60f0aaeb213d784f003 Issue-ID: VVP-327 Signed-off-by: Lovett, Trevor (tl2972) <trevor.lovett@att.com>
2019-10-04[VVP] Bug fix if resource value is hardcodedstark, steven1-2/+9
If the property value isn't a dictionary than the test run crashes Issue-ID: VVP-313 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I926bc233909db245d5a051035f26fefaa39b5ede
2019-10-04Merge "Refactor function to reduce Cognitive Complexity"Steven Wright1-3/+1
2019-10-04Merge "Sonarfix in structures.py"Steven Wright1-7/+11
2019-10-04Reduced coginitive compexity from 16 to 15Ezhilarasi1-4/+4
Change-Id: I416e39f80ede88365b748a2c5c4d46f439a79dd1 Issue-ID: VVP-313 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-10-04Sonarfix in structures.pyEzhilarasi1-7/+11
Reduced cognitive complexity Change-Id: I2f435ba1d5980405fed66bfb1e4f4ad543b0ba4e Issue-ID: VVP-286 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-10-03Refactor function to reduce Cognitive Complexityanushadasari1-3/+1
Issue-ID: VVP-314 Change-Id: I0843dde3cc01ef2efbb08a282b93c5e3414a1cd2 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-10-01Merge "Sonarfix: Reduce cognitive complexity"elaltoSteven Wright1-14/+5
2019-10-01Merge "Sonarfix: Reduced cognitive compexity"Steven Wright1-19/+12
2019-10-01Merge "[VVP] updating release version to 5.0.1"Steven Wright1-1/+1
2019-10-01Merge "Reduce cognitive complexity"Steven Wright1-8/+2
2019-10-01Merge "Sonarfix: Reduce cognitive complexity"Steven Wright1-7/+1
2019-10-01Sonarfix: Reduce cognitive complexityEzhilarasi1-14/+5
Reduced cognitive complexity in validate_metadata method Change-Id: I195971985214f54a44c56a2e425825251a91c83b Issue-ID: VVP-294 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
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-10-01Sonarfix: Reduced cognitive compexityEzhilarasi1-19/+12
Reduced cognitive compexity by replacing if conditions Change-Id: If198c2b82dd132c343bbe9db8cd3064750998785 Issue-ID: VVP-287 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-09-30[VVP] updating release version to 5.0.1stark, steven1-1/+1
Issue-ID: VVP-305 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I5c07583d9e1286f4f3ca2290e7ead6c11ade173d
2019-09-27[VVP] updating version, adding releases folderstark, steven3-2/+10
Issue-ID: VVP-305 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I818c14325a5bcc274eef6359730738b028d85b97
2019-09-26Sonarfix: Reduce cognitive complexityEzhilarasi1-7/+1
Change-Id: I18a9802c643f778c2aedb658848c091ff8a1587c Issue-ID: VVP-296 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-09-26Reduce cognitive complexityEzhilarasi1-8/+2
Sonar fix to reduce cognitive complexity in method test_vm_type_assignments_on_nova_servers_only_use_get_param Change-Id: I52d78ee4252cee5a6406406bc60629583ac0bfa3 Issue-ID: VVP-293 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
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 stark14-247/+2295
2019-09-20[VVP] Misc tweaks and fixes to preload generationLovett, Trevor14-247/+2295
* 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, Trevor2-12/+13
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-18Merge "[VVP] Replaced test.csar in preload_tests"steven stark3-11/+11
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-17[VVP] Only install black on py 3.6 and upLovett, Trevor1-1/+1
Issue-ID: VVP-310 Change-Id: I352773d923c0cd4a7a8cc146504520031ebb32e8 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-10[VVP] Ensure Sonar coverage executes all testsLovett, Trevor3-53/+3
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, Trevor19-60/+179
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, Trevor13-45/+122
- 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, Trevor42-620/+2827
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>