X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FSliceCreate.py;h=e75250567f6d8a2f73c84034590b33209ba5256f;hb=8a488f82ba7892d6a6eb1265f0f327ec75b71149;hp=72f8c9cf4f34ec329b5af792c5b8e7560907b883;hpb=f5cd72e35593c96b9996ab4e49674cccc7525c48;p=plcapi.git diff --git a/PLC/Methods/SliceCreate.py b/PLC/Methods/SliceCreate.py index 72f8c9c..e752505 100644 --- a/PLC/Methods/SliceCreate.py +++ b/PLC/Methods/SliceCreate.py @@ -1,5 +1,3 @@ -# $Id$ -# $URL$ from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed @@ -13,13 +11,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 = {}):