X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plc.py;h=f609abbd12470620dc8978f2ec26a04768ba0f5f;hb=d0652340b89d51c6115edb13d5c7c72b34dea66f;hp=7b924459f6bb140337b91627223e024b6892c342;hpb=f38420ff4bc9fb114db5f62b01cc8990dc0a0af2;p=monitor.git diff --git a/plc.py b/plc.py index 7b92445..f609abb 100644 --- a/plc.py +++ b/plc.py @@ -52,6 +52,10 @@ class PLC: def __repr__(self): return self.api.__repr__() +def getAuthAPI(): + import auth + return PLC(auth.auth, auth.plc) + ''' Returns list of nodes in dbg as reported by PLC '''