aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijayendra Radhakrishna <vradhakrishna@mvista.com>2016-12-13 19:23:18 +0530
committerVijayendra Radhakrishna <vradhakrishna@mvista.com>2016-12-13 19:27:02 +0530
commitd5931d8c0d46aafdc362d2aa5beb0e195ac65a4e (patch)
treee24a71ce883f5480d74bd14157e57ab45345b584
parent8b09f0ad06e5ae941fc497754cc5778fae9018de (diff)
tacker_client_install.sh duplicate in odl-sfc dir
- This has moved to setup_scripts folder. Change-Id: Iab1a15f53ad68dd62a42008112175deae9d8b2cf Signed-off-by: Vijayendra Radhakrishna <vradhakrishna@mvista.com>
-rwxr-xr-xtests/functest/odl-sfc/tacker_client_install.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/tests/functest/odl-sfc/tacker_client_install.sh b/tests/functest/odl-sfc/tacker_client_install.sh
deleted file mode 100755
index adb9a44b..00000000
--- a/tests/functest/odl-sfc/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