[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vdsm-patches
Subject:    Change in vdsm[ovirt-3.5]: hooks: introduce before/after_get_stats hook points
From:       phoracek () redhat ! com
Date:       2015-07-31 9:12:46
Message-ID: 201507310912.t6V9Ck7F002141 () gerrit ! ovirt ! org
[Download RAW message or body]

Petr Horáček has posted comments on this change.

Change subject: hooks: introduce before/after_get_stats hook points
......................................................................


Patch Set 2:

the after_ hook below works as it should.

  #!/usr/bin/python
  import hooking

  stats = hooking.read_json()
  stats['foo'] = 'bar'
  hooking.write_json(stats)

-- 
To view, visit https://gerrit.ovirt.org/43274
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id1ff93837abb73f88ececc7571115645b95486cf
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Petr Horáček <phoracek@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken@redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Petr Horáček <phoracek@redhat.com>
Gerrit-Reviewer: automation@ovirt.org
Gerrit-HasComments: No
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic