aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator
AgeCommit message (Collapse)AuthorFilesLines
2020-07-16[VVP] preload generation enhancementsstark, steven2-2/+11
Add "0" digit to end of VNF type If "module" has file extension, remove extension before parsing CSAR for module information. Issue-ID: VVP-440 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I9dae8643e4c602867cbbbfec1416ca67a0a1ad4f
2020-07-06[VVP] Additional check for RG paramsstark, steven1-0/+8
RG input params must match nested params Issue-ID: VVP-438 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I6ed1ea4bfd06f5d01f05a2187f6f77e38f44932d
2020-07-06[VVP] Bug fix for test_port_resource_idsstark, steven2-0/+100
Test was skipping if unable to determine network role or network type. Now it will fail them. Issue-ID: VVP-346 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I63cd3d911d976adfa4faaaf88de0498c3d86174c
2020-06-10Fixed error message get_attr testLovett, Trevor1-2/+2
Change-Id: I7eca403caa9e967f52250bd5b434523fbc177d09 Issue-ID: VVP-420 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2020-04-30Enforce filename rulesLovett, Trevor4-100835/+32369
Disallow characters other than alphanumerics and underscores in Heat template file names Change-Id: I097ad1830fdc10fb431daef6ec713d825ee8b42a Issue-ID: VVP-415 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2020-04-23[VVP] Updating test that parameters section must have paramstark, steven5-183/+10
Corresponding change: VNFRQTS-873 Issue-ID: VVP-404 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I38b2053d84525e753418090c7705b15035d375a5
2020-04-08[VVP] fixing relative imports for VVPstark, steven2-2/+2
Issue-ID: VVP-400 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I7d5c172a6f386a1d5b30bf82ddb9dafa3395b527
2020-03-24[VVP] bump vvp image to 6.0.06.0.0stark, steven1-2/+2
Issue-ID: VVP-389 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: Idd6cbe64f0c62b635301c99a56e09ac1830e6a36
2020-01-22VVP - Removed unused function and classLovett, Trevor2-39/+0
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com> Issue-ID: VVP-366 Change-Id: I02c952662bb8ed931f46c58cbf4ab100435d00fb
2020-01-21[VVP] base module is allowed to not have paramsstark, steven2-38/+9
- R-35413 was updated to exclude base modules. - Also updating other tests in file to use same logic. Issue-ID: VVP-365 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I1073981ab1c4d98c4d9669b712231a6a4c45f121
2020-01-21[VVP] Disallow vf_module_index look ups per R-55307Lovett, Trevor6-0/+319
Change-Id: I2aa9502cbb38f4b1be943d6d100164de1e1b1628 Issue-ID: VVP-354 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2020-01-17[VVP] Allow base templates to not have resourcesLovett, Trevor7-27/+111
Change-Id: I44232d58697ff95b418e9594451cda3c3a90c798 Issue-ID: VVP-361 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2020-01-16[VVP] Resources not allowed in 2nd level templatesLovett, Trevor20-964/+416
Cleaned up nesting detection logic Deleted test in Nova Server file as the nesting is no longer related to Nova servers Added check for resources in 2nd level nested files to existing test. Change-Id: I136efb786f67cf4c45fe4da3abaa3fcec024ba50 Issue-ID: VVP-357 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2020-01-16[VVP] update PLATFORM PROVIDED param in env checkstark, steven1-7/+7
Issue-ID: VVP-359 Change-Id: I4e8a5727a5cc04c288916f02f64514964e8cb38a Signed-off-by: stark, steven <steven.stark@att.com>
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-04Merge "[VVP] Support pluggable data sources for preload data"steven stark17-451/+1330
2019-12-04[VVP] Support pluggable data sources for preload dataLovett, Trevor17-451/+1330
Change-Id: Ia7fcfa25203a93eac93381f472e3ba1e6c11235f Issue-ID: VVP-339 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-12-04Remove unnecessary check for pytest.skipanushadasari1-3/+0
Issue-ID: VVP-288 Change-Id: I62c43cbc94fd8924eebd6594668829ffecb37801 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-11-21Use the get_param method to simplify the extraction of the parameter name ↵anushadasari1-2/+2
for subnet. It handles more cases, and will return none if get_param is not used Issue-ID: VVP-289 Change-Id: I3d5e889489c1a2107c2f3d1702f4d9000905924d Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-11-18[VVP] Updating vm_type class test to proceed if no cinderstark, steven4-10/+13
Other minor changes - updating error message to be more clear for vm_type class - updating test_network_format to handle nested files w/ no resources - updating ports.py to handle hardcoded str_replace param/values Issue-ID: VVP-342 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I63fcda582fe25dcedca87e874327b7ea56fe6ef3
2019-11-18Merge "Remove unnecessary check for pytest.skip"steven stark1-5/+0
2019-11-18Merge "change if bad to assert not bad, message"steven stark1-11/+7
2019-11-13Remove unnecessary check for pytest.skipanushadasari1-5/+0
Issue-ID: VVP-288 Change-Id: I1c099ce6450401d324a6beb16256e758d83dd44a Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-11-13change if bad to assert not bad, messageanushadasari1-11/+7
eliminates if statement Issue-ID: VVP-295 Change-Id: Ifa4a6cbaf79bfcab089fe9da4893aac661d70230 Signed-off-by: anushadasari <danush10@in.ibm.com>
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-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-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 "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>