Add ODL variables to env file 75/63175/12
authorManuel Buil <mbuil@suse.com>
Thu, 4 Oct 2018 13:56:42 +0000 (15:56 +0200)
committerManuel Buil <mbuil@suse.com>
Thu, 18 Oct 2018 07:02:56 +0000 (09:02 +0200)
commit428833bf9fa1fd3910517d39499329ff27444694
tree388618b5285a6f5d02fd656e9d5d0ed8c7fe1fa2
parent4597bb3c4ff273a68d73883a9d87520517d60876
Add ODL variables to env file

ODL testcases in functest require new variables:

https://git.opnfv.org/functest/tree/functest/utils/env.py#n22

Otherwise the test fails because it cannot contact ODL

To find those variables, we fetch the ml2_conf.ini file from the neutron
container and then we parse the values. This is only run when the
scenario has odl

deploy-scenario:os-odl-sfc
installer-type:osa

Change-Id: If175bb7642e66e151b30e1ccd1b9040aa3481d8f
Signed-off-by: Manuel Buil <mbuil@suse.com>
xci/playbooks/roles/prepare-tests/tasks/main.yml
xci/playbooks/roles/prepare-tests/tasks/process_neutron_conf.yml [new file with mode: 0644]
xci/playbooks/roles/prepare-tests/templates/env.j2