From: jose.lausuch Date: Thu, 25 Feb 2016 12:13:07 +0000 (+0100) Subject: Add Proxy section in the config guide X-Git-Tag: brahmaputra.1.0^0 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F10805%2F1;p=functest.git Add Proxy section in the config guide Change-Id: I887ef72d3298c83bc623f478de9e4317827d91d0 Signed-off-by: jose.lausuch (cherry picked from commit c5e191cabe0a8215ed3975fb5c06c1cb15fdb158) --- 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