From de51bc61e05acd52571867b8129bde599fd672b4 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 7 May 2010 09:15:19 +0000 Subject: [PATCH] typo --- doc/NMAPI.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- 2.43.0