Adam Litke has posted comments on this change. Change subject: Add HostTime Collector for writing time based mom policies. ......................................................................
Patch Set 2: Code-Review-1 (1 comment) almost! http://gerrit.ovirt.org/#/c/28613/2/mom/Collectors/HostTime.py File mom/Collectors/HostTime.py: Line 18: This Collector returns host time statistics using python datetime module. Line 19: These stats would be useful for creating a time based policy. Line 20: Time interval at which this collector is run is controlled in config file. Line 21: It provides the following stats - Line 22: year, month, day, hour, minute, second, microsecond don't forget to update here too... Line 23: Need to prefix with time_ in order to use these stats in policy. Line 24: """ Line 25: def __init__(self, properties): Line 26: pass -- To view, visit http://gerrit.ovirt.org/28613 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I88a9d87d5f7e5a5c5baae2c20518a26a513dcda4 Gerrit-PatchSet: 2 Gerrit-Project: mom Gerrit-Branch: master Gerrit-Owner: Meghal .B. Gosalia <meghalgosa...@gmail.com> Gerrit-Reviewer: Adam Litke <ali...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches