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
raise exception when trying to set unsupported column
[plcapi.git]
/
PLC
/
Methods
/
SliceCreate.py
diff --git
a/PLC/Methods/SliceCreate.py
b/PLC/Methods/SliceCreate.py
index
72f8c9c
..
4be4ee0
100644
(file)
--- a/
PLC/Methods/SliceCreate.py
+++ b/
PLC/Methods/SliceCreate.py
@@
-13,13
+13,13
@@
class SliceCreate(AddSlice):
"""
status = "deprecated"
-
+
accepts = [
Auth(),
Slice.fields['name'],
AddSlice.accepts[1]
]
-
+
returns = Parameter(int, 'New slice_id (> 0) if successful')
def call(self, auth, name, slice_fields = {}):