From: Tony Mack Date: Mon, 26 Feb 2007 22:47:19 +0000 (+0000) Subject: - add backward compat. method for old NodeManager X-Git-Tag: PLCAPI-4.2-0~175 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f9c158bbce71d810b3b5a2417ddf874b2855ae31;p=plcapi.git - add backward compat. method for old NodeManager --- diff --git a/PLC/Methods/AnonAdmGetNodeGroups.py b/PLC/Methods/AnonAdmGetNodeGroups.py new file mode 100644 index 00000000..b223e1e1 --- /dev/null +++ b/PLC/Methods/AnonAdmGetNodeGroups.py @@ -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)