2 from PLC.v42Legacy import patch
3 from PLC.v42LegacyNodeNetworks import v42rename, v43rename
4 from PLC.Methods.GetInterfaces import GetInterfaces
5 class GetNodeNetworks(GetInterfaces):
6 """ Legacy version of GetInterfaces. """
8 def call(self, auth, interface_filter = None, return_fields = None):
9 interface_filter=patch(interface_filter,v42rename)
10 return_fields=patch(return_fields,v42rename)
11 result=GetInterfaces.call(self,auth,interface_filter,return_fields)
12 return patch(result,v43rename)