Versions Compared

Key

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

...


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
7delete for no existing cm-handle idTBD
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


Characteristics

#ParameterExpectationNotes
1Maximum number of cm data subscriptions

2Maximum, Average CM Handles/subscription 

3Maximum, Average XPaths/CmHandles

4Status update processing time limitBased on the numbers above working out the current state of each cm handle/xpath combination could be slow!
5


Out-of-scope

  1. CM Notification Forwarding Check: When forwarding CM Notification NCMP will not check the content to see if the is a valid active subscription. It is assumed that the DMI Plugin as acted on the 'delete subscription' request (that request is NCMPs responsibility). And of course there wil be timing issues it also possible a CM Notification was send just after the subscription-delete was send (from client) but before the whole change had acted upon that. 
  2. Retry: NCMP wil only report when actions are pending or rejected. NCMP will not implement a retry mechanism
  3. Wildcards: Wildcards or similar functionality where one string represent 0 or more xpaths is not covered as part of this requirement but it should be kept in mind as a future possibility
  4. Dynamic Topic: Topic for CM Data Notifications back to client will be hardcode for now

...

#IssueNotes Decision
1Is it intended that CM Notification subscription request  cover (all) descendants of the given xpath too?!e.g.. if a child is removed and there is a subscription for the parent node, will a notification be send (grandchild, child leaf updates etc.)
I hope NOT!

2Could xpath point to an element that does not exist (yet)if not how, how can I client be informed about a create event? 
3Should NCMP support re-homing, moving of a CM Handle from one DMI to another?assume only trough delete & create 
4CM Handle Delete: Should DMI or Clients be sent a subscription update (assume no)do NOT delete dmi-subscription entry until owning subscription is deleted
(just ignore upon future delete if cm handle is gone altogether)

5Validation of xpathoptions order of implement and also performance cost!
  1. none
  2. xpath-parser
  3. model check
  4. instance check

6can DMI plugin 'reject' a subscription create (for a given cm-handel-xpath combination)As NCMP might not validate as per issue#5 the DMI=plugin or component further down might have to reject an invalid xpath...

Priyank Maheshwari 

yes currently DMI can use response to say which cm handles are not accepted i.e. rejected' (but not 'pending')

7implementation question: should 'rejected' DMI-subscriptions be storedI would think not
8Dimensioning of DB depends on #cm handles, #subscrptions and #xpaths per subscription, this could be too big for fast processing of updates!Need to agree maximum and possibly realistic average/total number of entries based on the characteristics  above
9Maximum (error) message size, theoretically all cm handles and all xpaths combinations could be rejected or pending leading to a very large error message!


Solution Proposals 

Current state handling for 'basic' (not merged) subscription create/delete (under development)

...