X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fgeneric%2Fvoid.py;h=bbd5deafabb9f6a046fc20d436f3e7f734a72fa7;hb=3e6097e2d50ff322b45f53fcb22d07fc16adbdb6;hp=6c496f4f7439ed46a60e23f7a89739a5dab5ec85;hpb=2ac2da4b770f57bede8e9a9ee65142242fdf05a3;p=sfa.git diff --git a/sfa/generic/void.py b/sfa/generic/void.py index 6c496f4f..bbd5deaf 100644 --- a/sfa/generic/void.py +++ b/sfa/generic/void.py @@ -2,36 +2,38 @@ from sfa.generic import Generic + class void (Generic): - + # the importer class # when set to None, the importer only performs the basic stuff - # xxx this convention probably is confusing, since None suggests that + # xxx this convention probably is confusing, since None suggests that # *nothing* should be done.. # xxx need to refactor the importers anyway - def importer_class (self): + def importer_class(self): return None - + # use the standard api class - def api_class (self): + def api_class(self): import sfa.server.sfaapi return sfa.server.sfaapi.SfaApi # the manager classes for the server-side services - def registry_manager_class (self) : + def registry_manager_class(self): import sfa.managers.registry_manager return sfa.managers.registry_manager.RegistryManager - def slicemgr_manager_class (self) : + + def slicemgr_manager_class(self): import sfa.managers.slice_manager return sfa.managers.slice_manager.SliceManager # most likely you'll want to turn OFF the aggregate in sfa-config-tty # SFA_AGGREGATE_ENABLED=false - def aggregate_manager_class (self) : + + def aggregate_manager_class(self): import sfa.managers.aggregate_manager return sfa.managers.aggregate_manager.AggregateManager # driver class for server-side services, talk to the whole testbed - def driver_class (self): + def driver_class(self): import sfa.managers.driver return sfa.managers.driver.Driver -