summaryrefslogtreecommitdiffstats
path: root/ATFSetup.py
diff options
context:
space:
mode:
authorShwetha-H-Panduranga <shwetha@gluster.com>2011-12-06 14:25:20 +0530
committerShwetha-H-Panduranga <shwetha@gluster.com>2011-12-06 14:25:20 +0530
commit129e39fe6878f28ca203c690fab382b7289b334c (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /ATFSetup.py
parent18445ae1a94366c955cc7626fb8ec749dedcf73e (diff)
Removing all automation files from the repo
Diffstat (limited to 'ATFSetup.py')
-rwxr-xr-xATFSetup.py52
1 files changed, 0 insertions, 52 deletions
diff --git a/ATFSetup.py b/ATFSetup.py
deleted file mode 100755
index 502154d..0000000
--- a/ATFSetup.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env python
-
-import ATFUtils
-
-def setup():
- """
- Description:
- * Setup SSH Connections to all Servers
- * Setup SSH Connection to all Clients
- * Cleanup Glusterd on all Servers
- * Cleanup Glusterd on all Clients
- * Stop Glusterd on all Servers
- * Stop Glusterd on all Clients
- * Start Glusterd on all Servers
- * Start Glusterd on all Clients
- * Peer Probe from a Server to Other Servers
-
- Returns:
- Success: 0 ( If all the Setup Phases are Successful)
- Failure: 1 ( If any of the Setup Phase is unsuccessful)
- """
-
- if ATFUtils.sshservers():
- return 1
-
- if ATFUtils.sshclients():
- return 1
-
- if ATFUtils.cleanupserversglusterd():
- return 1
-
- if ATFUtils.cleanupclientsglusterd():
- return 1
-
- if ATFUtils.stopserversglusterd():
- return 1
-
- if ATFUtils.stopclientsglusterd():
- return 1
-
- if ATFUtils.startserversglusterd():
- return 1
-
- if ATFUtils.startclientsglusterd():
- return 1
-
- if ATFUtils.peerprobe():
- return 1
-
- return 0
-
-