aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator
AgeCommit message (Collapse)AuthorFilesLines
2019-05-14[VVP] Adding env file checks for contrailLovett, Trevor17-82/+710
* Introduced helper method get_param to handle extracting param names from both get_params with string and list arguments * Moved test files for environment tests to independent directories to make it easier to isolate unit tests * Added contrail tests related to env file usage related to VNFRQTS-630 Change-Id: I3b44f0ce2d5657e9ab5290cd77f1422b36052b6a Issue-ID: VVP-213 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-05-13[VVP] Adding tests for new reqs from VNFRQTS-630stark, steven18-219/+599
Added tests for reqs: R-100010, R-100030, R-100050, R-100070, R-100090, R-100110, R-100130, R-100150, R-100200, R-100220, R-100240, R-100310, R-100330, R-100360, R-100370, R-100260, R-100000, R-100190, R-100350 Updated neutron param tests to re-use validation code for contrail tests Change-Id: I84af725ca9de176dc690fffda01ffcad453213ea Issue-ID: VVP-211 Signed-off-by: stark, steven <steven.stark@att.com>
2019-05-10[VVP] updating version in pom and versions.pystark, steven1-1/+1
- version # is now representative of the official ONAP release version Change-Id: I4dcf6190c427c5092b00a237fa6dc6b9f0fc73f8 Issue-ID: VVP-209 Signed-off-by: stark, steven <steven.stark@att.com>
2019-05-09Merge "[VVP] adding list support for non-server-name uniqueness"Steven Wright2-3/+29
2019-05-09Merge "[VVP] relaxing test_contrail_fqdn"Steven Wright2-5/+20
2019-05-02[VVP] adding list support for non-server-name uniquenessstark, steven2-3/+29
Change-Id: I9990cc0f3535df96f1ea7679fb87aea36398f433 Issue-ID: VVP-179 Signed-off-by: stark, steven <steven.stark@att.com>
2019-05-02[VVP] relaxing test_contrail_fqdnstark, steven2-5/+20
Test now only validates if using get_param. This allows connecting to internal networks via get_resource, get_attr, etc.. Change-Id: Ib0e9f014b62669aec48d8421a6de97a919126fd6 Issue-ID: VVP-191 Signed-off-by: stark, steven <steven.stark@att.com>
2019-05-02[VVP] adding subnet_uuid to nested parameter checkstark, steven5-1/+28
Change-Id: If0ae761fa20c24b3839234f23037fff6b32d851b Issue-ID: VVP-199 Signed-off-by: stark, steven <steven.stark@att.com>
2019-04-29VNFRQTS - update contrail validationHagop Bozawglanian2-4/+1
Issue-ID: VVP-200 Change-Id: Iae2b9941ac6470e94df988daf9a306924fa3ca3b Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
2019-04-22[VVP] updating nested parameter teststark, steven16-389/+962
R-708564 was updated in RTD to target explicit parameters Change-Id: If860903ae13b76543c43f3e805b8aa03e9e2019d Issue-ID: VVP-197 Signed-off-by: stark, steven <steven.stark@att.com>
2019-04-16Merge "[VVP] Case-insensitive network role comparison"steven stark2-5/+5
2019-04-16[VVP] Case-insensitive network role comparisonLovett, Trevor2-5/+5
Change-Id: I3a761040770bac59093e105acda6b59e9f955c48 Issue-ID: VVP-194 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-04-16[VVP] Reports show test file and case nowLovett, Trevor1-3/+10
Change-Id: I017c1830b61b186f52ba2fe29db03dd41cb68b26 Issue-ID: VVP-192 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-04-15[VVP] Updated network param validations per reqtsLovett, Trevor25-578/+878
Change-Id: Idb0e051d6063cd94b733ed68093989d527592c9f Issue-ID: VVP-193 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com> Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-04-12Merge "[VVP] updating v6 regex for fip/ip and fip/subnet"Steven Wright2-6/+6
2019-04-11Merge "[VVP] adding base test failure message to report"Steven Wright1-1/+4
2019-04-11[VVP] updating v6 regex for fip/ip and fip/subnetstark, steven2-6/+6
Change-Id: Ia7acc252d6a1429ec0c73f720bb1308dd70178b5 Issue-ID: VVP-188 Signed-off-by: stark, steven <steven.stark@att.com>
2019-04-09[VVP] restricting ip index check to resourcesstark, steven7-204/+73
Restricting check for ip parameter indices to only those parameters that are used in OS::Neutron::Port Issue-ID: VVP-190 Change-Id: Ifaf1a40ee47bcaf83657fe58a33e229c4126b4e8 Signed-off-by: stark, steven <steven.stark@att.com>
2019-04-08[VVP] adding base test failure message to reportstark, steven1-1/+4
Change-Id: Ibdb75750624d1482d87466b17aa2486f794a5fd6 Issue-ID: VVP-189 Signed-off-by: stark, steven <steven.stark@att.com>
2019-03-21Merge "VVP - Fixing script to include static validations"Steven Wright2-251/+1001
2019-03-21[VVP] updating OS::Neutron::Port parameter testsstark, steven21-2972/+316
AAP, FIP/IP, FIP/Subnet parameters use same validation (ports.py) REGEX moved to specific tests Added tests for R-159016, R-717227, R-805572 Removed mapping for R-98748 Updated env file test to exclude internal AAP params Change-Id: Iddde8ee42400b8df9be49b8c15718b451101b37b Issue-ID: VVP-181 Signed-off-by: stark, steven <steven.stark@att.com>
2019-03-20VVP - Fixing script to include static validationsBozawglanian, Hagop (hb755d)2-251/+1001
Change-Id: I0b210d788439e856c8229430abf7264768843867 Issue-ID: VVP-187 Signed-off-by: Bozawglanian, Hagop (hb755d) <hb755d@att.com>
2019-03-07[VVP] Ensure report.json always producedLovett, Trevor1-4/+5
Also fixed error where rst.csv did not use the requested output directory if the default is overridden Change-Id: Ife7bead97e5172ee115a7d07bd4ac917046f3b31 Issue-ID: VVP-185 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-03-05[VVP] Allow AZ CDL params in nested templatesLovett, Trevor1-0/+3
Issue-ID: VVP-183 Change-Id: Iad69ca26eb54a2200186ddf1b8d410e1248d1bcd Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-03-04[VVP] Handle missing requirement in needs.jsonLovett, Trevor1-2/+2
Change-Id: Id22840cf58fdc0063f925a55672de58a9753b59c Issue-ID: VVP-182 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-02-28Merge "[VVP-171] R-84123 and R-76160 test update"Steven Wright7-152/+138
2019-02-27[VVP-171] R-84123 and R-76160 test updatestark, steven7-152/+138
R-84123 and R-76160 test_neutron_port_internal_fixed_ips should only be checking incremental modules Change-Id: I7ef3cd4aa2b01273c2592f0b17751c5cb79c002b Issue-ID: VVP-171 Signed-off-by: stark, steven <steven.stark@att.com>
2019-02-26[VVP] R-95430 modified in vnfrqtsstark, steven3-12/+0
Removing test for R-95430 because requirement was changed from MUST to MAY Change-Id: I3430c54d319561b26a98380146e365a3b3b90f3c Issue-ID: VVP-178 Signed-off-by: stark, steven <steven.stark@att.com>
2019-02-21[VVP] JSON report shows relative paths for "files"Lovett, Trevor1-2/+8
Template path is also normalized to Unix style path separators. Change-Id: I2961e09300ed5ab8487bb21b8a302c7b55594474 Issue-ID: VVP-169 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-02-20[VVP] Fix error msg on test_network_formatLovett, Trevor1-1/+1
Change-Id: I945f7f56c9457ec49f10cebe0fc45bbc1a2e7129 Issue-ID: VVP-174 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-02-18Merge "[VVP] remove tests for 88540, 20947, 54458"Steven Wright2-33/+0
2019-02-15[VVP] remove tests for 88540, 20947, 54458stark, steven2-33/+0
the reqs 88540, 20947, 54458 were removed from read the docs, the corresponding tests for these should also be removed. Change-Id: I1912321e6c68df34b41c32b62d0ae2a25873b959 Issue-ID: VVP-168 Signed-off-by: stark, steven <steven.stark@att.com>
2019-02-15[VVP] ports.py check port typestark, steven1-4/+7
get_invalid_ip_addresses needs to be enhanced to check the neutron port type (internal or external) before validating the IP parameter format. The IP parameter format should not be validated against both internal and external, it should only be validated against the formats for the ports type. Change-Id: Ic8b66b83729f6ea5d268d55816e03dcbbfec12fd Issue-ID: VVP-167 Signed-off-by: stark, steven <steven.stark@att.com>
2019-02-12VVP - Fix nested templateHagop Bozawglanian1-2/+2
Change-Id: I814804ccffaeb20cc758428c62a1d789868d7ff8 Issue-ID: VVP-166 Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
2019-02-12[VVP] Allow lists in test_availability_zoneLovett, Trevor2-53/+4
Change-Id: I590830db83b0c7dd5df2ac59992a7771483eab03 Issue-ID: VVP-165 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-02-08[VVP] Improved message on test_base_template_nameLovett, Trevor3-15/+134
Change-Id: I5974ed3b8ff6e20ab747b3e96af37f84a133ecbb Issue-ID: VVP-141 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-02-08[VVP] Fixing internal network checkLovett, Trevor5-211/+113
The test_neutron_port_internal_network test is intended to check that internal networks referenced in **incremental** modules are defined and exported in the base template. The current version of the test applies this check to nested modules as well causing false violations to be flagged. Issue-ID: VVP-163 Change-Id: I42cc81acf0cc2b6827ae8cf4e9a7faa4af91f9b4 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-02-06[VVP] Fix errors on tests with no fixturesLovett, Trevor1-5/+7
Change-Id: I4ad24979128902b4e0e502c76d6503e2876b960a Issue-ID: VVP-161 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-02-06Merge "[VVP] revert nested resource section"Steven Wright3-6/+6
2019-02-05Merge "[VVP] Removing redundant requirements.json file"steven stark1-70933/+0
2019-02-05[VVP] Removing redundant requirements.json fileLovett, Trevor1-70933/+0
Change-Id: I640a35b4f3855bb36fa7c3fe62e359ad270bb856 Issue-ID: VVP-162 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-02-05[VVP] Removing invalid testsLovett, Trevor16-1768/+0
Change-Id: I9336fa834b08748cabb5ac49495f1591f15939f8 Issue-ID: VVP-150 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-02-05[VVP] revert nested resource sectionstark, steven3-6/+6
- R-40551 specifies nested templates MAY or MAY NOT contain a resource section - remove check for get_param in allowed_address_pairs, no requirement states get_param MUST be used Change-Id: If133b4ec4d39c25a95c77482b1743562e2ae74a8 Issue-ID: VVP-158 Signed-off-by: stark, steven <steven.stark@att.com>
2019-02-04[VVP] enhance tests for nested templatesstark, steven42-129/+129
Change-Id: I17047fa3df555fafcdae566fad50b8c19ddca16f Issue-ID: VVP-158 Signed-off-by: stark, steven <steven.stark@att.com>
2019-02-01[VVP] pseudo-parameters nested parametersstark, steven2-3/+10
Change-Id: Iff7630a6f62fa8b83c80048d6efc12d187037412 Issue-ID: VVP-157 Signed-off-by: stark, steven <steven.stark@att.com>
2019-01-31Merge "[VVP] Creating table for RST ingestion"Steven Wright1-0/+50
2019-01-31[VVP] Creating table for RST ingestionBozawglanian, Hagop (hb755d)1-0/+50
Issue-ID: VVP-155 Change-Id: I16b9c54121302b78d05cd6ee40a499a599a35f17 Signed-off-by: Bozawglanian, Hagop (hb755d) <hb755d@att.com>
2019-01-30[VVP] Removing unnecessary trademark linesLovett, Trevor447-589/+168
Issue-ID: VVP-152 Change-Id: I6b978768324f69adba50c75a187509c4a7605341 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-01-30Merge "[VVP] Add new columns to traceability report"Steven Wright1-46/+51
2019-01-30[VVP] Add new columns to traceability reportLovett, Trevor1-46/+51
Added the following columns: * Keyword - MUST, MUST NOT, etc. * Validation Mode - contents of :validation_mode: from vnfrqts * Is Testable - TRUE if requirement is testable based on keyword and validation mode, FALSE otherwise Also fixed issue following issues: * Traceability and mapping error reports were not going to the configured output directory if a custom value was provided * Removed duplicate rows from traceability report * Traceability report shows all Heat requirements Change-Id: I339b42e9e662f1681b78d1a49bd7e71e87cae21a Issue-ID: VVP-148 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>