Force the right external network if juju 21/66521/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sun, 20 Jan 2019 10:10:04 +0000 (11:10 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sun, 20 Jan 2019 10:10:04 +0000 (11:10 +0100)
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 <cedric.ollivier@orange.com>
functest/opnfv_tests/vnf/epc/juju_epc.py

index eda910a..ad4591f 100644 (file)
@@ -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']