Install SFC python modules in Functest
authorjose.lausuch <jose.lausuch@ericsson.com>
Wed, 14 Dec 2016 11:08:43 +0000 (12:08 +0100)
committerJose Lausuch <jose.lausuch@ericsson.com>
Thu, 15 Dec 2016 10:37:25 +0000 (10:37 +0000)
This will install SFC repository locally
so that they can have whatever directory structure
without modifying the PYTHONPATH env var.

See this for more info:
https://gerrit.opnfv.org/gerrit/#/c/25861/

JIRA: SFC-60

Change-Id: If197c250da61d2ae1f4b2f90a52bf007159fd07e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
docker/Dockerfile

index f76dd79..b5f637f 100644 (file)
@@ -142,7 +142,10 @@ RUN curl -L https://get.rvm.io | bash -s stable
 RUN git clone --depth 1 https://gerrit.cablelabs.com/snaps-provisioning ${REPOS_DIR}/snaps
 RUN pip install -e ${REPOS_DIR}/snaps/
 
-RUN /bin/bash -c ". ${REPOS_DIR}/sfc/tests/functest/odl-sfc/tacker_client_install.sh"
+# SFC integration
+RUN /bin/bash -c ". ${REPOS_DIR}/sfc/sfc/tests/functest/setup_scripts/tacker_client_install.sh"
+RUN cd ${REPOS_DIR}/sfc/tests && pip install .
+
 RUN cd ${REPOS_DIR}/bgpvpn && pip install .
 #RUN cd ${REPOS_DIR}/kingbird && pip install -e .
 RUN cd ${REPOS_DIR}/moon/moonclient/ && python setup.py install