[cvp-spt] Allow to redefine flavor parameters from environment variables

Additional changes: 
* remake calling 'image_name' variable for more pythonic way
* subprocess.call calls with shell=True when creating the image
* fix the deprecation message from yaml.load


Change-Id: Ic057f7b0364eed2ab0693569b1330e8066def757
Related-Prod:#PROD-26971(PROD:26971)
diff --git a/test_set/cvp-spt/global_config.yaml b/test_set/cvp-spt/global_config.yaml
index 9a8e738..d44ff8e 100644
--- a/test_set/cvp-spt/global_config.yaml
+++ b/test_set/cvp-spt/global_config.yaml
@@ -29,3 +29,9 @@
 nova_timeout: 30
 iperf_prep_string: "sudo /bin/bash -c 'echo \"91.189.88.161        archive.ubuntu.com\" >> /etc/hosts'"
 IMAGE_SIZE_MB: 2000
+
+# parameters for vm2vm test
+flavor_name: 'spt-test'
+flavor_ram: 1536
+flavor_vcpus: 1
+flavor_disk: 5
\ No newline at end of file