예제 #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)
예제 #2
0
def login_get():
    return Ucs.login_get(request.headers)
예제 #3
0
def getServiceProfile():
    handlers = current_app.config.get("handlers")
    return Ucs.getServiceProfile(request.headers, handlers=handlers)
예제 #4
0
def powerStatus(identifier=None):
    handlers = current_app.config.get("handlers")
    return Ucs.powerStatus(request.headers, identifier, handlers=handlers)
예제 #5
0
def getChassis():
    handlers = current_app.config.get("handlers")
    return Ucs.getChassis(request.headers, handlers=handlers)
예제 #6
0
def getPollers(identifier, classIds):
    handlers = current_app.config.get("handlers")
    return Ucs.getPollers(request.headers,
                          identifier,
                          classIds,
                          handlers=handlers)
예제 #7
0
def getCatalog(identifier=None):
    handlers = current_app.config.get("handlers")
    return Ucs.getCatalog(request.headers, identifier, handlers=handlers)
예제 #8
0
def getRackmount():
    handlers = current_app.config.get("handlers")
    return Ucs.getRackmount(request.headers, handlers=handlers)
예제 #9
0
def systemGetAll():
    handlers = current_app.config.get("handlers")
    return Ucs.systemGetAll(request.headers, handlers=handlers)