git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
making SM and AM to use different rule chains. SM is now being connected to the FORWA...
[sfa.git]
/
sfa
/
methods
/
get_resources.py
diff --git
a/sfa/methods/get_resources.py
b/sfa/methods/get_resources.py
index
4c7e466
..
049cbc8
100644
(file)
--- a/
sfa/methods/get_resources.py
+++ b/
sfa/methods/get_resources.py
@@
-67,7
+67,12
@@
class get_resources(Method):
rspec = rspec_manager.get_rspec(self.api, hrn)
# Filter the outgoing rspec using sfatables
rspec = rspec_manager.get_rspec(self.api, hrn)
# Filter the outgoing rspec using sfatables
- outgoing_rules = SFATablesRules('OUTGOING')
+ import pdb
+ pdb.set_trace()
+ if self.api.interface=='slicemgr':
+ outgoing_rules = SFATablesRules('FORWARD-OUTGOING')
+ else:
+ outgoing_rules = SFATablesRules('OUTGOING')
if outgoing_rules.sorted_rule_list:
request_context = rspec_manager.fetch_context(
hrn,
if outgoing_rules.sorted_rule_list:
request_context = rspec_manager.fetch_context(
hrn,