making SM and AM to use different rule chains. SM is now being connected to the FORWA...
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Mon, 30 Nov 2009 20:00:54 +0000 (20:00 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Mon, 30 Nov 2009 20:00:54 +0000 (20:00 +0000)
sfa/methods/get_resources.py

index 4c7e466..049cbc8 100644 (file)
@@ -67,7 +67,12 @@ class get_resources(Method):
             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,