Converted vPing to leverage the object-oriented SNAPS library. 57/25357/33
authorspisarski <s.pisarski@cablelabs.com>
Thu, 1 Dec 2016 19:10:48 +0000 (12:10 -0700)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 16 May 2017 16:15:06 +0000 (18:15 +0200)
commit1b940dcafb40c28e519700cf23e4d0f880f962d1
treef1250ebe47d3ea86a3f46b342be106bb475029d7
parent10ed30e26e9510dcdc9563a0eda3b94c0ccb16ad
Converted vPing to leverage the object-oriented SNAPS library.

JIRA: FUNCTEST-577

1. Replaced procedural openstack_utils with the object-oriented SNAPS
   library
2. Tests now clean themselves up.
3. Improved code documentation.
4. Removed dependency on file-based Cirros image and now leveraging the
   download URL.
5. Removed hardcoded location to the testcases.yaml file to leverage
   the value in config_functest.yaml
6. Included optional flavor metadata based on the scenario being tested
7. Included support for multi-part images.
8. Added enhanced support for configurable images. see SNAPS-76

Fixed line length verification problem with the previous submission
Fixed retrieval of external network name to be dynamic.
Changed external network name retrieval to leverage the newly merged
snap_util.get_ext_net_name() function
Added the creation and deletion of flavors.
SNAPS now has the ability to add/remove security groups from running instances.
Changed VMInstance constructor by moving userdata to configuration object.

Change-Id: I0ef5e268eb153d696bb4d9a7533f780e5c603d26
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
functest/ci/config_functest.yaml
functest/core/pytest_suite_runner.py
functest/opnfv_tests/openstack/snaps/health_check.py
functest/opnfv_tests/openstack/snaps/smoke.py
functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
functest/opnfv_tests/openstack/vping/vping_base.py
functest/opnfv_tests/openstack/vping/vping_ssh.py
functest/opnfv_tests/openstack/vping/vping_userdata.py