X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FIlinks.py;h=501523686d36c3f1c5b4c24da163a0f604f7ebe3;hb=78dcc4f61208dee55bcb4afbb5f1d9d11bfbd5b2;hp=f6c9586b0181c405a86725ce77e7cc57b4dc4153;hpb=166443b265a563312a0f8097c7e1b7dd2c6dc12d;p=plcapi.git diff --git a/PLC/Ilinks.py b/PLC/Ilinks.py index f6c9586..5015236 100644 --- a/PLC/Ilinks.py +++ b/PLC/Ilinks.py @@ -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"),