merged namespace
[sfa.git] / sfa / methods / CreateSliver.py
index c21ceb4..8b45917 100644 (file)
@@ -3,9 +3,7 @@ from sfa.util.namespace import *
 from sfa.util.method import Method
 from sfa.util.parameter import Parameter, Mixed
 from sfa.util.sfatablesRuntime import run_sfatables
-import sys
 from sfa.trust.credential import Credential
-from sfa.util.sfalogging import logger
 
 class CreateSliver(Method):
     """
@@ -42,11 +40,10 @@ class CreateSliver(Method):
         
         # flter rspec through sfatables
         if self.api.interface in ['aggregate']:
-            chain_name = 'OUTGOING'
+            chain_name = 'INCOMING'
         elif self.api.interface in ['slicemgr']:
-            chain_name = 'FORWARD-OUTGOING'
+            chain_name = 'FORWARD-INCOMING'
         rspec = run_sfatables(chain_name, hrn, origin_hrn, rspec)
         allocated = manager.create_slice(self.api, slice_xrn, creds, rspec, users)
 
         return rspec 
-