From: Thierry Parmentelat Date: Mon, 5 Dec 2011 17:43:07 +0000 (+0100) Subject: example of an alternative flavour X-Git-Tag: sfa-2.0-2~5 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=47a65cf5e399ce943d62a2b9db62c5d5ae1645ac;p=sfa.git example of an alternative flavour --- diff --git a/sfa/generic/max.py b/sfa/generic/max.py new file mode 100644 index 00000000..8920ae7c --- /dev/null +++ b/sfa/generic/max.py @@ -0,0 +1,21 @@ +# an example of how to plugin the max aggregate manager with the flavour model +# might need to be tested +# +from sfa.generic.pl import pl + +import sfa.managers.aggregate_manager_max + +class max (pl): + +# the max flavour behaves like pl, except for +# the aggregate + def aggregate_manager_class (self) : + return sfa.managers.aggregate_manager_max.AggregateManagerMax + +# I believe the component stuff is not implemented + def component_manager_class (self): + return None + def component_driver_class (self): + return None + +