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
Merge branch 'newinterface' of ssh://bakers@git.planet-lab.org/git/plcapi into newint...
[plcapi.git]
/
PLC
/
Methods
/
Legacy
/
AddInterface.py
diff --git
a/PLC/Methods/Legacy/AddInterface.py
b/PLC/Methods/Legacy/AddInterface.py
index
5d2774d
..
d9a245b
100644
(file)
--- a/
PLC/Methods/Legacy/AddInterface.py
+++ b/
PLC/Methods/Legacy/AddInterface.py
@@
-66,7
+66,9
@@
class AddInterface(Method):
]
returns = Parameter(int, 'New interface_id (> 0) if successful')
]
returns = Parameter(int, 'New interface_id (> 0) if successful')
-
+
+ # needed for generating the doc and prevent conflicts in the xml ids
+ status = 'legacy'
def call(self, auth, node_id_or_hostname, interface_fields):
def call(self, auth, node_id_or_hostname, interface_fields):