aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/features
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-04-13 16:52:16 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-04-14 08:57:36 +0200
commitd467ead2a0d8585cd7b702804029ed514f26b513 (patch)
tree66cfe5b4cef6b728e32663b3bcac995b744a8a60 /functest/opnfv_tests/features
parent32ccb8926fd7057fed83f68e9035bd13577bf58a (diff)
Remove deprecated feature modules
All features running bash programs are now simply defined in testcases.yaml. All deprecated modules and unit tests are removed. Change-Id: I7047b6f7a1e43cb8ed5ba2d569d5dcecae68fb86 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/features')
-rw-r--r--functest/opnfv_tests/features/copper.py25
-rw-r--r--functest/opnfv_tests/features/doctor.py24
-rw-r--r--functest/opnfv_tests/features/domino.py25
-rw-r--r--functest/opnfv_tests/features/netready.py22
-rw-r--r--functest/opnfv_tests/features/odl_sfc.py20
-rw-r--r--functest/opnfv_tests/features/promise.py24
-rw-r--r--functest/opnfv_tests/features/sdnvpn.py20
-rw-r--r--functest/opnfv_tests/features/security_scan.py23
8 files changed, 0 insertions, 183 deletions
diff --git a/functest/opnfv_tests/features/copper.py b/functest/opnfv_tests/features/copper.py
deleted file mode 100644
index 2c5459fc..00000000
--- a/functest/opnfv_tests/features/copper.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright 2016 AT&T Intellectual Property, Inc
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-import functest.core.feature as base
-from functest.utils.constants import CONST
-
-
-class Copper(base.BashFeature):
- def __init__(self, **kwargs):
- repo = CONST.__getattribute__('dir_repo_copper')
- kwargs["cmd"] = 'cd %s/tests && bash run.sh && cd -' % repo
- super(Copper, self).__init__(**kwargs)
diff --git a/functest/opnfv_tests/features/doctor.py b/functest/opnfv_tests/features/doctor.py
deleted file mode 100644
index 0e39248d..00000000
--- a/functest/opnfv_tests/features/doctor.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright (c) 2017 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
-#
-# 0.1: This script boots the VM1 and allocates IP address from Nova
-# Later, the VM2 boots then execute cloud-init to ping VM1.
-# After successful ping, both the VMs are deleted.
-# 0.2: measure test duration and publish results under json format
-#
-#
-import functest.core.feature as base
-from functest.utils.constants import CONST
-
-
-class Doctor(base.BashFeature):
- def __init__(self, **kwargs):
- repo = CONST.__getattribute__('dir_repo_doctor')
- kwargs["cmd"] = 'cd %s/tests && ./run.sh' % repo
- super(Doctor, self).__init__(**kwargs)
diff --git a/functest/opnfv_tests/features/domino.py b/functest/opnfv_tests/features/domino.py
deleted file mode 100644
index b5def3f3..00000000
--- a/functest/opnfv_tests/features/domino.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright (c) 2015 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
-#
-# 0.1: This script boots the VM1 and allocates IP address from Nova
-# Later, the VM2 boots then execute cloud-init to ping VM1.
-# After successful ping, both the VMs are deleted.
-# 0.2: measure test duration and publish results under json format
-# 0.3: add report flag to push results when needed
-# 0.4: refactoring to match Test abstraction class
-
-import functest.core.feature as base
-from functest.utils.constants import CONST
-
-
-class Domino(base.BashFeature):
- def __init__(self, **kwargs):
- repo = CONST.__getattribute__('dir_repo_domino')
- kwargs["cmd"] = 'cd %s && ./tests/run_multinode.sh' % repo
- super(Domino, self).__init__(**kwargs)
diff --git a/functest/opnfv_tests/features/netready.py b/functest/opnfv_tests/features/netready.py
deleted file mode 100644
index 717a4a34..00000000
--- a/functest/opnfv_tests/features/netready.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/python
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-
-#
-import functest.core.feature as base
-from functest.utils.constants import CONST
-
-
-class GluonVping(base.BashFeature):
-
- def __init__(self, **kwargs):
- repo = CONST.__getattribute__('dir_repo_netready')
- dir_netready_functest = '{}/test/functest'.format(repo)
- kwargs["cmd"] = ('cd %s && python ./gluon-test-suite.py' %
- dir_netready_functest)
- super(GluonVping, self).__init__(**kwargs)
diff --git a/functest/opnfv_tests/features/odl_sfc.py b/functest/opnfv_tests/features/odl_sfc.py
deleted file mode 100644
index f5ecf733..00000000
--- a/functest/opnfv_tests/features/odl_sfc.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright (c) 2016 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 functest.core.feature as base
-from functest.utils.constants import CONST
-
-
-class OpenDaylightSFC(base.BashFeature):
-
- def __init__(self, **kwargs):
- repo = CONST.__getattribute__('dir_repo_sfc')
- dir_sfc_functest = '{}/sfc/tests/functest'.format(repo)
- kwargs["cmd"] = 'cd %s && python ./run_tests.py' % dir_sfc_functest
- super(OpenDaylightSFC, self).__init__(**kwargs)
diff --git a/functest/opnfv_tests/features/promise.py b/functest/opnfv_tests/features/promise.py
deleted file mode 100644
index b9e128f0..00000000
--- a/functest/opnfv_tests/features/promise.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/python
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-import functest.core.feature as base
-from functest.utils.constants import CONST
-
-
-class Promise(base.BashFeature):
- def __init__(self, **kwargs):
- repo = CONST.__getattribute__('dir_repo_promise')
- dir_promise_functest = '{}/promise/test/functest'.format(repo)
- kwargs["cmd"] = 'cd %s && python ./run_tests.py' % dir_promise_functest
- super(Promise, self).__init__(**kwargs)
diff --git a/functest/opnfv_tests/features/sdnvpn.py b/functest/opnfv_tests/features/sdnvpn.py
deleted file mode 100644
index 10a97e92..00000000
--- a/functest/opnfv_tests/features/sdnvpn.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright (c) 2016 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 functest.core.feature as base
-from functest.utils.constants import CONST
-
-
-class SdnVpnTests(base.BashFeature):
-
- def __init__(self, **kwargs):
- repo = CONST.__getattribute__('dir_repo_sdnvpn')
- dir_sfc_functest = '{}/sdnvpn/test/functest'.format(repo)
- kwargs["cmd"] = 'cd %s && python ./run_tests.py' % dir_sfc_functest
- super(SdnVpnTests, self).__init__(**kwargs)
diff --git a/functest/opnfv_tests/features/security_scan.py b/functest/opnfv_tests/features/security_scan.py
deleted file mode 100644
index 8f167259..00000000
--- a/functest/opnfv_tests/features/security_scan.py
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright (c) 2015 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 functest.core.feature as base
-from functest.utils.constants import CONST
-
-
-class SecurityScan(base.BashFeature):
- def __init__(self, **kwargs):
- repo = CONST.__getattribute__('dir_repo_securityscan')
- conf = CONST.__getattribute__('dir_functest_conf')
- kwargs["cmd"] = ('. {0}/stackrc && '
- 'cd {1} && '
- 'python security_scan.py --config config.ini && '
- 'cd -'.format(conf, repo))
- super(SecurityScan, self).__init__(**kwargs)