From: Sapan Bhatia Date: Wed, 16 Sep 2009 13:46:07 +0000 (+0000) Subject: Contd... (integrating sfatables) X-Git-Tag: sfa-0.9-3~69 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=76c2b016659f66f7e4bec1e3c064a5f16f088473;p=sfa.git Contd... (integrating sfatables) --- 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)