X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FAddIlink.py;h=78d47ba280f969c6b53474c6f711699aadc44c20;hb=c5d1b7ea9ff12411ef0d34f29efa7f5684c476cf;hp=d7c1c7fbcfb572242074a54920c6e2624dae3c53;hpb=eafc0194bc0dde66e31315a72f2cb05775c9800b;p=plcapi.git diff --git a/PLC/Methods/AddIlink.py b/PLC/Methods/AddIlink.py index d7c1c7f..78d47ba 100644 --- a/PLC/Methods/AddIlink.py +++ b/PLC/Methods/AddIlink.py @@ -40,10 +40,10 @@ class AddIlink(Method): def call(self, auth, src_if_id, dst_if_id, tag_type_id_or_name, value): - src_if = Interfaces (self.api, [src_if_id],[interface_id]) + src_if = Interfaces (self.api, [src_if_id],['interface_id']) if not src_if: raise PLCInvalidArgument, "No such source interface %r"%src_if_id - dst_if = Interfaces (self.api, [dst_if_id],[interface_id]) + dst_if = Interfaces (self.api, [dst_if_id],['interface_id']) if not dst_if: raise PLCInvalidArgument, "No such destination interface %r"%dst_if_id