Force the right external network if juju 25/66525/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:12:29 +0000 (11:12 +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>
(cherry picked from commit f28094ae0ecfedc3c7c3f32cc1cfc1eff12ea773)

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']