Subject: Re: [CCAMP] Comments on draft-ietf-ccamp-alarm-module-01 / shelf-name

From: stefan vallin <[email-masked]>
Date: Tue, 6 Mar 2018 20:09:25 +0100

Hi!
Thanks for the comment, good catch!
We will make the shelf criteria list “ordered-by user” and state that the first matching item will shelf that alarm.

Lets see about naming the leaf “shelf" or "shelf-name".

br Stefan and Martin

Stefan Vallin
[email-masked]
+46705233262

> On 27 Feb 2018, at 17:28, NICK HANCOCK <[email-masked]> wrote:
> 
> Hi Stefan, 
>  
> In the module ‘ietf-alarms@2018-02-01’ included in draft-ietf-ccamp-alarm-module-01, the leaf ‘shelf-name’ was added to the list ‘shelved-alarm’ to reference the entry in the list ‘shelf’ that caused the alarm to be shelved.
> However, since it is possible to define multiple shelfs, the criteria of more than one shelf may apply to a given instance of an alarm.
>  
> For example, assume the criteria of shelf ‘A’ includes only the resource ‘R’ and the criteria of another shelf ‘B’ only includes the alarm-type-id ‘X’. The question in this case would be which shelf should be referenced by the leaf ‘shelf-name’ for an alarm instance where resource = R and alarm-type-id = X? Or maybe ‘shelf-name’ should be a leaf-list? What are your thoughts on this?
>  
> And since the key to the list ‘shelf’ is ‘name’ and no unique statements are used, it would be possible to define multiple shelfs with exactly the same criteria. Again, if the criteria apply to an alarm, which shelf should be referenced by the leaf ‘shelf-name’?
>  
> Would not the leaf also be better named just ‘shelf’?
>  
> Best regards
> Nick