[CCAMP] Alarm Module, complete X733/X736 mapping

stefan vallin <stefan@wallan.se> Tue, 10 July 2018 08:59 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 F3F3E130E27 for <ccamp@ietfa.amsl.com>; Tue, 10 Jul 2018 01:59:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_DKIMWL_WL_MED=-0.01] 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 Db-rVT_H7Zxh for <ccamp@ietfa.amsl.com>; Tue, 10 Jul 2018 01:59:34 -0700 (PDT)
Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::22e]) (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 ECFC0130E16 for <ccamp@ietf.org>; Tue, 10 Jul 2018 01:59:33 -0700 (PDT)
Received: by mail-lf0-x22e.google.com with SMTP id u202-v6so17606631lff.9 for <ccamp@ietf.org>; Tue, 10 Jul 2018 01:59:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wallan-se.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=1+18q9cF+NKBkvQkPk7dpbPnCgriRKQUN7Sjup9C3dM=; b=R20x0wDdFvX285VDams0qmjLz9OauocWBmJQqGfhXOMF9t+MYUxtUZnhqK81kltJSp ByTupRH8lE0ng8aQp5VXQKmvLilSQeheZ3ZJPopxn2OBMnCtbOAruCC02Dc96LpPE/5g em/E61g8z5ckwuATv8PtJMEW30WmZGCvGD/oaHwQuOGRcZlBZv6ZlKFI/FU06HyBhW9z QO9MzwDLW8QLm7epLbxRmuQxu+gLk/u4eV+57MM2TL6I46t1ZV8bd/XYFizMP9NTNstO xnt3fy57tvtIM7qWpJX+I3uP9w46XvdMhfRBsv9EWqzKPOnak+EZzSBiH1cD9you7M8Z 9O5g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=1+18q9cF+NKBkvQkPk7dpbPnCgriRKQUN7Sjup9C3dM=; b=NFY1cGBKUaUua4xa9jQ2TyzkQ72c+2TqnhCaHKGR+N2/YxjQKAIL0koN1kKtJE8lLx +sqHCtuFdloZXRW0x5jWm1/k/BilfZICmppLSHjOKmGkDZM72Y67dEDB1qvJSYUfmFTZ WscYcfvAeVPAA4qSKv/X3VHF1ENorezWG4E67wXvS86XbIunqA8OLffpPppuCev1vngN +/pEczpF2mofJ8v/RxB4xK9je6s1OCr3ThZDhP3qF+kBiSrszIRuOyb/2UW9Yyae5TC5 D6w2MBFZX0wcFfsmHQXbySlsLNc/BioffQgoc/rd/cMUnTJSactU9dGOw5lEGiCCYuV/ AS1A==
X-Gm-Message-State: APt69E3CAACANaJlpcTSZctaGJbftHHIhHwA3ryEE8BVbXMLfNPh/Dwo Bk+jPivT93I6JnPwhX5LAYMbTc40ROg=
X-Google-Smtp-Source: AAOMgpcu7suSE9VNp5UXuFTyiLwpwfFMwrOMjJSO+WX9H0U8d0gnwQmZLYr/D7r3E0AoKlxqepD63Q==
X-Received: by 2002:a19:e546:: with SMTP id c67-v6mr2067109lfh.135.1531213168858; Tue, 10 Jul 2018 01:59:28 -0700 (PDT)
Received: from [192.168.72.11] (h95-155-237-105.cust.se.alltele.net. [95.155.237.105]) by smtp.gmail.com with ESMTPSA id v136-v6sm4703330lfa.10.2018.07.10.01.59.27 for <ccamp@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 01:59:28 -0700 (PDT)
From: stefan vallin <stefan@wallan.se>
Content-Type: multipart/mixed; boundary="Apple-Mail=_68733E72-8645-4D48-8A5C-50903C212709"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
Date: Tue, 10 Jul 2018 10:59:27 +0200
References: <HE1PR07MB16759D2AFA8275916A2E6747F0400@HE1PR07MB1675.eurprd07.prod.outlook.com>
To: "CCAMP (ccamp@ietf.org)" <ccamp@ietf.org>
In-Reply-To: <HE1PR07MB16759D2AFA8275916A2E6747F0400@HE1PR07MB1675.eurprd07.prod.outlook.com>
Message-Id: <B4323EEA-AFEF-4248-A549-1C01EE757BA1@wallan.se>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/zccD2OZY-MgaadszXjmcoNa7qBw>
Subject: [CCAMP] Alarm Module, complete X733/X736 mapping
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.27
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, 10 Jul 2018 08:59:38 -0000

Hi All!
Based on Martas input I have now added all X733/X736 to the augmenting ietf-alarms-x733.yang module.
(The current version only has event-type and probable cause).

Before me and Martin publishes a new version we would like to have input from Marta and ITU on the mapping.
I have used the original ITU ASN.1 module as source, but in many cases I need to relax to strings.
See for example additional-information and its ASN.1 definition. I have made a middle-ground mapping.
Some alarm systems just use a single string, I have kept the three parameters.
This makes me wonder how useful this really is?

Attaching the x733 module as well for feedback.

Since all these are optional and non-config I have not if-featured them.

 augment /al:alarms/al:alarm-list/al:alarm:
    +--ro event-type?                event-type
    +--ro probable-cause?            uint32
    +--ro probable-cause-string?     string
    +--ro threshold-information
    |  +--ro triggered-threshold?   string
    |  +--ro observed-value?        value-type
    |  +--ro (threshold-level)?
    |  |  +--:(up)
    |  |  |  +--ro up-high?         value-type
    |  |  |  +--ro up-low?          value-type
    |  |  +--:(down)
    |  |     +--ro down-low?        value-type
    |  |     +--ro down-high?       value-type
    |  +--ro arm-time?              yang:date-and-time
    +--ro monitored-attributes* []
    |  +--ro id?      al:resource
    |  +--ro value?   string
    +--ro proposed-repair-actions*   string
    +--ro trend-indication?          trend
    +--ro backedup-status?           boolean
    +--ro backup-object?             al:resource
    +--ro additional-information* []
    |  +--ro identifier?    string
    |  +--ro significant?   boolean
    |  +--ro information?   string
    +--ro security-alarm-detector?   al:resource
    +--ro service-user?              al:resource
    +--ro service-provider?          al:resource
Br Stefan