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

stefan vallin <stefan@wallan.se> Tue, 06 March 2018 19:09 UTC

Return-Path: <stefan@wallan.se>
X-Original-To: ccamp@ietfa.amsl.com
Delivered-To: ccamp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9786812D7E4 for <ccamp@ietfa.amsl.com>; Tue, 6 Mar 2018 11:09:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=wallan-se.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I3au84Gfn_HE for <ccamp@ietfa.amsl.com>; Tue, 6 Mar 2018 11:09:29 -0800 (PST)
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B2D0212D7EA for <ccamp@ietf.org>; Tue, 6 Mar 2018 11:09:28 -0800 (PST)
Received: by mail-lf0-x22d.google.com with SMTP id y19so30143883lfd.4 for <ccamp@ietf.org>; Tue, 06 Mar 2018 11:09:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wallan-se.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=5MKl4htv+pX0/Qcp4nFyNjYi8DrtAk7+XlX/qZ8EhNw=; b=zSpfZ8/NS9D4yHdIaDu9OVxeUkIJ+j9yRz+8Otjbk2Y1ulxmNhHJ4KV0Sj1yhSnhQv RRZCzZjwqup0SYrmr/u56/fim/+yXQtGzrTI56mZyJ1j1F5FRpOGwFyd3dibOx1aBBGT BSJ3ixNV6Kfgd+ijV/tYJq4X1noeolRVYOy0ko9Xgn6rV59VsUMkpbhzWo3/IVoMMjlw O4jxGTYlaMhTNvZGBpXRbrqe48m278XASgczplFZNbRci3JEbhgskSfq3nOr5TURZVh3 0XDVjYQfvYAz9NEuGvZlAtSnB80e1eRNWcxigwOlFnxCQay6st88g4cLFKbZTzkFDlpj pduA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=5MKl4htv+pX0/Qcp4nFyNjYi8DrtAk7+XlX/qZ8EhNw=; b=ccthGfrJA5JLPwSeuaIMZxcfyQbjV28DEQiZBzs50nIwMgqDCtrUunrQOy3zIEZvEC c/sBp+5Nftnndb3Adu+uuWmq5TsSzgwHHOpI4akgP/9QENtM3DYt+9DDOd8XVF/Xgxty uvbCPVCtEG6IFOMUAJQNPbc4/xb7HY0XMfoaH8JkXd9otSkdLbAFQeJR7bx/RSLnnGja N3wa4Ar+gO4oDe9tQ7i0dwgATcjVYEOF2P3c9qpBVj8lkH97ei/78W5LHR6vMo/UTDaQ pggYlIQSE6j++QT6f9VdNnJq+3IhklZuiKBWgjZc1+0NlKyDcXxrYuK1cSuJrEHS2RKR 2I6w==
X-Gm-Message-State: APf1xPCP7HaW0gNz4gcRcU+lZ/CeZwhmjy/XigrtTBJey88uhnKToIdu yPZAwqMo9sdoG1aeYow0/qvsIjUy1fc=
X-Google-Smtp-Source: AG47ELuuuAM8REDPKTBkNqI3PVFIEKc20XZ0WPOxLFbKTGf6d6DJrGc6UpoWYGa0PfdUX9HVvZp5Fw==
X-Received: by 10.46.7.80 with SMTP id i16mr13260612ljd.78.1520363367025; Tue, 06 Mar 2018 11:09:27 -0800 (PST)
Received: from [192.168.72.215] (h95-155-237-105.cust.se.alltele.net. [95.155.237.105]) by smtp.gmail.com with ESMTPSA id o77sm3274233lja.43.2018.03.06.11.09.25 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Mar 2018 11:09:26 -0800 (PST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_2C649F81-2A25-46E6-8F82-5F10972CB68D"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: stefan vallin <stefan@wallan.se>
In-Reply-To: <BD6D193629F47C479266C0985F16AAC7F06CBF69@ex-mb1.corp.adtran.com>
Date: Tue, 06 Mar 2018 20:09:25 +0100
Cc: "ccamp@ietf.org" <ccamp@ietf.org>
Message-Id: <86325402-DBC8-473E-9051-515C53706005@wallan.se>
References: <BD6D193629F47C479266C0985F16AAC7F06CBF69@ex-mb1.corp.adtran.com>
To: NICK HANCOCK <nick.hancock@adtran.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/Nnc8Vuwnl6U_Bk2nxS0Lr3e6KB0>
Subject: Re: [CCAMP] Comments on draft-ietf-ccamp-alarm-module-01 / shelf-name
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ccamp>, <mailto:ccamp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ccamp/>
List-Post: <mailto:ccamp@ietf.org>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ccamp>, <mailto:ccamp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Mar 2018 19:09:31 -0000

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
stefan@wallan.se
+46705233262

> On 27 Feb 2018, at 17:28, NICK HANCOCK <nick.hancock@adtran.com> 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