Lovett, Trevor [Thu, 5 Sep 2019 13:25:32 +0000 (08:25 -0500)]
[VVP] Preload Generation Enhancements and Fixes
- 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>
Ezhilarasi [Tue, 3 Sep 2019 10:37:15 +0000 (16:07 +0530)]
Sonar issue fix in helpers.py
Change-Id: Ief18c717974498ea9b5f1fd2e2987db0d013b732
Issue-ID: VVP-172
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Wed, 28 Aug 2019 15:07:39 +0000 (20:37 +0530)]
Sonarfix:Reduce coginitive complexity vmtype util
Change-Id: I4b82df8587b98a142e86031700f8c73e922184d5
Issue-ID: VVP-172
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Lovett, Trevor [Tue, 27 Aug 2019 17:40:36 +0000 (12:40 -0500)]
[VVP] Generated completed preload from env files
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>
stark, steven [Wed, 21 Aug 2019 18:12:39 +0000 (11:12 -0700)]
[VVP] test_environment_file_parameters violation fix
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
Steven Wright [Tue, 20 Aug 2019 17:22:38 +0000 (17:22 +0000)]
Merge "[VVP] Adding preload generation functionality"
Lovett, Trevor [Tue, 30 Jul 2019 15:50:48 +0000 (08:50 -0700)]
[VVP] Adding preload generation functionality
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>
Hagop Bozawglanian [Tue, 13 Aug 2019 18:39:15 +0000 (18:39 +0000)]
VNFRQTS - Update the rst table content
Issue-ID: VNFRQTS-651
Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
Change-Id: If4f535004e78cf3abaf0113eda3cbfa4e562fba1
steven stark [Fri, 26 Jul 2019 01:37:17 +0000 (01:37 +0000)]
Merge "[VVP] All http URLs in requirement link"
Lovett, Trevor [Thu, 25 Jul 2019 21:51:37 +0000 (16:51 -0500)]
[VVP] All http URLs in requirement link
Issue-ID: VVP-249
Change-Id: Ibfb8ccf735a8eaa29a6f1b1f6b2fbfd72d562feb
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Thu, 25 Jul 2019 14:37:55 +0000 (09:37 -0500)]
[VVP] Fixed ParameterCollector nested get_param
Issue-ID: VVP-248
Change-Id: I27d95c763cafe6d262ea8f6c03fbb3a7ba0f64dc
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
steven stark [Wed, 24 Jul 2019 19:11:44 +0000 (19:11 +0000)]
Merge "[VVP] Fixed issue in unused parameter detection"
steven stark [Wed, 24 Jul 2019 19:06:47 +0000 (19:06 +0000)]
Merge "[VVP] Tox support for installing Win pre-built libraries"
Lovett, Trevor [Wed, 24 Jul 2019 18:34:59 +0000 (13:34 -0500)]
[VVP] Fixed issue in unused parameter detection
Issue-ID: VVP-247
Change-Id: I02e2da52fdfa31a1d056b9839063373453c8ace7
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Wed, 24 Jul 2019 16:29:13 +0000 (11:29 -0500)]
[VVP] Updating dependencies (except pytest)
Bringing most dependencies to current except pytest which
will require changes to how self-test generates tests.
Will address that in a future release
Issue-ID: VVP-245
Change-Id: I20171ede15740087992b68e245dd9881d0bc5c78
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Wed, 24 Jul 2019 14:46:00 +0000 (09:46 -0500)]
[VVP] Tox support for installing Win pre-built libraries
Issue-ID: VVP-246
Change-Id: I4d416435423e69951e3c5d9154b60829984a9fb7
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Steven Wright [Wed, 24 Jul 2019 13:59:37 +0000 (13:59 +0000)]
Merge "[VVP] updating oparent version"
steven stark [Wed, 24 Jul 2019 13:49:04 +0000 (13:49 +0000)]
Merge "[VVP] Adding bandit security scans and fixes"
Lovett, Trevor [Tue, 23 Jul 2019 23:09:09 +0000 (18:09 -0500)]
[VVP] Adding bandit security scans and fixes
Issue-ID: VVP-244
Change-Id: Ia782f4cc7bf5a379ff8cdcce96cd2e7235998345
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
stark, steven [Wed, 24 Jul 2019 00:28:03 +0000 (17:28 -0700)]
[VVP] updating oparent version
Issue-ID: VVP-242
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I206f0227a9602763bdfbebb04671d7644a408fd6
Lovett, Trevor [Fri, 19 Jul 2019 19:06:52 +0000 (14:06 -0500)]
[VVP] Update AZ tests to not apply to nested templates
Issue-ID: VVP-226
Change-Id: I91e97b1b73daf6be83c227ff2deeeb4e72213ed5
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Fri, 19 Jul 2019 14:32:39 +0000 (09:32 -0500)]
[VVP] Properly escape error messages in HTML output
Issue-ID: VVP-159
Change-Id: I741e5abbc80fbcbbb5d7c0332e13217305532bfd
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lokur, Manish [Tue, 2 Jul 2019 23:13:53 +0000 (23:13 +0000)]
[VVP] Modifies uses_sr_iov function in structures.py to return sr_iov true when vnic_type=direct
Issue-ID: VVP-231
Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com>
Change-Id: I9b42d682f9cca0b8ae68746c5472cf7903933558
Lokur, Manish [Mon, 1 Jul 2019 22:24:34 +0000 (22:24 +0000)]
[VVP-230] Modified test_non_server_name_unique for non-server name 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
Lokur, Manish [Mon, 1 Jul 2019 18:40:32 +0000 (18:40 +0000)]
[VVP] Bug fix in conftest.py
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
steven stark [Wed, 19 Jun 2019 15:02:08 +0000 (15:02 +0000)]
Merge "[VVP] Added support to display terms and force acceptance if desired"
Lovett, Trevor [Tue, 18 Jun 2019 16:07:39 +0000 (11:07 -0500)]
[VVP] Added support to display terms and force acceptance if desired
Issue-ID: VVP-195
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Change-Id: Ia66e8deabdb5945a2acc7dc5a652ffdb2429945e
Steven Wright [Mon, 17 Jun 2019 12:48:28 +0000 (12:48 +0000)]
Merge "[VVP] Allow multi-line error messages on error reports"
Lovett, Trevor [Fri, 14 Jun 2019 13:39:16 +0000 (08:39 -0500)]
[VVP] Allow multi-line error messages on error reports
Issue-ID: VVP-225
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Change-Id: Iebee13d29f8025b3dd5c147f2024a484789464f7
Steven Wright [Mon, 10 Jun 2019 13:48:04 +0000 (13:48 +0000)]
Merge "[VVP] Fix redundant errors: missing base module or nested dirs"
steven stark [Fri, 7 Jun 2019 18:52:10 +0000 (18:52 +0000)]
Merge "[VVP] Improved readability of reports"
Lovett, Trevor [Fri, 7 Jun 2019 01:52:03 +0000 (20:52 -0500)]
[VVP] Fix redundant errors: missing base module or nested dirs
Change-Id: I50f9f3f0bd627124a679248b2cf630e818755c59
Issue-ID: VVP-218
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Thu, 6 Jun 2019 21:43:16 +0000 (16:43 -0500)]
[VVP] Improved readability of reports
- 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>
Lokur, Manish [Thu, 6 Jun 2019 21:12:48 +0000 (21:12 +0000)]
[VVP] Adding resource ID to error message
Issue-ID: VVP-224
Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com>
Change-Id: I36f5033220593ea574d96c991fb1a07994089ef4
steven stark [Thu, 6 Jun 2019 17:30:34 +0000 (17:30 +0000)]
Merge "[VVP] removed fixtures for the deleted tests"
steven stark [Thu, 6 Jun 2019 14:23:12 +0000 (14:23 +0000)]
Merge "[VVP] Removed yamllint library"
Lovett, Trevor [Thu, 6 Jun 2019 04:00:10 +0000 (23:00 -0500)]
[VVP] Removed yamllint library
Change-Id: If2c26b8650e8aba0a183d0cf47b1b3744dbfaf95
Issue-ID: VVP-201
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lokur, Manish [Wed, 5 Jun 2019 22:10:07 +0000 (22:10 +0000)]
[VVP] removed fixtures for the deleted tests
Issue-ID: VVP-223
Change-Id: I00def826ff322fa9ae6d308c1107e3cac659e061
Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com>
aarjvi,desai [Wed, 5 Jun 2019 21:25:47 +0000 (21:25 +0000)]
[VVP] removing duplicate test from vvp
Issue-ID: VVP-223
Signed-off-by: aarjvi,desai <aarjvi.desai@att.com>
Change-Id: Iee4c666085cbe6fbef3ab37d2d85c9984b88f1d8
steven stark [Wed, 5 Jun 2019 20:53:58 +0000 (20:53 +0000)]
Merge "[VVP] Performance Enhancements (report generation and test collection)"
Lovett, Trevor [Wed, 5 Jun 2019 15:13:46 +0000 (10:13 -0500)]
[VVP] Performance Enhancements (report generation and test collection)
Issue-ID: VVP-222
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Change-Id: I9dd3506097cb0d6e69bd1434b2d42f6d1965023b
stark, steven [Tue, 4 Jun 2019 20:03:59 +0000 (13:03 -0700)]
[VVP] updating dockerfile for with heat dependencies
Issue-ID: VVP-221
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: Ie7cdcdbff0cf04d29808d8167b08f568b7d88e69
Lovett, Trevor [Thu, 30 May 2019 13:51:43 +0000 (08:51 -0500)]
[VVP] Exempt output section from nested get_param check
Change-Id: Ib87b0fb1c70c5689fc7687a21a27ea60934096b1
Issue-ID: VVP-220
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Steven Wright [Tue, 28 May 2019 13:08:37 +0000 (13:08 +0000)]
Merge "[VVP] Refine nested get_param test per R-10834 update"
Lovett, Trevor [Fri, 24 May 2019 23:28:36 +0000 (18:28 -0500)]
[VVP] Refine nested get_param test per R-10834 update
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>
stark, steven [Thu, 23 May 2019 20:50:25 +0000 (13:50 -0700)]
[VVP] adding heat template-validate test
Issue-ID: VVP-218
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: If88f9b4b620aaffe61ead3b6f7d5c74dcfd14cba
stark, steven [Tue, 21 May 2019 17:41:40 +0000 (10:41 -0700)]
[VVP] updating version and pom for elalto release
Issue-ID: VVP-210
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: If9443595db21f229f9e52ff2e591fd7be979ac1e
Lovett, Trevor [Mon, 13 May 2019 19:01:09 +0000 (14:01 -0500)]
[VVP] Update validations based on VNFRQTS-637
Update to the latest bundled requirements text
Update aap_exempt message to better reflect verbiage
Remove unneeded test: tests_neutron_port_addresses (requirement removed)
Map aap_exempt requirement to associated tests
Also adding new helper scripts to help detect divergences between
VNF Requirements and VVP as well as other VVP best practices:
checks.py - Pre-commit checks
- requirements are up-to-date with VNFRQTS
- all testable requirements have tests
- all non-testable requirements are *not* mapped to tests
- flake8 passes
- self-test passes
update_reqs.py - Updates the the contents of heat_requirements.json
with latest req'ts from VNFRQTS Nexus artifact
Change-Id: Ia197de3254a1a0369224939f66a5f98c601a314d
Issue-ID: VVP-216
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor (tl2972) [Thu, 16 May 2019 16:31:07 +0000 (11:31 -0500)]
[VVP] Add test for R-100260 and fix mapping
Re-arranged some helper and util functions to more logical locations.
Added test to verify than an internal subnet parameter used in an
incremental module is defined in the base module.
Change-Id: I20369396b18820f0e321c0e75bd47446b0a7a39f
Issue-ID: VVP-215
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Lovett, Trevor [Tue, 14 May 2019 21:30:42 +0000 (16:30 -0500)]
[VVP] R-100280, R-100290, and aap_exempt support
Change-Id: I732af13a22e8c1dadc5fbf622a6efd102146262b
Issue-ID: VVP-214
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Tue, 14 May 2019 15:37:17 +0000 (10:37 -0500)]
[VVP] Adding env file checks for contrail
* 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>
stark, steven [Mon, 13 May 2019 21:41:55 +0000 (14:41 -0700)]
[VVP] Adding tests for new reqs from VNFRQTS-630
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>
stark, steven [Fri, 10 May 2019 18:16:38 +0000 (11:16 -0700)]
[VVP] updating version in pom and versions.py
- 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>
Steven Wright [Thu, 9 May 2019 17:49:44 +0000 (17:49 +0000)]
Merge "[VVP] adding list support for non-server-name uniqueness"
Steven Wright [Thu, 9 May 2019 17:49:35 +0000 (17:49 +0000)]
Merge "[VVP] relaxing test_contrail_fqdn"
stark, steven [Thu, 2 May 2019 15:50:11 +0000 (08:50 -0700)]
[VVP] adding list support for non-server-name uniqueness
Change-Id: I9990cc0f3535df96f1ea7679fb87aea36398f433
Issue-ID: VVP-179
Signed-off-by: stark, steven <steven.stark@att.com>
stark, steven [Thu, 2 May 2019 15:26:54 +0000 (08:26 -0700)]
[VVP] relaxing test_contrail_fqdn
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>
stark, steven [Thu, 2 May 2019 15:04:22 +0000 (08:04 -0700)]
[VVP] adding subnet_uuid to nested parameter check
Change-Id: If0ae761fa20c24b3839234f23037fff6b32d851b
Issue-ID: VVP-199
Signed-off-by: stark, steven <steven.stark@att.com>
Hagop Bozawglanian [Mon, 29 Apr 2019 20:56:55 +0000 (20:56 +0000)]
VNFRQTS - update contrail validation
Issue-ID: VVP-200
Change-Id: Iae2b9941ac6470e94df988daf9a306924fa3ca3b
Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
stark, steven [Fri, 19 Apr 2019 23:17:58 +0000 (16:17 -0700)]
[VVP] updating nested parameter test
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>
stark, steven [Wed, 17 Apr 2019 16:25:06 +0000 (09:25 -0700)]
[VVP] updating VVP Readme to point to RTD
Change-Id: Ic2a696058f7acce88ddd881a132bb4ab8a277e56
Issue-ID: VVP-196
Signed-off-by: stark, steven <steven.stark@att.com>
steven stark [Tue, 16 Apr 2019 18:21:17 +0000 (18:21 +0000)]
Merge "[VVP] Case-insensitive network role comparison"
Lovett, Trevor [Tue, 16 Apr 2019 17:59:21 +0000 (12:59 -0500)]
[VVP] Case-insensitive network role comparison
Change-Id: I3a761040770bac59093e105acda6b59e9f955c48
Issue-ID: VVP-194
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Lovett, Trevor [Tue, 16 Apr 2019 14:09:06 +0000 (09:09 -0500)]
[VVP] Reports show test file and case now
Change-Id: I017c1830b61b186f52ba2fe29db03dd41cb68b26
Issue-ID: VVP-192
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Lovett, Trevor [Mon, 15 Apr 2019 16:47:25 +0000 (11:47 -0500)]
[VVP] Updated network param validations per reqts
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>
Steven Wright [Fri, 12 Apr 2019 16:37:20 +0000 (16:37 +0000)]
Merge "[VVP] updating v6 regex for fip/ip and fip/subnet"
Steven Wright [Thu, 11 Apr 2019 17:40:44 +0000 (17:40 +0000)]
Merge "[VVP] adding base test failure message to report"
stark, steven [Mon, 8 Apr 2019 19:37:29 +0000 (12:37 -0700)]
[VVP] updating v6 regex for fip/ip and fip/subnet
Change-Id: Ia7acc252d6a1429ec0c73f720bb1308dd70178b5
Issue-ID: VVP-188
Signed-off-by: stark, steven <steven.stark@att.com>
stark, steven [Tue, 9 Apr 2019 23:51:43 +0000 (16:51 -0700)]
[VVP] restricting ip index check to resources
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>
stark, steven [Mon, 8 Apr 2019 20:39:28 +0000 (13:39 -0700)]
[VVP] adding base test failure message to report
Change-Id: Ibdb75750624d1482d87466b17aa2486f794a5fd6
Issue-ID: VVP-189
Signed-off-by: stark, steven <steven.stark@att.com>
Steven Wright [Thu, 21 Mar 2019 20:05:26 +0000 (20:05 +0000)]
Merge "VVP - Fixing script to include static validations"
stark, steven [Wed, 20 Mar 2019 01:14:28 +0000 (18:14 -0700)]
[VVP] updating OS::Neutron::Port parameter tests
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>
Bozawglanian, Hagop (hb755d) [Tue, 19 Mar 2019 18:25:52 +0000 (18:25 +0000)]
VVP - Fixing script to include static validations
Change-Id: I0b210d788439e856c8229430abf7264768843867
Issue-ID: VVP-187
Signed-off-by: Bozawglanian, Hagop (hb755d) <hb755d@att.com>
Lovett, Trevor [Fri, 8 Mar 2019 02:56:59 +0000 (20:56 -0600)]
[VVP] Ensure report.json always produced
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>
Lovett, Trevor [Tue, 5 Mar 2019 15:28:12 +0000 (09:28 -0600)]
[VVP] Allow AZ CDL params in nested templates
Issue-ID: VVP-183
Change-Id: Iad69ca26eb54a2200186ddf1b8d410e1248d1bcd
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Lovett, Trevor [Mon, 4 Mar 2019 16:32:34 +0000 (10:32 -0600)]
[VVP] Handle missing requirement in needs.json
Change-Id: Id22840cf58fdc0063f925a55672de58a9753b59c
Issue-ID: VVP-182
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Steven Wright [Thu, 28 Feb 2019 23:36:46 +0000 (23:36 +0000)]
Merge "[VVP-171] R-84123 and R-76160 test update"
stark, steven [Tue, 19 Feb 2019 00:22:52 +0000 (16:22 -0800)]
[VVP-171] R-84123 and R-76160 test update
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>
Lovett, Trevor [Wed, 27 Feb 2019 17:17:13 +0000 (11:17 -0600)]
[VVP] Excluding GUI app tests docker image
Issue-ID: VVP-177
Change-Id: I30bb23cc0ee0dffc5a8be6c135ba98d009550c69
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
stark, steven [Tue, 26 Feb 2019 23:14:31 +0000 (15:14 -0800)]
[VVP] R-95430 modified in vnfrqts
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>
Lovett, Trevor [Thu, 21 Feb 2019 18:56:03 +0000 (12:56 -0600)]
[VVP] Ensure VVP Docker runs as non-root
Also ensures VVP only executes the heat tests and ignores
app_tests
Change-Id: I59ba2f72ac694dee4e705787d24a78ac983afa3a
Issue-ID: VVP-175
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Thu, 21 Feb 2019 17:28:13 +0000 (11:28 -0600)]
[VVP] JSON report shows relative paths for "files"
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>
Lovett, Trevor [Wed, 20 Feb 2019 21:20:16 +0000 (15:20 -0600)]
[VVP] Fix error msg on test_network_format
Change-Id: I945f7f56c9457ec49f10cebe0fc45bbc1a2e7129
Issue-ID: VVP-174
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Steven Wright [Mon, 18 Feb 2019 18:13:14 +0000 (18:13 +0000)]
Merge "[VVP] remove tests for 88540, 20947, 54458"
stark, steven [Fri, 15 Feb 2019 22:41:30 +0000 (14:41 -0800)]
[VVP] remove tests for 88540, 20947, 54458
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>
stark, steven [Fri, 15 Feb 2019 21:28:11 +0000 (13:28 -0800)]
[VVP] ports.py check port type
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>
Hagop Bozawglanian [Tue, 12 Feb 2019 21:34:44 +0000 (21:34 +0000)]
VVP - Fix nested template
Change-Id: I814804ccffaeb20cc758428c62a1d789868d7ff8
Issue-ID: VVP-166
Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
Lovett, Trevor [Tue, 12 Feb 2019 17:42:19 +0000 (11:42 -0600)]
[VVP] Allow lists in test_availability_zone
Change-Id: I590830db83b0c7dd5df2ac59992a7771483eab03
Issue-ID: VVP-165
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Lovett, Trevor [Fri, 8 Feb 2019 21:38:18 +0000 (15:38 -0600)]
[VVP] Improved message on test_base_template_name
Change-Id: I5974ed3b8ff6e20ab747b3e96af37f84a133ecbb
Issue-ID: VVP-141
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
steven stark [Fri, 8 Feb 2019 20:40:39 +0000 (20:40 +0000)]
Merge "[VVP] Fixing internal network check"
Lovett, Trevor [Thu, 7 Feb 2019 18:46:33 +0000 (10:46 -0800)]
[VVP] Fixing internal network check
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>
stark, steven [Thu, 7 Feb 2019 18:46:33 +0000 (10:46 -0800)]
[VVP] updating pom to ecomp-* repos
Change-Id: I431c84d0107bfc184669a02d61bd123a2ebbcbf7
Issue-ID: VVP-160
Signed-off-by: stark, steven <steven.stark@att.com>
Lovett, Trevor [Wed, 6 Feb 2019 16:50:37 +0000 (10:50 -0600)]
[VVP] Fix errors on tests with no fixtures
Change-Id: I4ad24979128902b4e0e502c76d6503e2876b960a
Issue-ID: VVP-161
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Steven Wright [Wed, 6 Feb 2019 14:00:02 +0000 (14:00 +0000)]
Merge "[VVP] revert nested resource section"
Steven Wright [Wed, 6 Feb 2019 13:59:03 +0000 (13:59 +0000)]
Merge "[VVP] docker build ignore pep517"
steven stark [Tue, 5 Feb 2019 22:30:37 +0000 (22:30 +0000)]
Merge "[VVP] Removing redundant requirements.json file"
Lovett, Trevor [Tue, 5 Feb 2019 22:24:14 +0000 (16:24 -0600)]
[VVP] Removing redundant requirements.json file
Change-Id: I640a35b4f3855bb36fa7c3fe62e359ad270bb856
Issue-ID: VVP-162
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Tue, 5 Feb 2019 22:17:58 +0000 (16:17 -0600)]
[VVP] Removing invalid tests
Change-Id: I9336fa834b08748cabb5ac49495f1591f15939f8
Issue-ID: VVP-150
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
stark, steven [Tue, 5 Feb 2019 18:40:55 +0000 (10:40 -0800)]
[VVP] revert nested resource section
- 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>
stark, steven [Tue, 5 Feb 2019 16:38:07 +0000 (08:38 -0800)]
[VVP] docker build ignore pep517
Issue-ID: VVP-160
Change-Id: I3497e6a8a07e6aedd4a50ad8fc90fbd162bed665
Signed-off-by: stark, steven <steven.stark@att.com>