summaryrefslogtreecommitdiffstats
path: root/jjb/apex
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-02-13 15:51:40 -0500
committerTim Rozet <trozet@redhat.com>2017-02-13 15:51:40 -0500
commitcf765e23b68791c2b66cdf9fa51ba0bf5f25fbe5 (patch)
tree4d8bccf11e2401ddff7ce30e5653a2583006dbc5 /jjb/apex
parentf38fb4b3f155558f48c03e36fd1671a29766b266 (diff)
CSIT: adds route fix for functest
Change-Id: I3dae88e8af728bbcef0f0d4be27478cf7b8e06fc Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex')
-rw-r--r--jjb/apex/apex-snapshot-deploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/jjb/apex/apex-snapshot-deploy.sh b/jjb/apex/apex-snapshot-deploy.sh
index 05a2d4820..dcae0c14d 100644
--- a/jjb/apex/apex-snapshot-deploy.sh
+++ b/jjb/apex/apex-snapshot-deploy.sh
@@ -99,6 +99,12 @@ for network_def in ${virsh_networks}; do
echo "Configuring IP 192.168.37.1 on br-external"
sudo ip addr add 192.168.37.1/24 dev br-external
sudo ip link set up dev br-external
+ # Route for admin network
+ # The overcloud controller is multi-homed and will fail to respond
+ # to traffic from the functest container due to reverse-path-filtering
+ # This route allows reverse traffic, by forcing admin network destined
+ # traffic through the external network
+ sudo ip route add 192.0.2.0/25 dev br-external
fi
fi
done