From 4d23c1afb0257596cf05c7aa8e25242759c55d07 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Thu, 25 Feb 2016 13:13:07 +0100 Subject: Add Proxy section in the config guide Change-Id: I887ef72d3298c83bc623f478de9e4317827d91d0 Signed-off-by: jose.lausuch (cherry picked from commit c5e191cabe0a8215ed3975fb5c06c1cb15fdb158) --- docs/configguide/configguide.rst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'docs') diff --git a/docs/configguide/configguide.rst b/docs/configguide/configguide.rst index bc66d3856..7f4ac86c5 100644 --- a/docs/configguide/configguide.rst +++ b/docs/configguide/configguide.rst @@ -251,5 +251,33 @@ from the repository to your current directory and run the container with a volum However, this is not recommended since most of the test cases rely on static parameters read from this file, and changing them might cause problems. + +Proxy support +------------- + +Functest needs internet access to download some resources for some test cases. +For example to install the Rally environment. This might not work properly if +the Jumphost is running through a Proxy. + +If that is the case, make sure the resolv.conf and the needed proxy environment +variables are properly set:: + + export http_proxy= + export https_proxy= + +Or refer to the official Docker documentation for Proxy_ settings. + +Before running **prepare_env.sh** make sure you can ping http and https sites +inside the container. For example:: + + nc -v google.com 80 + Connection to google.com 80 port [tcp/http] succeeded! + + nc -v google.com 443 + Connection to google.com 443 port [tcp/https] succeeded! + + + .. _dockerdocs: https://docs.docker.com/ .. _dockerhub: https://hub.docker.com/r/opnfv/functest/ +.. _Proxy: https://docs.docker.com/engine/admin/systemd/#http-proxy -- cgit 1.2.3-korg