From 6672a2c6d04f4e5322be3127af42899dc8af4405 Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Sun, 20 Jan 2008 00:29:29 -0500 Subject: initial netapp module and vol skeleton --- func/minion/modules/netapp/README | 8 ++++ func/minion/modules/netapp/__init__.py | 0 func/minion/modules/netapp/vol.py | 81 ++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 func/minion/modules/netapp/README create mode 100644 func/minion/modules/netapp/__init__.py create mode 100644 func/minion/modules/netapp/vol.py (limited to 'func/minion/modules') diff --git a/func/minion/modules/netapp/README b/func/minion/modules/netapp/README new file mode 100644 index 0000000..5ecb205 --- /dev/null +++ b/func/minion/modules/netapp/README @@ -0,0 +1,8 @@ +This module is meant to be installed on a minion which is configured +as an admin host for one or more NetApp filers. Since we can't get +our funcy awesomeness on the actual filer the admin host will have to do. + +Requirements: + +- passphraseless ssh key access from root on the netapp admin minion + to root on the target filer diff --git a/func/minion/modules/netapp/__init__.py b/func/minion/modules/netapp/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/func/minion/modules/netapp/vol.py b/func/minion/modules/netapp/vol.py new file mode 100644 index 0000000..ca3981c --- /dev/null +++ b/func/minion/modules/netapp/vol.py @@ -0,0 +1,81 @@ +## +## NetApp Filer 'Vol' Module +## +## Copyright 2007, Red Hat, Inc +## John Eckersberg +## +## This software may be freely redistributed under the terms of the GNU +## general public license. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +## + +from func.minion.modules import func_module +class Vol(func_module.FuncModule): + + # Update these if need be. + version = "0.0.1" + api_version = "0.0.1" + description = "Interface to the 'vol' command" + + def create(self, *args): + """ + TODO: Document me ... + """ + pass + + def clone(self, *args): + """ + TODO: Document me ... + """ + pass + + def destroy(self): + """ + TODO: Document me ... + """ + pass + + def offline(self): + """ + TODO: Document me ... + """ + pass + + def status(self): + """ + TODO: Document me ... + """ + pass + + def size(self): + """ + TODO: Document me ... + """ + pass + + def options(self): + """ + TODO: Document me ... + """ + pass + + def rename(self): + """ + TODO: Document me ... + """ + pass + + def restrict(self): + """ + TODO: Document me ... + """ + pass + + def split(self): + """ + TODO: Document me ... + """ + pass -- cgit