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