Adam Litke has submitted this change and it was merged.
Change subject: Add support for optional collector fields and (null expr) test
......................................................................
Add support for optional collector fields and (null expr) test
This adds support for fields that might or might not be
collected. When that happens the data fields are set to None.
The policy can then use (valid expression) to test whether
expression evaluates to non-None value.
Change-Id: I3a93f0985870b431c315918b14fee6629eac70fb
Signed-off-by: Martin Sivak <msivak(a)redhat.com>
Reviewed-on:
http://gerrit.ovirt.org/21050
Reviewed-by: Adam Litke <agl(a)us.ibm.com>
---
M mom/Collectors/Collector.py
M mom/Monitor.py
M mom/Policy/Parser.py
M tests/ParserTests.py
4 files changed, 58 insertions(+), 7 deletions(-)
Approvals:
Adam Litke: Looks good to me, approved
Martin Sivák: Verified
--
To view, visit
http://gerrit.ovirt.org/21050
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3a93f0985870b431c315918b14fee6629eac70fb
Gerrit-PatchSet: 4
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>