X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Fsfaapi.py;h=9d22e7f2ee910ff7c15ae2f31d8f0c467bf14d21;hb=07fcf3cbd55e243bed442271a7557178a92559bf;hp=242979cbace74e7f4d97137af2edb0dd581b142a;hpb=c3b7abe953fb4d73e7033742a51edef4efefc55a;p=sfa.git diff --git a/sfa/server/sfaapi.py b/sfa/server/sfaapi.py index 242979cb..9d22e7f2 100644 --- a/sfa/server/sfaapi.py +++ b/sfa/server/sfaapi.py @@ -20,12 +20,18 @@ class SfaApi (XmlrpcApi): """ An SfaApi instance is a basic xmlrcp service augmented with the local cryptographic material and hrn - It also has the notion of neighbour sfa services - as defined in /etc/sfa/{aggregates,registries}.xml + + It also has the notion of its own interface (a string describing + whether we run a registry, aggregate or slicemgr) and has + the notion of neighbour sfa services as defined + in /etc/sfa/{aggregates,registries}.xml + Finally it contains a cache instance + It gets augmented by the generic layer with (*) an instance of manager (actually a manager module for now) (*) which in turn holds an instance of a testbed driver + For convenience api.manager.driver == api.driver """ def __init__ (self, encoding="utf-8", methods='sfa.methods',