1 # This setting is designed for running a registry-only SFA instance
3 from sfa.generic import Generic
8 # when set to None, the importer only performs the basic stuff
9 # xxx this convention probably is confusing, since None suggests that
10 # *nothing* should be done..
11 # xxx need to refactor the importers anyway
12 def importer_class (self):
15 # use the standard api class
17 import sfa.server.sfaapi
18 return sfa.server.sfaapi.SfaApi
20 # the manager classes for the server-side services
21 def registry_manager_class (self) :
22 import sfa.managers.registry_manager
23 return sfa.managers.registry_manager.RegistryManager
24 def slicemgr_manager_class (self) :
25 import sfa.managers.slice_manager
26 return sfa.managers.slice_manager.SliceManager
27 # most likely you'll want to turn OFF the aggregate in sfa-config-tty
28 # SFA_AGGREGATE_ENABLED=false
29 def aggregate_manager_class (self) :
30 import sfa.managers.aggregate_manager
31 return sfa.managers.aggregate_manager.AggregateManager
33 # driver class for server-side services, talk to the whole testbed
34 def driver_class (self):
35 import sfa.managers.driver
36 return sfa.managers.driver.Driver