(file) Return to IndicationFlow.txt CVS log (file) (dir) Up to [Pegasus] / pegasus / doc

File: [Pegasus] / pegasus / doc / IndicationFlow.txt (download)
Revision: 1.2, Tue Dec 16 18:55:36 2008 UTC (15 years, 4 months ago) by kumpf
Branch: MAIN
CVS Tags: preBug9676, postBug9676, TASK_PEP317_1JUNE_2013, TASK-TASK_PEP362_RestfulService_branch-root, TASK-TASK_PEP362_RestfulService_branch-merged_out_from_trunk, TASK-TASK_PEP362_RestfulService_branch-merged_in_to_trunk, TASK-TASK_PEP362_RestfulService_branch-merged_in_from_branch, TASK-TASK_PEP362_RestfulService_branch-branch, TASK-PEP362_RestfulService-root, TASK-PEP362_RestfulService-merged_out_to_branch, TASK-PEP362_RestfulService-merged_out_from_trunk, TASK-PEP362_RestfulService-merged_in_to_trunk, TASK-PEP362_RestfulService-merged_in_from_branch, TASK-PEP362_RestfulService-branch, TASK-PEP348_SCMO-root, TASK-PEP348_SCMO-merged_out_to_branch, TASK-PEP348_SCMO-merged_out_from_trunk, TASK-PEP348_SCMO-merged_in_to_trunk, TASK-PEP348_SCMO-merged_in_from_branch, TASK-PEP348_SCMO-branch, TASK-PEP317_pullop-root, TASK-PEP317_pullop-merged_out_to_branch, TASK-PEP317_pullop-merged_out_from_trunk, TASK-PEP317_pullop-merged_in_to_trunk, TASK-PEP317_pullop-merged_in_from_branch, TASK-PEP317_pullop-branch, RELEASE_2_9_2-RC2, RELEASE_2_9_2-RC1, RELEASE_2_9_2, RELEASE_2_9_1-RC1, RELEASE_2_9_1, RELEASE_2_9_0-RC1, RELEASE_2_9_0, RELEASE_2_9-root, RELEASE_2_9-branch, RELEASE_2_14_1, RELEASE_2_14_0-RC2, RELEASE_2_14_0-RC1, RELEASE_2_14_0, RELEASE_2_14-root, RELEASE_2_14-branch, RELEASE_2_13_0-RC2, RELEASE_2_13_0-RC1, RELEASE_2_13_0-FC, RELEASE_2_13_0, RELEASE_2_13-root, RELEASE_2_13-branch, RELEASE_2_12_1-RC1, RELEASE_2_12_1, RELEASE_2_12_0-RC1, RELEASE_2_12_0-FC, RELEASE_2_12_0, RELEASE_2_12-root, RELEASE_2_12-branch, RELEASE_2_11_2-RC1, RELEASE_2_11_2, RELEASE_2_11_1-RC1, RELEASE_2_11_1, RELEASE_2_11_0-RC1, RELEASE_2_11_0-FC, RELEASE_2_11_0, RELEASE_2_11-root, RELEASE_2_11-branch, RELEASE_2_10_1-RC1, RELEASE_2_10_1, RELEASE_2_10_0-RC2, RELEASE_2_10_0-RC1, RELEASE_2_10_0, RELEASE_2_10-root, RELEASE_2_10-branch, PREAUG25UPDATE, POSTAUG25UPDATE, HPUX_TEST, HEAD, CIMRS_WORK_20130824, BeforeUpdateToHeadOct82011
Changes since 1.1: +5 -5 lines
BUG#: 8273
TITLE: Remove trailing space characters
DESCRIPTION: Remove meaningless whitespace.


This document provides a sketch of the flow of indications.

    -   Filter creation phase.

    -   Handler creation phase (handler can be created before filter).

    - 	Subscription Phase (creating an instance of the subscription class).
		
	-   Acts like a provider.

	-   Needs to get to repository.

	-   Creation of subscription triggers enablement of
	    indication provider for the associated class
	    or class tree (needs access to inheritance tree).

	-   Provider input queue may receive new message
	    of new type to enable it to generate events.
	    (dispatcher may load provider as a result).

	-   If there is no provider capable of publishing
	    an indication matching the subscription, then
	    reject the subscription. In other words,
	    there must be at least one indication provider
	    capable of providing an indication of that class
	    and it must respond positively to the enable
	    request.

	-   Put subscription into repository.

	-   Send create instance response back to client (instance
	    of subscription).

	-   Need to validate that the class referenced in the
	    filter (in WQL statement) actually exists and that it
	    has the referenced properties (validate at subscription
	    time).

	-   Subscription handler may have to load handlers.

	-   For efficiency, might need a subscription table data
	    structure (contain a memory version of filter and
	    handler) which must accessible to the mechanism for
	    triggering the indication.

	-   Subscription passing thresholding information to
	    indication provider.

	-   If thresholding not supported by provider but requested
	    in subscription, reject the subscription.

    -	Indication processor phase:

	-   Accepts indications generated by indication providers.

	-   Take as input indication and possibly a list of subscriptions.

	-   Forms output as indication and list of handlers.

    -	Indication dispatcher:

	-   Dynamically loads handlers (handler libraries).

	-   Invokes handler's deliverIndication() method.

    -	Types of handlers:

	-   SNMP trap.

	-   CIM Export Request.

	-   Internal vs. external

    -   CIM XML Indications:

	-   CIMExportClient (handler uses this).

	-   Need something else for internal delivery.

	-   To deterine whether the listener is in process
	    or remote examine the URL prefix and see if it
	    refers to the same hostname and port on which
	    the CIMOM is listening.

	-   Use same port as is used for CIM Operation requests/responses.

Other topic:
============

    -   Thresholding. Need way of limiting how many events are
	received. Indications may occur--for example--every three
	seconds (the client might only want one every ten seconds)
	of that type.

    -   Many events may be published but there may only be interest
	in every n-th subscription.

    -   During enablement the indication provider is told what the
	thresholding requirements are.

    -   Consequently, a provider is now interested in subscription
	charactertics (not just filter characteristics).

    -   Putting the threshold information into the filter, makes the
	filter less reusable. Having it as characteristic of the
	subscription expands the usability of the filter object.

    -	Talk through disablement of indication provider.

    -	If a delivery fails we could:

	    - 	Cancel the subscription.

	    -   Retry.

	    -   Notify somebody that it failed.

	    -   This raises the question of logging.

    - 	Interactions with provider behavior. During provider loading,
	the provider might need to be enabled for an outstanding
	subscription.

    -	Start up requires reenablement of indication providers.
	Hence each indication provider needs distinct enablement()
	and start() methods (enablement() must be called for each
	subscription and then startGeneratingIndications() to finalize
	the sequence).

Homework:
=========

    -	Take a look at all indication specifications and schemas.

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2