Ranger IMS tempest test update

Remove hardcoding for ranger Tempest image upload URL

Change-Id: I209b270ff85eb09d3ee813954ac78bb21b81caa6
This commit is contained in:
stewie925 2019-03-28 17:01:10 -07:00
parent dd537c8e76
commit 9799a994c6
2 changed files with 3 additions and 6 deletions

View File

@ -54,12 +54,7 @@ class ImsBaseOrmTest(base.BaseOrmTest):
post_body["name"] = data_utils.rand_name(
"orm-plugin-TestTempestIms-image")
# use ubuntu website for the image location URL
ubuntu_url = "http://archive.ubuntu.com/"
ubuntu_dir = "ubuntu/dists/xenial/main/installer-i386/current/images/"
ubuntu_iso = "netboot/mini.iso"
post_body["url"] = ubuntu_url + ubuntu_dir + ubuntu_iso
post_body["url"] = CONF.ranger.image_url
post_body["disk-format"] = "qcow2"
post_body["container-format"] = "bare"

View File

@ -118,6 +118,8 @@ multi_backend = false
# RANGER_FMS_BASE_URL='https://<ranger-fms-endpoint>:443'
### set ranger IMS service URL
# RANGER_IMS_BASE_URL='https://<ranger-ims-endpoint>:443'
### uncomment to set the image container URL
# image_url = <image container url>
### uncomment below to set verify = TRUE
# verify=True
### uncomment to set token authentication ON