def reset_alarm(**kwargs):
 service_instance = kwargs.get('service_instance')
 payload = _build_payload(**kwargs)
 logging.debug(payload)
 session = service_instance._stub
 if (not _send_request(payload, session)):
  return False
 return True

def reset_alarm ( ** kwargs ) : service_instance = kwargs . get ( 'service_instance' ) payload = _build_payload ( ** kwargs ) logging . debug ( payload ) session = service_instance . _stub if ( not _send_request ( payload , session ) ) : return False return True
resets an alarm on a given hostsystem in a vcenter to the green state without someone having to log in to do it manually .