aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitrios Markou <mardim@intracom-telecom.com>2017-08-25 14:01:18 +0300
committerDimitrios Markou <mardim@intracom-telecom.com>2017-08-25 14:01:18 +0300
commit0339379381aca3e0234125945c5dabbe895b5039 (patch)
tree0324bdd5247b60ed01e87902c56053c23af2511b
parent7287446920ed8859a7de78eef4235367a48a7d78 (diff)
Remove custom tacker-client installation script
In previous releases we used a custom tacker client because we also used a custom tacker. For the next release we migrate to the the upstream tacker so we don't need anymore the aforementioned installation script because now we support the upstream tacker client. Change-Id: I0c502426161bbeaaf2418823fe91c2025f1494a8 Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
-rw-r--r--sfc/tests/functest/setup_scripts/tacker_client_install.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/sfc/tests/functest/setup_scripts/tacker_client_install.sh b/sfc/tests/functest/setup_scripts/tacker_client_install.sh
deleted file mode 100644
index adb9a44b..00000000
--- a/sfc/tests/functest/setup_scripts/tacker_client_install.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-MYDIR=$(dirname $(readlink -f "$0"))
-CLIENT=$(echo python-python-tackerclient_*_all.deb)
-CLIREPO="tacker-client"
-
-# Function checks whether a python egg is available, if not, installs
-function chkPPkg() {
- PKG="$1"
- IPPACK=$(python - <<'____EOF'
-import pip
-from os.path import join
-for package in pip.get_installed_distributions():
- print(package.location)
- print(join(package.location, *package._get_metadata("top_level.txt")))
-____EOF
-)
- echo "$IPPACK" | grep -q "$PKG"
- if [ $? -ne 0 ];then
- pip install "$PKG"
- fi
-}
-
-function envSetup() {
- apt-get install -y python-all debhelper fakeroot
- #pip install --upgrade python-keystoneclient==1.7.4
- chkPPkg stdeb
-}
-
-# Function installs python-tackerclient from github
-function deployTackerClient() {
- cd $MYDIR
- git clone -b 'SFC_refactor' https://github.com/trozet/python-tackerclient.git $CLIREPO
- cd $CLIREPO
- python setup.py --command-packages=stdeb.command bdist_deb
- cd "deb_dist"
- CLIENT=$(echo python-python-tackerclient_*_all.deb)
- cp $CLIENT $MYDIR
- dpkg -i "${MYDIR}/${CLIENT}"
- apt-get -f -y install
- dpkg -i "${MYDIR}/${CLIENT}"
-}
-
-envSetup
-deployTackerClient