From: Cédric Ollivier Date: Sun, 20 Jan 2019 10:10:04 +0000 (+0100) Subject: Force the right external network if juju X-Git-Tag: opnfv-8.1.0~85 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F66523%2F1;p=functest.git Force the right external network if juju It may select a falsy external network [1]. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-latest-juju_epc-run/4/console Change-Id: Ic403d0cfb4bc829275617d6b1338311e8e7ea894 Signed-off-by: Cédric Ollivier (cherry picked from commit f28094ae0ecfedc3c7c3f32cc1cfc1eff12ea773) --- diff --git a/functest/opnfv_tests/vnf/epc/juju_epc.py b/functest/opnfv_tests/vnf/epc/juju_epc.py index eda910a90..ad4591fd6 100644 --- a/functest/opnfv_tests/vnf/epc/juju_epc.py +++ b/functest/opnfv_tests/vnf/epc/juju_epc.py @@ -246,6 +246,7 @@ class JujuEpc(singlevm.VmReady2): '--bootstrap-series', 'xenial', '--config', 'network={}'.format(self.network.id), '--config', 'ssl-hostname-verification=false', + '--config', 'external-network={}'.format(self.ext_net.id), '--config', 'use-floating-ip=true', '--config', 'use-default-secgroup=true', '--debug']