- add backward compat. method for old NodeManager
authorTony Mack <tmack@cs.princeton.edu>
Mon, 26 Feb 2007 22:47:19 +0000 (22:47 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 26 Feb 2007 22:47:19 +0000 (22:47 +0000)
PLC/Methods/AnonAdmGetNodeGroups.py [new file with mode: 0644]

diff --git a/PLC/Methods/AnonAdmGetNodeGroups.py b/PLC/Methods/AnonAdmGetNodeGroups.py
new file mode 100644 (file)
index 0000000..b223e1e
--- /dev/null
@@ -0,0 +1,11 @@
+from PLC.Methods.GetNodeGroups import GetNodeGroups
+class AnonAdmGetNodeGroups(GetNodeGroups):
+    """
+    Deprecated. See GetNodeGroups. All fields are now always returned
+    """
+    
+    status = "deprecated"
+
+    def call(self, auth, nodegroup_id_or_name_list =  None, return_fields = None):
+       return GetNodeGroups.call(self, auth, nodegroup_id_or_name_list)