tests@master for onelab
[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 class void (Generic):
6     
7     # the importer class
8     def importer_class (self): 
9         import sfa.importer.plimporter
10         return sfa.importer.Importer
11         
12     # use the standard api class
13     def api_class (self):
14         import sfa.server.sfaapi
15         return sfa.server.sfaapi.SfaApi
16
17     # the manager classes for the server-side services
18     def registry_manager_class (self) : 
19         import sfa.managers.registry_manager
20         return sfa.managers.registry_manager.RegistryManager
21     def slicemgr_manager_class (self) : 
22         import sfa.managers.slice_manager
23         return sfa.managers.slice_manager.SliceManager
24     # most likely you'll want to turn OFF the aggregate in sfa-config-tty
25     # SFA_AGGREGATE_ENABLED=false
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
33         return sfa.managers.driver
34