diff options
author | John Eckersberg <jeckersb@redhat.com> | 2008-01-20 00:29:29 -0500 |
---|---|---|
committer | John Eckersberg <jeckersb@redhat.com> | 2008-01-20 00:29:29 -0500 |
commit | 6672a2c6d04f4e5322be3127af42899dc8af4405 (patch) | |
tree | 5cf3d9f7ce9276ab0956ddcf7a80b5b3f3c19fd4 /func/minion/modules/netapp | |
parent | 03ae1fa69c8c364be9aca2ac5eb1745383c8910d (diff) | |
download | third_party-func-6672a2c6d04f4e5322be3127af42899dc8af4405.tar.gz third_party-func-6672a2c6d04f4e5322be3127af42899dc8af4405.tar.xz third_party-func-6672a2c6d04f4e5322be3127af42899dc8af4405.zip |
initial netapp module and vol skeleton
Diffstat (limited to 'func/minion/modules/netapp')
-rw-r--r-- | func/minion/modules/netapp/README | 8 | ||||
-rw-r--r-- | func/minion/modules/netapp/__init__.py | 0 | ||||
-rw-r--r-- | func/minion/modules/netapp/vol.py | 81 |
3 files changed, 89 insertions, 0 deletions
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 --- /dev/null +++ b/func/minion/modules/netapp/__init__.py 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 <jeckersb@redhat.com> +## +## 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 |