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