Massive commit of all changes, and added files for the Monitor-server package.
[monitor.git] / plc.py
diff --git a/plc.py b/plc.py
index 7b92445..f609abb 100644 (file)
--- 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
 '''