From 0a6bc5757e25a60b9480d857a18ee9e9c08887b0 Mon Sep 17 00:00:00 2001 From: Tony Mack <tmack@cs.princeton.edu> Date: Wed, 30 Dec 2009 23:42:53 +0000 Subject: [PATCH] set the right gid_object_caller on the credential --- sfa/managers/slice_manager_pl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/managers/slice_manager_pl.py b/sfa/managers/slice_manager_pl.py index 25395ed7..09eabf53 100644 --- a/sfa/managers/slice_manager_pl.py +++ b/sfa/managers/slice_manager_pl.py @@ -47,7 +47,7 @@ def delete_slice(api, hrn, origin_hrn=None): print >> log, "Error calling list nodes at aggregate %s" % aggregate return 1 -def create_slice(api, hrn, rspec, origin_hrn=None): +def create_slice(api, hrn, rspec, gid_origin_caller=None): spec = RSpec() tempspec = RSpec() spec.parseString(rspec) @@ -62,7 +62,7 @@ def create_slice(api, hrn, rspec, origin_hrn=None): rspecs = {} aggregates = Aggregates(api) credential = api.getCredential() - + credential.set_gid_origin_caller(gid_origin_caller) # split the netspecs into individual rspecs netspecs = spec.getDictsByTagName('NetSpec') for netspec in netspecs: -- 2.47.0