Merge from trunk
[plcapi.git] / trunk / PLC / Methods / AnonAdmGetNodeGroups.py
diff --git a/trunk/PLC/Methods/AnonAdmGetNodeGroups.py b/trunk/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)