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 <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/21050
Reviewed-by: Adam Litke <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Martin Sivák <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to