X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=doc%2FNMAPI.xml.in;h=81278fb1d8af529a5de23f25d0d9949708a80694;hb=de51bc61e05acd52571867b8129bde599fd672b4;hp=dd38353eee48f1e2a22f94694ef54e1de08897dd;hpb=e64aae063559b1be8c04ff0de4dcdd04347de25d;p=nodemanager.git diff --git a/doc/NMAPI.xml.in b/doc/NMAPI.xml.in index dd38353..81278fb 100644 --- a/doc/NMAPI.xml.in +++ b/doc/NMAPI.xml.in @@ -47,7 +47,7 @@ controller_slice_fields = {'name' : 'princeton_mycontroller', 'instantiation' : 'nm-controller', 'url' : 'http://www.yourhost.com', 'description' : 'a brief description of this slice.', } -controller_slice_id = api.AddSlices(plauth, controller_slice_fields) +controller_slice_id = api.AddSlice(plauth, controller_slice_fields) After this, the controller owner, should both add users and nodes to @@ -64,7 +64,7 @@ delegated_slice_fields = {'name' : 'anothersite_mydelegated', 'instantiation' : 'delegated', 'url' : 'http://www.yourhost.com', 'description' : 'a brief description of this slice.', } -delegated_slice_id = api.AddSlices(plauth, delegated_slice_fields) +delegated_slice_id = api.AddSlice(plauth, delegated_slice_fields) # Get ticket for this slice. ticket = api.GetSliceTicket(plauth, "princetondsl_solteszdelegated")