Bug 593828
Summary: | QMF: python console needs ability to filter unsolicited events. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Ken Giusti <kgiusti> | ||||
Component: | qpid-qmf | Assignee: | Ken Giusti <kgiusti> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | MRG Quality Engineering <mrgqe-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | Development | CC: | jsarenik, matt | ||||
Target Milestone: | 1.3 | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-10-22 10:26:58 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 587410, 593831 | ||||||
Attachments: |
|
Description
Ken Giusti
2010-05-19 19:23:42 UTC
Created attachment 415236 [details]
simple qmf console
Committed revision 946801. New qmf console api added: Session.addEventFilter(). Takes arguments: package="<schema package string>, event="<specific event>" event is optional. Allows console to only receive those events from the given package. Example: session = Session(console, rcvObjects=opts.objects, rcvEvents=opts.events, rcvHeartbeats=opts.heartbeats, manageConnections=opts.manage_connections) # only want events from org.apache.qpid.broker and # org.apache.qpid.agent.example packages... session.addEventFilter(package="org.apache.qpid.broker") session.addEventFilter(package="org.apache.qpid.agent.example") Must be called before first addBroker().... Merged to mrg_1.3.x branch: http://mrg1.lab.bos.redhat.com/git/?p=qpid.git;a=commitdiff;h=a15f49f58cdb1ee2906f03bb487cf40c43498238 Upstream revision: 946801 |