SAFplus Runtime Director API
3.0.5
|
Classes | |
class | MyHandler |
Functions | |
def | reloadDb |
Variables | |
int | HTTP_PORT = 8000 |
ci = clusterinfo.ci | |
tuple | amf = aspAmf.Session() |
tuple | appDb = aspApp.AppDb(os.getenv("ASP_DIR","/tmp") + "/apps") |
tuple | umgr = upgrade.UpgradeMgr() |
tuple | refreshThread = threading.Thread(None,reloadDb,"clusterinfo_refresh") |
tuple | httpserver = BaseHTTPServer.HTTPServer(("",HTTP_PORT),MyHandler) |
def httpserverexample.reloadDb | ( | ) |
tuple httpserverexample.amf = aspAmf.Session() |
tuple httpserverexample.appDb = aspApp.AppDb(os.getenv("ASP_DIR","/tmp") + "/apps") |
httpserverexample.ci = clusterinfo.ci |
int httpserverexample.HTTP_PORT = 8000 |
tuple httpserverexample.refreshThread = threading.Thread(None,reloadDb,"clusterinfo_refresh") |
tuple httpserverexample.umgr = upgrade.UpgradeMgr() |