Add mention to apache 2 license in Functest files and remove unused files
authorMorgan Richomme <morgan.richomme@orange.com>
Tue, 19 Jan 2016 10:48:39 +0000 (11:48 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Tue, 19 Jan 2016 10:48:39 +0000 (11:48 +0100)
Change-Id: Iaf67792ad61351d0573c8d92e5d78f5f7a6e86ff
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
18 files changed:
docker/Dockerfile
docker/common.sh
docker/prepare_env.sh
docker/requirements.pip
docker/run_tests.sh
testcases/Controllers/ODL/CI/start_tests.sh
testcases/Controllers/ODL/ODL.md [deleted file]
testcases/Controllers/ONOS/Teston/CI/adapters/client.py
testcases/Controllers/ONOS/Teston/CI/adapters/connection.py
testcases/Controllers/ONOS/Teston/CI/adapters/environment.py
testcases/Controllers/ONOS/Teston/CI/adapters/foundation.py
testcases/Controllers/ONOS/Teston/CI/dependencies/onos
testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
testcases/VIM/OpenStack/CI/libraries/clean_openstack.py
testcases/VIM/OpenStack/CI/libraries/run_tempest.py
testcases/VIM/OpenStack/CI/libraries/test_openstack.sh
testcases/vIMS/CI/create_venv.sh
testcases/vIMS/vIMS.md [deleted file]

index 0765eb8..3c5a2a6 100644 (file)
 #
 # NOTE: providing config_functest.yaml is optional. If not provided, it will
 #       use the default one located in the repo
-
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 
 FROM ubuntu:14.04
 MAINTAINER Jose Lausuch <jose.lausuch@ericsson.com>
index 1f1cc75..c1c7839 100755 (executable)
 
 # this pull is to be removed right before the B release, once we build
 # a release candidate docker
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 cd $repos_dir/functest
 git pull
 
index 48320d4..4f1751b 100755 (executable)
@@ -6,6 +6,12 @@
 # Installs the Functest framework within the Docker container
 # and run the tests automatically
 #
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 
 usage="Script to prepare the Functest environment.
 
@@ -155,6 +161,19 @@ if [ $offline == false ]; then
         git reset --hard ${PROMISE_COMMIT}
     fi
 
+    info "Updating OVNO repository...."
+    cd ${OVNO_REPO_DIR}
+    if [ ${OVNO_BRANCH} != "master" ]; then
+        info "OVNO repo: checkout ${OVNO} branch..."
+        git checkout ${OVNO_BRANCH}
+    fi
+    info "OVNO repo: pulling to latest..."
+    git pull
+    if [ ${OVNO_COMMIT} != "latest" ]; then
+        info "OVNO repo: given commit is ${OVNO_COMMIT}. Reseting..."
+        git reset --hard ${OVNO_COMMIT}
+    fi
+
 fi
 
 # We do this regardless if its online or offline mode.
index 8644154..40e56b9 100644 (file)
@@ -1,3 +1,12 @@
+#
+#
+# author: Jose Lausuch (jose.lausuch@ericsson.com)
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 pyyaml==3.10
 gitpython==1.0.1
 python-neutronclient==2.6.0
index cb6fb0c..54031ea 100755 (executable)
@@ -2,10 +2,16 @@
 
 #
 # Author: Jose Lausuch (jose.lausuch@ericsson.com)
-#
+#         Morgan Richomme (morgan.richomme@orange.com)
 # Installs the Functest framework within the Docker container
 # and run the tests automatically
 #
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 
 usage="Script to trigger the tests automatically.
 
index 5e87726..a2fd012 100755 (executable)
@@ -1,5 +1,11 @@
 #!/bin/bash
 # it includes python2.7 virtual env with robot packages and git
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 
 BASEDIR=`dirname $0`
 RESULTS_DIR='/home/opnfv/functest/results/odl/'
diff --git a/testcases/Controllers/ODL/ODL.md b/testcases/Controllers/ODL/ODL.md
deleted file mode 100644 (file)
index 375f20e..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-# Robotframework test for ODL
-
-Original ODL testsuites can be found here: https://github.com/opendaylight/integration
-
-## Environment for running tests
-
-Create python virtual environment and install following packages into it:
-
-BeautifulSoup==3.2.1
-PyYAML==3.11
-contextdecorator==0.10.0
-ecdsa==0.11
-ipaddr==2.1.11
-paramiko==1.14.0
-pycrypto==2.6.1
-pystache==0.5.4
-requests==2.3.0
-robotframework==2.8.5
-robotframework-requests==0.3.7
-robotframework-sshlibrary==2.0.2
-six==1.7.3
-vcrpy==1.0.2
-wsgiref==0.1.2
-
-## Running tests
-For more info:
-cd CI
-bash start_test.sh -h
index 535b71f..a61670e 100644 (file)
@@ -2,6 +2,13 @@
 Description:
     This file is used to run testcase
     lanqinglong@huawei.com
+
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 """
 from environment import environment
 import os
index c0eb464..e2788b4 100644 (file)
@@ -5,6 +5,13 @@ Description:
     it can run without password
 
     lanqinglong@huawei.com
+
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 """
 import os
 import time
index f0bafd7..8b7ee13 100644 (file)
@@ -6,6 +6,13 @@ Description:
             Set user name/password
             Onos-push-keys and so on
     lanqinglong@huawei.com
+
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 """
 
 import os
index 83cbcb2..486ecfa 100644 (file)
@@ -2,6 +2,13 @@
 Description:
     This file include basis functions
     lanqinglong@huawei.com
+
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 """
 
 import logging
index d4d59e0..bb02fa8 100644 (file)
@@ -2,6 +2,12 @@
 # -----------------------------------------------------------------------------
 # ONOS remote command-line client.
 # -----------------------------------------------------------------------------
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 
 [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
 . /root/.bashrc
index 675b3fc..696e868 100644 (file)
@@ -6,6 +6,13 @@ CASE1 - Northbound NBI test network/subnet/ports
 CASE2 - Ovsdb test&Default configuration&Vm go online
 
 lanqinglong@huawei.com
+
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 """
 from adapters.client import client
 
index 96bd172..8a49843 100644 (file)
 # Author:
 #    jose.lausuch@ericsson.com
 #
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 
 import argparse
 import logging
index e24697c..1f5d34c 100644 (file)
@@ -6,8 +6,13 @@
 # Authors:
 #    morgan.richomme@orange.com
 #    jose.lausuch@ericsson.com
+#    viktor.tikkanen@nokia.com
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
 #
-
 import argparse
 import json
 import logging
index 7225796..fa1f0fa 100755 (executable)
@@ -4,6 +4,12 @@
 # Author:
 #    jose.lausuch@ericsson.com
 #
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
 
 if [ -z $OS_AUTH_URL ]; then
     echo "Source credentials first"
index 15294f7..575fd17 100755 (executable)
@@ -2,6 +2,14 @@
 
 # Script checks that venv exists. If it doesn't it will be created
 # It requires python2.7 and virtualenv packages installed
+#
+#   Copyright (c) 2015 Orange
+#   valentin.boucher@orange.com
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
 
 BASEDIR=`dirname $0`
 VENV_PATH=$1
diff --git a/testcases/vIMS/vIMS.md b/testcases/vIMS/vIMS.md
deleted file mode 100644 (file)
index 68f86d9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# vIMS README
-
-