From: Thierry Parmentelat Date: Fri, 7 May 2010 09:15:19 +0000 (+0000) Subject: typo X-Git-Tag: NodeManager-2.0-7~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=de51bc61e05acd52571867b8129bde599fd672b4;p=nodemanager.git typo --- 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")