X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fgeneric%2Fvoid.py;h=0033f42bc3d829482a836a60509ea809d6de7071;hb=cb59f5b90a250177721e91187ba7bf6ce38bb5e3;hp=6c496f4f7439ed46a60e23f7a89739a5dab5ec85;hpb=5217d46556d445cf0b91d95811d112d758ba8be1;p=sfa.git diff --git a/sfa/generic/void.py b/sfa/generic/void.py index 6c496f4f..0033f42b 100644 --- a/sfa/generic/void.py +++ b/sfa/generic/void.py @@ -2,36 +2,32 @@ 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) : - 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 -