stark, steven [Wed, 8 Apr 2020 22:06:46 +0000 (15:06 -0700)]
[VVP] fixing relative imports for VVP
Issue-ID: VVP-400
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I7d5c172a6f386a1d5b30bf82ddb9dafa3395b527
stark, steven [Tue, 24 Mar 2020 22:47:48 +0000 (15:47 -0700)]
[VVP] Self-release for vvp validation scripts
Issue-ID: VVP-391
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I778ad819a64e0f95f0f231b7cc8ed5091d4284f6
stark, steven [Tue, 24 Mar 2020 16:37:05 +0000 (09:37 -0700)]
[VVP] bump vvp image to 6.0.0
Issue-ID: VVP-389
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: Idd6cbe64f0c62b635301c99a56e09ac1830e6a36
stark, steven [Thu, 6 Feb 2020 23:44:18 +0000 (15:44 -0800)]
[VVP] updating pom for migration to Sonarcloud
sonarcloud ver has removed reportPath property,
changing to use reportPaths
Issue-ID: VVP-368
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: Icb52c1a5d476fba57a7b6e8778641164c5345ba7
Lovett, Trevor [Mon, 27 Jan 2020 15:01:37 +0000 (09:01 -0600)]
Assign Steven Stark as PTL
Issue-ID: VVP-367
Change-Id: Ic9cf88a28e61e8f7be51d3e916539a2897b83d35
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Wed, 22 Jan 2020 16:18:45 +0000 (10:18 -0600)]
VVP - Removed unused function and class
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Issue-ID: VVP-366
Change-Id: I02c952662bb8ed931f46c58cbf4ab100435d00fb
stark, steven [Tue, 21 Jan 2020 23:32:48 +0000 (15:32 -0800)]
[VVP] base module is allowed to not have params
- 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
Lovett, Trevor [Tue, 21 Jan 2020 17:37:47 +0000 (11:37 -0600)]
[VVP] Disallow vf_module_index look ups per R-55307
Change-Id: I2aa9502cbb38f4b1be943d6d100164de1e1b1628
Issue-ID: VVP-354
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Fri, 17 Jan 2020 18:26:18 +0000 (12:26 -0600)]
[VVP] Allow base templates to not have resources
Change-Id: I44232d58697ff95b418e9594451cda3c3a90c798
Issue-ID: VVP-361
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Thu, 16 Jan 2020 21:47:59 +0000 (15:47 -0600)]
[VVP] Resources not allowed in 2nd level templates
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>
stark, steven [Thu, 16 Jan 2020 16:37:10 +0000 (08:37 -0800)]
[VVP] update PLATFORM PROVIDED param in env check
Issue-ID: VVP-359
Change-Id: I4e8a5727a5cc04c288916f02f64514964e8cb38a
Signed-off-by: stark, steven <steven.stark@att.com>
Lovett, Trevor [Wed, 15 Jan 2020 19:20:10 +0000 (13:20 -0600)]
Add Trevor Lovett as committer
Change-Id: I07165fd17657f89838045a5837300ac25af57d9f
Issue-ID: VVP-358
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Tue, 14 Jan 2020 20:08:37 +0000 (14:08 -0600)]
Excluding platform provided params from vnf-params
Issue-ID: VVP-356
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Change-Id: I2f307147453712f24311477974f5ff4c73552049
Hagop Bozawglanian [Fri, 20 Dec 2019 21:08:21 +0000 (13:08 -0800)]
VVP - Fixing the INFO.yaml formatting
Issue-ID: VVP-355
Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
Change-Id: I39448ca1b5be4f66bca7e2d937e773621844e1db
Hagop Bozawglanian [Thu, 19 Dec 2019 20:31:43 +0000 (12:31 -0800)]
VVP - Cleaning up the INFO.yaml file
Issue-ID: VVP-355
Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
Change-Id: Ifbdf1a7d6a838fb6cac333de4cc391ee4026a753
steven stark [Wed, 4 Dec 2019 21:35:38 +0000 (21:35 +0000)]
Merge "[VVP] Support pluggable data sources for preload data"
Lovett, Trevor [Tue, 3 Dec 2019 21:18:03 +0000 (15:18 -0600)]
[VVP] Support pluggable data sources for preload data
Change-Id: Ia7fcfa25203a93eac93381f472e3ba1e6c11235f
Issue-ID: VVP-339
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
anushadasari [Tue, 19 Nov 2019 10:18:26 +0000 (15:48 +0530)]
Remove unnecessary check for pytest.skip
Issue-ID: VVP-288
Change-Id: I62c43cbc94fd8924eebd6594668829ffecb37801
Signed-off-by: anushadasari <danush10@in.ibm.com>
anushadasari [Thu, 21 Nov 2019 08:01:49 +0000 (13:31 +0530)]
Use the get_param method to simplify the extraction of the parameter name 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>
stark, steven [Mon, 18 Nov 2019 21:45:47 +0000 (13:45 -0800)]
[VVP] Updating vm_type class test to proceed if no cinder
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
steven stark [Mon, 18 Nov 2019 16:31:58 +0000 (16:31 +0000)]
Merge "Remove unnecessary check for pytest.skip"
steven stark [Mon, 18 Nov 2019 16:31:51 +0000 (16:31 +0000)]
Merge "change if bad to assert not bad, message"
anushadasari [Wed, 13 Nov 2019 08:13:23 +0000 (13:43 +0530)]
Remove unnecessary check for pytest.skip
Issue-ID: VVP-288
Change-Id: I1c099ce6450401d324a6beb16256e758d83dd44a
Signed-off-by: anushadasari <danush10@in.ibm.com>
anushadasari [Wed, 13 Nov 2019 07:57:51 +0000 (13:27 +0530)]
change if bad to assert not bad, message
eliminates if statement
Issue-ID: VVP-295
Change-Id: Ifa4a6cbaf79bfcab089fe9da4893aac661d70230
Signed-off-by: anushadasari <danush10@in.ibm.com>
stark, steven [Wed, 13 Nov 2019 01:18:22 +0000 (17:18 -0800)]
[VVP] updating ports.py to check str_replace params
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
steven stark [Tue, 12 Nov 2019 21:52:48 +0000 (21:52 +0000)]
Merge "[VVP] Fix issue floating IP params for R-35666"
steven stark [Tue, 12 Nov 2019 21:49:01 +0000 (21:49 +0000)]
Merge "[VVP] Handle intrinsic functions in prop_iterator"
steven stark [Tue, 12 Nov 2019 21:44:52 +0000 (21:44 +0000)]
Merge "Remove unnecessary check for pytest.skip"
steven stark [Tue, 12 Nov 2019 21:44:44 +0000 (21:44 +0000)]
Merge "Skip unnecessary resource/pytest.skip check"
Lovett, Trevor [Tue, 12 Nov 2019 21:06:05 +0000 (15:06 -0600)]
[VVP] Fix issue floating IP params for R-35666
Change-Id: I5071958a0709ad2d9606eea8ab90247b6a3283b8
Issue-ID: VVP-340
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Tue, 12 Nov 2019 21:18:58 +0000 (15:18 -0600)]
[VVP] Handle intrinsic functions in prop_iterator
Change-Id: I68131190f84b60276c56ad140d16a3792b764fdc
Issue-ID: VVP-336
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
stark, steven [Thu, 7 Nov 2019 21:57:39 +0000 (13:57 -0800)]
[VVP] updating oparent version to 2.1.0
Issue-ID: VVP-324
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I0f661d015b6382b66b1e4658c27119cf67765e98
anushadasari [Mon, 4 Nov 2019 17:54:39 +0000 (23:24 +0530)]
Remove unnecessary check for pytest.skip
Issue-ID: VVP-290
Change-Id: I81a67dc0a2574dd3bea2a1b86d4cc3f6644c28b2
Signed-off-by: anushadasari <danush10@in.ibm.com>
anushadasari [Mon, 4 Nov 2019 17:36:15 +0000 (23:06 +0530)]
Skip unnecessary resource/pytest.skip check
Issue-ID: VVP-295
Change-Id: Ia8b367859f4bbf9bc4366d2574f082ace863ef15
Signed-off-by: anushadasari <danush10@in.ibm.com>
Mamtha [Wed, 30 Oct 2019 18:21:35 +0000 (23:51 +0530)]
Sonar fix for vvp 291 and 292
Issue-ID: VVP-291
Change-Id: I4d2eebbb9d4d96b17cc09a5de34e95e41cb9ec7d
Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
Lovett, Trevor [Tue, 29 Oct 2019 16:33:26 +0000 (11:33 -0500)]
[VVP] Make Preload Generation more reslient to failures
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
Lovett, Trevor [Wed, 16 Oct 2019 21:34:17 +0000 (16:34 -0500)]
[VVP] Allow any_of and all_of in categories decorator
Change-Id: I76ff9ebd7108d2ef19a3f167c5a253a3ce5f07f7
Issue-ID: VVP-331
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Wed, 16 Oct 2019 16:26:16 +0000 (11:26 -0500)]
[VVP] Support any_of in categories decorator
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>
Lovett, Trevor [Tue, 8 Oct 2019 18:32:34 +0000 (13:32 -0500)]
[VVP] Flag duplicate parameters in .env files
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>
Lovett, Trevor [Mon, 7 Oct 2019 21:06:17 +0000 (16:06 -0500)]
[VVP] Enforce R-35666 by ensuring a network exists for int_ parameters
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>
stark, steven [Fri, 4 Oct 2019 20:09:28 +0000 (13:09 -0700)]
[VVP] Bug fix if resource value is hardcoded
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
Steven Wright [Fri, 4 Oct 2019 17:40:30 +0000 (17:40 +0000)]
Merge "Refactor function to reduce Cognitive Complexity"
Steven Wright [Fri, 4 Oct 2019 17:11:21 +0000 (17:11 +0000)]
Merge "Sonarfix in structures.py"
Ezhilarasi [Thu, 3 Oct 2019 14:52:47 +0000 (20:22 +0530)]
Reduced coginitive compexity from 16 to 15
Change-Id: I416e39f80ede88365b748a2c5c4d46f439a79dd1
Issue-ID: VVP-313
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Thu, 3 Oct 2019 14:20:11 +0000 (19:50 +0530)]
Sonarfix in structures.py
Reduced cognitive complexity
Change-Id: I2f435ba1d5980405fed66bfb1e4f4ad543b0ba4e
Issue-ID: VVP-286
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
anushadasari [Wed, 2 Oct 2019 19:07:07 +0000 (00:37 +0530)]
Refactor function to reduce Cognitive Complexity
Issue-ID: VVP-314
Change-Id: I0843dde3cc01ef2efbb08a282b93c5e3414a1cd2
Signed-off-by: anushadasari <danush10@in.ibm.com>
Steven Wright [Tue, 1 Oct 2019 15:07:21 +0000 (15:07 +0000)]
Merge "Sonarfix: Reduce cognitive complexity"
Steven Wright [Tue, 1 Oct 2019 14:26:59 +0000 (14:26 +0000)]
Merge "Sonarfix: Reduced cognitive compexity"
Steven Wright [Tue, 1 Oct 2019 14:26:38 +0000 (14:26 +0000)]
Merge "[VVP] updating release version to 5.0.1"
Steven Wright [Tue, 1 Oct 2019 14:26:09 +0000 (14:26 +0000)]
Merge "Reduce cognitive complexity"
Steven Wright [Tue, 1 Oct 2019 14:25:53 +0000 (14:25 +0000)]
Merge "Sonarfix: Reduce cognitive complexity"
Ezhilarasi [Thu, 26 Sep 2019 11:47:50 +0000 (17:17 +0530)]
Sonarfix: Reduce cognitive complexity
Reduced cognitive complexity in validate_metadata method
Change-Id: I195971985214f54a44c56a2e425825251a91c83b
Issue-ID: VVP-294
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Tue, 1 Oct 2019 09:51:51 +0000 (15:21 +0530)]
reduce cognitive complexity
Reduce cognitive complexity in test_network_format.py
Change-Id: I6f42192988f7b3361479b66740e287b8f9e6d887
Issue-ID: VVP-313
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Fri, 27 Sep 2019 17:20:12 +0000 (22:50 +0530)]
Sonarfix: Reduced cognitive compexity
Reduced cognitive compexity by replacing if conditions
Change-Id: If198c2b82dd132c343bbe9db8cd3064750998785
Issue-ID: VVP-287
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
stark, steven [Mon, 30 Sep 2019 20:31:02 +0000 (13:31 -0700)]
[VVP] updating release version to 5.0.1
Issue-ID: VVP-305
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I5c07583d9e1286f4f3ca2290e7ead6c11ade173d
stark, steven [Wed, 25 Sep 2019 17:49:59 +0000 (10:49 -0700)]
[VVP] updating version, adding releases folder
Issue-ID: VVP-305
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I818c14325a5bcc274eef6359730738b028d85b97
Ezhilarasi [Thu, 26 Sep 2019 11:24:01 +0000 (16:54 +0530)]
Sonarfix: Reduce cognitive complexity
Change-Id: I18a9802c643f778c2aedb658848c091ff8a1587c
Issue-ID: VVP-296
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Thu, 26 Sep 2019 11:02:25 +0000 (16:32 +0530)]
Reduce cognitive complexity
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>
Steven Wright [Tue, 24 Sep 2019 14:53:57 +0000 (14:53 +0000)]
Merge "added Is_nova_server method to helpers"
steven stark [Fri, 20 Sep 2019 15:03:14 +0000 (15:03 +0000)]
Merge "[VVP] Misc tweaks and fixes to preload generation"
Lovett, Trevor [Thu, 19 Sep 2019 19:03:55 +0000 (14:03 -0500)]
[VVP] Misc tweaks and fixes to preload generation
* 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
Lovett, Trevor [Thu, 19 Sep 2019 21:37:29 +0000 (16:37 -0500)]
[VVP] Removed additional f-string for build-upload issue
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>
stark, steven [Thu, 19 Sep 2019 14:30:14 +0000 (07:30 -0700)]
[VVP] removing Information.txt from test csar files
Issue-ID: VVP-311
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I09275cb10ce59f0dcde506dc5594e586766e20d0
steven stark [Wed, 18 Sep 2019 17:07:27 +0000 (17:07 +0000)]
Merge "[VVP] Replaced test.csar in preload_tests"
Lovett, Trevor [Wed, 18 Sep 2019 16:59:28 +0000 (11:59 -0500)]
[VVP] Replaced test.csar in preload_tests
Issue-ID: VVP-311
Change-Id: I8b669a31511348a70915ccc91be597b8df097ae2
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Ezhilarasi [Wed, 18 Sep 2019 15:44:44 +0000 (21:14 +0530)]
added Is_nova_server method to helpers
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>
Lovett, Trevor [Tue, 17 Sep 2019 22:21:32 +0000 (17:21 -0500)]
[VVP] Only install black on py 3.6 and up
Issue-ID: VVP-310
Change-Id: I352773d923c0cd4a7a8cc146504520031ebb32e8
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Fri, 30 Aug 2019 15:07:40 +0000 (10:07 -0500)]
[VVP] Ensure Sonar coverage executes all tests
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>
Lovett, Trevor [Fri, 6 Sep 2019 20:34:12 +0000 (15:34 -0500)]
Enforce black code format via pre-commit hook
Issue-ID: VVP-203
Change-Id: If0de5b4bc1be0c9514decea1f4ff6f5ec79dc41b
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Lovett, Trevor [Fri, 6 Sep 2019 13:57:30 +0000 (08:57 -0500)]
Fixed GUI not saving users' prior settings
Change-Id: Id495e291ef6fe9f8ff024decfe27220a32e727ba
Issue-ID: VVP-298
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
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"