9ee8fe61dd8d000b07257c79955f78c67d3bbd2b
[plcapi.git] / PLC / Legacy / DeleteNodeNetworkSetting.py
1 # $Id: $
2 from PLC.v42Legacy import patch
3 from PLC.v42LegacyNodeNetworkSettings import v42rename, v43rename
4 from PLC.Methods.DeleteInterfaceTag import DeleteInterfaceTag
5 class DeleteNodeNetworkSetting(DeleteInterfaceTag):
6     """ Legacy version of DeleteInterfaceTag. """
7     status = "deprecated"
8     def call(self, auth, interface_tag_id):
9         interface_tag_id=patch(interface_tag_id,v42rename)
10         result=DeleteInterfaceTag.call(self,auth,interface_tag_id)
11         return patch(result,v43rename)