Exemplo n.º 1
0
def powerMgmt(identifier=None, action=None, physical=False):
    handlers = current_app.config.get("handlers")
    return Ucs.powerMgmt(request.headers,
                         identifier,
                         action,
                         physical,
                         handlers=handlers)
Exemplo n.º 2
0
def login_get():
    return Ucs.login_get(request.headers)
Exemplo n.º 3
0
def getServiceProfile():
    handlers = current_app.config.get("handlers")
    return Ucs.getServiceProfile(request.headers, handlers=handlers)
Exemplo n.º 4
0
def powerStatus(identifier=None):
    handlers = current_app.config.get("handlers")
    return Ucs.powerStatus(request.headers, identifier, handlers=handlers)
Exemplo n.º 5
0
def getChassis():
    handlers = current_app.config.get("handlers")
    return Ucs.getChassis(request.headers, handlers=handlers)
Exemplo n.º 6
0
def getPollers(identifier, classIds):
    handlers = current_app.config.get("handlers")
    return Ucs.getPollers(request.headers,
                          identifier,
                          classIds,
                          handlers=handlers)
Exemplo n.º 7
0
def getCatalog(identifier=None):
    handlers = current_app.config.get("handlers")
    return Ucs.getCatalog(request.headers, identifier, handlers=handlers)
Exemplo n.º 8
0
def getRackmount():
    handlers = current_app.config.get("handlers")
    return Ucs.getRackmount(request.headers, handlers=handlers)
Exemplo n.º 9
0
def systemGetAll():
    handlers = current_app.config.get("handlers")
    return Ucs.systemGetAll(request.headers, handlers=handlers)