summaryrefslogtreecommitdiffstats
path: root/lib/auto/testcase/resiliency/AutoResilIftCloud.py
diff options
context:
space:
mode:
authorGerard Damm <gerard.damm@wipro.com>2018-03-20 16:06:10 -0500
committerGerard Damm <gerard.damm@wipro.com>2018-03-20 16:06:10 -0500
commit05a3cd97eca82ab63f1733b55b38f026928ce2f6 (patch)
tree6b823338b44a4aedea88084b93be53ad3b0a5221 /lib/auto/testcase/resiliency/AutoResilIftCloud.py
parente1730ab6e1b355baec45def4f0ed305998895a77 (diff)
structures for definition code (Tests and Challenges)
JIRA: AUTO-13 Created structures for configuring various test definition scripts and challenge definition scripts in corresponding classes (something like libraries of functions, with an index ID to pick the applicable function). This will be useful to leverage Python clients to OpenStack and Kubernetes, or even for HTTP-level APIs for ONAP. It may be more flexible than the list of CLI/API commands initially planned (however, the list structures are still there, and might be used by the scripts). Additionally, there are some test snippets for Openstack Python SDK (work in progress). Also, there is a clouds.yaml file, for this interface. Change-Id: Ida1ff118fcbfe8715679492feb8fe0df2da62b45 Signed-off-by: Gerard Damm <gerard.damm@wipro.com>
Diffstat (limited to 'lib/auto/testcase/resiliency/AutoResilIftCloud.py')
-rw-r--r--lib/auto/testcase/resiliency/AutoResilIftCloud.py46
1 files changed, 0 insertions, 46 deletions
diff --git a/lib/auto/testcase/resiliency/AutoResilIftCloud.py b/lib/auto/testcase/resiliency/AutoResilIftCloud.py
deleted file mode 100644
index 01e948b..0000000
--- a/lib/auto/testcase/resiliency/AutoResilIftCloud.py
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env python3
-
-# ===============LICENSE_START=======================================================
-# Apache-2.0
-# ===================================================================================
-# Copyright (C) 2018 Wipro. All rights reserved.
-# ===================================================================================
-#
-# 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.
-# ===============LICENSE_END=========================================================
-
-
-# OPNFV Auto project
-# https://wiki.opnfv.org/pages/viewpage.action?pageId=12389095
-
-# Use case 02: Resilience Improvements
-# Use Case description: https://wiki.opnfv.org/display/AUTO/Auto+Use+Cases
-# Test case design: https://wiki.opnfv.org/display/AUTO/Use+case+2+%28Resilience+Improvements+through+ONAP%29+analysis
-
-# This module: interfaces with cloud managers (OpenStack, Kubernetes, AWS, ...)
-
-
-######################################################################
-# import statements
-import AutoResilGlobal
-
-
-def f1():
- return 0
-
-# OpenStack HTTP API: https://developer.openstack.org/api-ref/compute/
-#{your_compute_service_url}/servers/{server_id}/action
-#GET
-#http://mycompute.pvt/compute/v2.1/servers/{server_id}/suspend
-#http://mycompute.pvt/compute/v2.1/servers/{server_id}/resume
-