svn keywords
[plcapi.git] / PLC / Legacy / GetNodeNetworks.py
1 # $Id$
2 # $URL$
3 from PLC.v42Legacy import patch
4 from PLC.v42LegacyNodeNetworks import v42rename, v43rename
5 from PLC.Methods.GetInterfaces import GetInterfaces
6 class GetNodeNetworks(GetInterfaces):
7     """ Legacy version of GetInterfaces. """
8     status = "deprecated"
9     def call(self, auth, interface_filter = None, return_fields = None):
10         interface_filter=patch(interface_filter,v42rename)
11         return_fields=patch(return_fields,v42rename)
12         result=GetInterfaces.call(self,auth,interface_filter,return_fields)
13         return patch(result,v43rename)