patch backported from plcapi about issues
[sfa.git] / sfa / generic / dummy.py
1 from sfa.generic import Generic
2
3
4 class dummy (Generic):
5
6     # the importer class
7     def importer_class(self):
8         import sfa.importer.dummyimporter
9         return sfa.importer.dummyimporter.DummyImporter
10
11     # use the standard api class
12     def api_class(self):
13         import sfa.server.sfaapi
14         return sfa.server.sfaapi.SfaApi
15
16     # the manager classes for the server-side services
17     def registry_manager_class(self):
18         import sfa.managers.registry_manager
19         return sfa.managers.registry_manager.RegistryManager
20
21     def slicemgr_manager_class(self):
22         import sfa.managers.slice_manager
23         return sfa.managers.slice_manager.SliceManager
24
25     def aggregate_manager_class(self):
26         import sfa.managers.aggregate_manager
27         return sfa.managers.aggregate_manager.AggregateManager
28
29     # driver class for server-side services, talk to the whole testbed
30     def driver_class(self):
31         import sfa.dummy.dummydriver
32         return sfa.dummy.dummydriver.DummyDriver