Пример #1
0
def ResetStatus(request, server_id):
    resp = dict(message="Began to Reset Status", status="info")
    resp = json.dumps(resp)
    vsmapi.reset_status(request, server_id)
    return HttpResponse(resp)
Пример #2
0
 def action(self, request, obj_id):
     LOG.info("RESET_STATUS")
     vsmapi.reset_status(request, [obj_id])
Пример #3
0
def ResetStatus(request, server_id):
    resp = dict(message="Began to Reset Status", status="info")
    resp = json.dumps(resp)
    vsmapi.reset_status(request, server_id)
    return HttpResponse(resp)
 def action(self, request, obj_id):
     LOG.info("RESET_STATUS")
     vsmapi.reset_status(request, [obj_id])