use node_id or hostname in get_node_hostname
[plcapi.git] / PLC / Ilinks.py
index f6c9586..5015236 100644 (file)
@@ -1,14 +1,14 @@
+# $Id$
+# $URL$
 #
 # Thierry Parmentelat - INRIA
 #
-# $Revision: 9423 $
-#
 from PLC.Faults import *
 from PLC.Parameter import Parameter
 from PLC.Filter import Filter
 from PLC.Table import Row, Table
 from PLC.Interfaces import Interface, Interfaces
-from PLC.IlinkTypes import IlinkType, IlinkTypes
+from PLC.TagTypes import TagType, TagTypes
 
 class Ilink(Row):
     """
@@ -20,7 +20,7 @@ class Ilink(Row):
     primary_key = 'ilink_id'
     fields = {
         'ilink_id': Parameter(int, "ilink identifier"),
-        'ilink_type_id': IlinkType.fields['ilink_type_id'],
+        'tag_type_id': TagType.fields['tag_type_id'],
         'src_interface_id': Parameter(int, "source interface identifier"),
         'dst_interface_id': Parameter(int, "destination interface identifier"),
         'value': Parameter( str, "optional ilink value"),