Re: [CCAMP] comments for draft-ietf-ccamp-alarm-module-06

stefan vallin <> Mon, 07 January 2019 08:35 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id A7963130DE7 for <>; Mon, 7 Jan 2019 00:35:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id kyVdTjAMUujV for <>; Mon, 7 Jan 2019 00:35:31 -0800 (PST)
Received: from ( [IPv6:2a00:1450:4864:20::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id DE464129B88 for <>; Mon, 7 Jan 2019 00:35:30 -0800 (PST)
Received: by with SMTP id k19-v6so37337393lji.11 for <>; Mon, 07 Jan 2019 00:35:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=UEDnRgu5rXqwPZHz8UU0Ey58sGizwwITACpyrN0XJFg=; b=ZDeaE6/bCRPRkheejwcf27fmvYJZpXP5h0enpAlV3+2hvEnLfaaBPXLZuZKX8Gg2pM IMsKnO6HS52rS8ElPvs3Xzg/tmb31KfLR3YwVUJwAWK+kwsHvopcnCjCavCR3F2TdRUC Z6WZH6QJOOo+CGh90lbT339772lqb78oY2dD/rLq0LCskZ2Yom+j5viFxgDr6OvJYFJL jedONXQ9gxWljzDVNHQ237RgPns0g0jUMNd4BSEQSkKP3ocHBP1/PL3eSmdKHIgxVYZ0 zB+sVOSZT2VWJ6GNM7XC+c6v09u7eZOFdqz+OvcYV+2/2O9g8+UNVSI5adVnOOC5mgIe xWzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=UEDnRgu5rXqwPZHz8UU0Ey58sGizwwITACpyrN0XJFg=; b=NJVIecsnNgIwhau6lTGGxmdxtJq6OwfddTcqLbptU3AH4OrgWjhkfUIcdTh0x7i4UM YTTGxPLmP26M8pdY6SrVI0tavWKGDDh561igb56rvc1N0425LKObUb7kqVcItyjTpLB8 yqkTpAgjfsRlVYkO/Ed15FSAywnIv6+XlTLkkv3aq9Hp+WoEl18m78r0zf1go1C5aCFH 3ov/cY2HY+ZG+nNdTpZ9S4nFpnomQCjHhuUH52kBdhT7ncjh+S9vaY5cVkAyYxJEiUNL 2Gfi2/wK7J+CjbIfcvexzU/6cGwk7BfCnKIdiHkKfBfXLv1WRgnmv65dyb/9cxHAzVZ/ xsfQ==
X-Gm-Message-State: AJcUukeTod+BVGiDSDs8Xy2mpVpgc5sYGBbug2Oh2zcWkd51TE5jgAzI sGbnUZg+MELJrf2EOZO6RFtUXeBA3Vc=
X-Google-Smtp-Source: ALg8bN74w5VV+To1P5VqFuitWx1YlZyaDOePn7F6/tKAc5erzCDMYiblafVN6A2arak0t6i+GX228g==
X-Received: by 2002:a2e:8945:: with SMTP id b5-v6mr5084445ljk.55.1546850128866; Mon, 07 Jan 2019 00:35:28 -0800 (PST)
Received: from [] ( []) by with ESMTPSA id z6sm12342965lfa.87.2019. (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Jan 2019 00:35:28 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\))
From: stefan vallin <>
In-Reply-To: <>
Date: Mon, 7 Jan 2019 09:35:27 +0100
Cc: "" <>, Wangyonglong <>
Content-Transfer-Encoding: quoted-printable
Message-Id: <>
References: <>
To: "Xiajinwei (Jinwei Xia, Network)" <>
X-Mailer: Apple Mail (2.3445.100.39)
Archived-At: <>
Subject: Re: [CCAMP] comments for draft-ietf-ccamp-alarm-module-06
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion list for the CCAMP working group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 07 Jan 2019 08:35:34 -0000

Hi Jinwei!
Thanks for your comments and support of the alarm module.
Note that it has passed last call. Your comments have been addressed previously on the mailing list
We provide a summary of the answers inline below.

br Stefan and Martin

> On 28 Dec 2018, at 03:30, Xiajinwei (Jinwei Xia, Network) <> wrote:
> Dear editors,
> As a new comer of CCAMP, I am happy with the good progress of the YANG alarm module and definitely support it.
> Since I am working on the alarm design, I have a few comments on this draft:
> 1, the draft identifies the alarm-type via the combination of alarm-type-id and alarm-type-qualifier. We fully like that, by the way, would we add one complemented and optional leaf, e.g., alarm-name (R-LOS), to briefly indicate the alarm type? While the corresponding alarm-text shows the comprehensive information about this alarm, e.g., the signal is lost on the receiver side.
That would be the name of of the alarm identity (or the string qualifier)
such as:
import ietf-alarms {
     prefix al;
   identity vendor-alarms {
     base al:alarm-type;
   identity communications-alarm {
     base vendor-alarms;
   identity R-LOS {
     base communications-alarm;
> 2, for the alarm instance, the draft uses the triple-keys (resource, alarm-type-id and alarm-type-qualifier) to identify it. From my point of view, the design is great. Besides of the triple-keys identification in our design, we also add a complemented and optional alarm-serial-no leaf to do the same work. An alarm-serial-no is unique to identity one alarm instance, and thus the OSS can locate an alarm via the alarm-serial-no directly and save the time to map the triple-keys one by one. Does it make any sense
No, having redundant/overlapping keys is not optimal, this can create non-consistency.
See the following example from 3GPP Alarm IRP Appendix C:
* the Alarm IRP has an alarm identity, ai, corresponding to your proposal for alarm-serial-no
* moc = managed object class, moi = managed object instance; corresponds to resource in the alarm YANG module
* et = event-type, pc= probable-cause; corresponds to alarm-type in the alarm YANG module
* sp = specific-problem; corresponds to alarm-qualifier in the alarm YANG module

3GPP Alarm IRP snippet:
EXAMPLE 3: Invalid sequence of a hypothetical case:

(1) NotifyNewAlarm
(ni=1, ai=X, moc=A, moi=B, et=C, pc=D, sp=E, ps=Critical)

(2) NotifyChangedAlarm
(ni=2, ai=Y, moc=A, moi=B, et=C, pc=D, sp=E, ps=Minor) 

Interaction (2) is illegal since it uses a different ai for the same alarm. It should use ai=X as in interaction (1).
END snippet

We do not want to enable these kind of inconsistencies.
We prefer a semantic key triplet whereby the manager can get the composite alarm state for a given resource and alarm-type

> 3, for the alarm-type-id, could it be possible to support a union of identity and string? Currently, we have more or less 40000 alarm types in our implementation and the number is still rising right now. The YANG alarm module is still a huge volume when we build our own alarm-type augment.
40 000 alarm types, have you validated them against Appendix G, Alarm Usability Requirements?
No, a union would not be a good idea. To the extent possible all alarm-types should be defined at design time by YANG identifiers.
This gives the users/managers a way to prepare consequent actions and not discover these at run-time.
If your system really has 40 000 alarm types than that is what you should publish AND how to resolve the alarms.

Alarm qualifiers should be avoided as much as possible, they should only be used for alarm types that are configurable, like a digital input.
> 4, in alarm notification message, the severity information is great to let operator know the alarm state (i.e., cleared, raised and changed). We like that, but it’d be better if there was a definite alarm-category leaf to indicate the brief alarm state regardless of the severity, any thoughts?
if the notification severity is cleared, the alarm is cleared
if the [resource, alarm-type, alarm-qualifier] tuple matches an existing alarm it is an update
if the [resource, alarm-type, alarm-qualifier] tuple does not match an existing alarm it is a raise

There are corner cases on the above relating to that a client/server might have performed house-keeping/purging actions.
> Sorry for bringing any inconvenience of the late comments on the WGLC stage. Your feedbacks are very helpful for us J

All feedback is welcome :)
> Merry Christmas and Happy New Year!
> Jinwei
> _______________________________________________
> CCAMP mailing list