no need to get origin hrn here
authorTony Mack <tmack@cs.princeton.edu>
Mon, 23 Aug 2010 21:36:46 +0000 (21:36 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 23 Aug 2010 21:36:46 +0000 (21:36 +0000)
sfa/managers/aggregate_manager_pl.py

index 54c6583..2b02c3a 100644 (file)
@@ -228,11 +228,6 @@ def get_rspec(api, creds, options):
     xrn = options.get('geni_slice_urn', None)
     hrn, type = urn_to_hrn(xrn)
 
-    # get hrn of the original caller
-    origin_hrn = options.get('origin_hrn', None)
-    if not origin_hrn:
-        origin_hrn = Credential(string=creds[0]).get_gid_caller().get_hrn()
-    
     # look in cache first
     if api.cache and not xrn:
         rspec = api.cache.get('nodes')