Add a function to check the cacert file 21/52021/2
authorxudan <xudan16@huawei.com>
Mon, 12 Feb 2018 07:17:28 +0000 (02:17 -0500)
committerGeorg Kunz <georg.kunz@ericsson.com>
Fri, 16 Feb 2018 17:05:10 +0000 (17:05 +0000)
commit51a7666d0d50d0ed13c556d97aded50a3e7f30de
treeb1fe507497ccb03439996501aae63b51e0f585f9
parent18f117ce3b88ef626f6de5e5037e220be0f0f0ac
Add a function to check the cacert file

1. Currently it won't pass the cacert file to other containers if the
   OS_AUTH_URL is http not https.
2. However, even though the OS_AUTH_URL is http, it still needs cacert file
   somewhere for Functest and Rally.
3. This problem is found on Fuel Euphrates.
4. Add a function to check whether the cacert file exists.
5. If exists, pass it to testing project containers.

JIRA: DOVETAIL-616

Change-Id: Ied7bcc72e8f1c738bbce32c18096ca13641d3cd7
Signed-off-by: xudan <xudan16@huawei.com>
dovetail/container.py
dovetail/utils/dovetail_utils.py