X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=trunk%2FPLC%2FMethods%2FAdmGetNodes.py;fp=trunk%2FPLC%2FMethods%2FAdmGetNodes.py;h=74d84892ca41bc0094653d1b24f28119e706f854;hb=5a4c1b1278ffa01e630fde47f7c54888ed20a576;hp=0000000000000000000000000000000000000000;hpb=cee5ab52df1c9f38b6eaff2dd354cb22f59028c7;p=plcapi.git diff --git a/trunk/PLC/Methods/AdmGetNodes.py b/trunk/PLC/Methods/AdmGetNodes.py new file mode 100644 index 0000000..74d8489 --- /dev/null +++ b/trunk/PLC/Methods/AdmGetNodes.py @@ -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)