From 76c2b016659f66f7e4bec1e3c064a5f16f088473 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Wed, 16 Sep 2009 13:46:07 +0000 Subject: [PATCH] Contd... (integrating sfatables) --- sfa/methods/create_slice.py | 2 +- sfa/methods/get_resources.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/methods/create_slice.py b/sfa/methods/create_slice.py index 5d1a09c2..e9bd7b49 100644 --- a/sfa/methods/create_slice.py +++ b/sfa/methods/create_slice.py @@ -43,7 +43,7 @@ class create_slice(Method): # Filter the incoming rspec using sfatables incoming_rules = SFATablesRules('OUTGOING') - incoming_rules.set_user_(caller_cred.callerGID.hrn) # This is a temporary kludge. Eventually, we'd like to fetch the context requested by the match/target + incoming_rules.set_slice(hrn) # This is a temporary kludge. Eventually, we'd like to fetch the context requested by the match/target rspec = incoming_rules.apply(requested_rspec) diff --git a/sfa/methods/get_resources.py b/sfa/methods/get_resources.py index 10f02c43..9b52ba72 100644 --- a/sfa/methods/get_resources.py +++ b/sfa/methods/get_resources.py @@ -59,7 +59,7 @@ class get_resources(Method): # Filter the outgoing rspec using sfatables outgoing_rules = SFATablesRules('OUTGOING') - outgoing_rules.set_user_(caller_cred.callerGID.hrn) # This is a temporary kludge. Eventually, we'd like to fetch the context requested by the match/target + outgoing_rules.set_user(caller_cred.callerGID.hrn) # This is a temporary kludge. Eventually, we'd like to fetch the context requested by the match/target filtered_rspec = outgoing_rules.apply(rspec) -- 2.47.0