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):
"""
# 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
-