git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more accessors, and site-local might work now
[plcapi.git]
/
PLC
/
Methods
/
AddIlink.py
diff --git
a/PLC/Methods/AddIlink.py
b/PLC/Methods/AddIlink.py
index
d7c1c7f
..
78d47ba
100644
(file)
--- 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):
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
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
if not dst_if:
raise PLCInvalidArgument, "No such destination interface %r"%dst_if_id