rough cleanup of the slicemanager business
[sfa.git] / sfa / generic / void.py
1 # This setting is designed for running a registry-only SFA instance
2
3 from sfa.generic import Generic
4
5
6 class void (Generic):
7
8     # the importer class
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):
14         return None
15
16     # use the standard api class
17     def api_class(self):
18         import sfa.server.sfaapi
19         return sfa.server.sfaapi.SfaApi
20
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
25
26     def aggregate_manager_class(self):
27         import sfa.managers.aggregate_manager
28         return sfa.managers.aggregate_manager.AggregateManager
29
30     # driver class for server-side services, talk to the whole testbed
31     def driver_class(self):
32         import sfa.managers.driver
33         return sfa.managers.driver.Driver