Merge from trunk
[plcapi.git] / trunk / PLC / Methods / AdmGetNodes.py
diff --git a/trunk/PLC/Methods/AdmGetNodes.py b/trunk/PLC/Methods/AdmGetNodes.py
new file mode 100644 (file)
index 0000000..74d8489
--- /dev/null
@@ -0,0 +1,11 @@
+from PLC.Methods.GetNodes import GetNodes
+
+class AdmGetNodes(GetNodes):
+    """
+    Deprecated. See GetNodes. All fields are now always returned.
+    """
+
+    status = "deprecated"
+
+    def call(self, auth, node_id_or_hostname_list = None, return_fields = None):
+        return GetNodes.call(self, auth, node_id_or_hostname_list)