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