From 7eefbe8f7ec52d727e8e504e4ddd4ddb57cf569e Mon Sep 17 00:00:00 2001
From: boucherv <valentin.boucher@orange.com>
Date: Wed, 10 Aug 2016 18:59:41 +0200
Subject: Create config_functest patch to update the conf with scenario

Adding support of LXD scenario

JIRA: FUNCTEST-268

Change-Id: I5891ff9de674d99d32d8db747be501ee8a2e6609
Signed-off-by: boucherv <valentin.boucher@orange.com>
---
 testcases/OpenStack/rally/run_rally-cert.py | 3 ++-
 testcases/OpenStack/tempest/run_tempest.py  | 3 ++-
 testcases/OpenStack/vPing/vPing_ssh.py      | 3 ++-
 testcases/OpenStack/vPing/vPing_userdata.py | 3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

(limited to 'testcases')

diff --git a/testcases/OpenStack/rally/run_rally-cert.py b/testcases/OpenStack/rally/run_rally-cert.py
index 1f1214e0..92dbddff 100755
--- a/testcases/OpenStack/rally/run_rally-cert.py
+++ b/testcases/OpenStack/rally/run_rally-cert.py
@@ -410,7 +410,8 @@ def main():
                                                            GLANCE_IMAGE_PATH))
         image_id = os_utils.create_glance_image(glance_client,
                                                 GLANCE_IMAGE_NAME,
-                                                GLANCE_IMAGE_PATH)
+                                                GLANCE_IMAGE_PATH,
+                                                GLANCE_IMAGE_FORMAT)
         if not image_id:
             logger.error("Failed to create the Glance image...")
             exit(-1)
diff --git a/testcases/OpenStack/tempest/run_tempest.py b/testcases/OpenStack/tempest/run_tempest.py
index 845c5883..b3c4436d 100755
--- a/testcases/OpenStack/tempest/run_tempest.py
+++ b/testcases/OpenStack/tempest/run_tempest.py
@@ -165,7 +165,8 @@ def create_tempest_resources():
                                                           GLANCE_IMAGE_PATH))
         image_id = os_utils.create_glance_image(glance_client,
                                                 GLANCE_IMAGE_NAME,
-                                                GLANCE_IMAGE_PATH)
+                                                GLANCE_IMAGE_PATH,
+                                                GLANCE_IMAGE_FORMAT)
         if not image_id:
             logger.error("Failed to create a Glance image...")
             exit(-1)
diff --git a/testcases/OpenStack/vPing/vPing_ssh.py b/testcases/OpenStack/vPing/vPing_ssh.py
index 4aab6195..810f286f 100755
--- a/testcases/OpenStack/vPing/vPing_ssh.py
+++ b/testcases/OpenStack/vPing/vPing_ssh.py
@@ -192,7 +192,8 @@ def main():
                                                           GLANCE_IMAGE_PATH))
         image_id = os_utils.create_glance_image(glance_client,
                                                 GLANCE_IMAGE_NAME,
-                                                GLANCE_IMAGE_PATH)
+                                                GLANCE_IMAGE_PATH,
+                                                GLANCE_IMAGE_FORMAT)
         if not image_id:
             logger.error("Failed to create a Glance image...")
             exit(EXIT_CODE)
diff --git a/testcases/OpenStack/vPing/vPing_userdata.py b/testcases/OpenStack/vPing/vPing_userdata.py
index b6e3fe11..dd707bc8 100755
--- a/testcases/OpenStack/vPing/vPing_userdata.py
+++ b/testcases/OpenStack/vPing/vPing_userdata.py
@@ -192,7 +192,8 @@ def main():
                                                           GLANCE_IMAGE_PATH))
         image_id = os_utils.create_glance_image(glance_client,
                                                 GLANCE_IMAGE_NAME,
-                                                GLANCE_IMAGE_PATH)
+                                                GLANCE_IMAGE_PATH,
+                                                GLANCE_IMAGE_FORMAT)
         if not image_id:
             logger.error("Failed to create a Glance image...")
             exit(EXIT_CODE)
-- 
cgit