Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Amalgamation per DMI: all subscription updates originating from a be sent to a single DMI in one request (message) message 45backward could use versioning in API–methods and schema's to handle this?!
see also issue #12
#Interface

Requirement


Additional InformationSign-Off
1CPS-E-08.eNCMP is to merge CM Notification Subscriptions Create request for the same CM Handle & XPath(s)create request and forward those to DMI plugin. (Interface to be added).
  • Prevent unnecessary subscription updates to nodes already involved in a subscription to the same path and datastore.
  • For possible combinations, see table below

 kieran mccarthy Signed off .

2CPS-E-08.e

Last lights out: upon subscription Delete request only when there is no more subscription for a cm-handle & xpath & datastore combination a subscription-delete request will be sent to the relevant DMI(s).


 

3CPS-E-08.eA single client subscription request should result into a maximum of one request per DMI. Of course there can be several messages if more than 1 DMI is involved.The need for amalgamation / granularity of message might need to be discussed pending the required characteristics (issue #8). If a single subscriptions can contain all possible cm-handles with many cps-paths it then becomes feasible all CM-Handles refuse all paths or a specific path...  Will all that info fit in a single response message. Is that the right thing to do?!!!

 

4CPS-E-08.eAmalgamate response should include rejected/accepted/pending DMI responses received within 30 seconds. A client shall be notified of available DMI subscription information after 30 seconds.  Subsequent DMI subscription updates shall be notified to clients as they become available.

Same schema for all notifications.

Subsequent notifications contains the state of all cmhandles involved in the subscription. 

 

5CPS-NCMP-I-01CM Handle deletion should NOT update subscription detailsdo NOT delete dmi-subscription entry until owning subscription is deleted, see issue #4 below

 

6CPS-E-08.eBackward compatible with 'basic' created/delete operations.. TBD


 

7
Order of the create/delete subscription needs to be discussed . TBD.

Error Handling


Error ScenarioExpected behaviorSign-off
1DMI Downrejected
2DMI Not responding withing 30 secpending
3create for non-existing cm handle idrejected
4delete for non-existing cm handle id(silently?) ignore
5any operation on non-existing xpathignore? (no or minimal validation, see issue #5)
6delete for non existing name/client-idTBD, should be handle in 'basic' solution
7delete for no existing cm-handle idignore? (no or minimal validation, see issue #5)
8error upon error

An error scenario on a second subscription for the same cm-handle/xpath as a previous subscription which did not complete successfully (yet)

to be discussed, see tabel below


...