Dan Kenigsberg has submitted this change and it was merged.

Change subject: Add a flag to libvirtvm's status to report watchdog event
......................................................................


Add a flag to libvirtvm's status to report watchdog event

This flag will be set once watchdog event is triggered.
The client can get watchdog event by checking the 'watchdogEvent'
key in the return value of getVmStats or getAllVmStats API.
This flag will be overwriting if watchdog fires more than once for
the same VM before it was polled.
And the flag will be not cleanup after it is set unless the client
restart or shutdown VM.
So add a timestamp in the message of this flag.

The timestamp is the time in seconds since the Epoch.

When the client poll this flag, it should record and check the
timestamp to make sure that the event is already triggered.

Change-Id: I7aa676299c748d761e216469569156140a79af65
Signed-off-by: ShaoHe Feng <[email protected]>
---
M vdsm/libvirtvm.py
M vdsm_api/vdsmapi-schema.json
2 files changed, 50 insertions(+), 4 deletions(-)

Approvals:
  ShaoHe Feng: Verified
  Doron Fediuck: Looks good to me, but someone else must approve
  Dan Kenigsberg: Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/9429
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7aa676299c748d761e216469569156140a79af65
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: ShaoHe Feng <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: ShaoHe Feng <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to