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