Re: [CCAMP] YANG Alarm Module in CCAMP?

t.petch <ietfc@btconnect.com> Wed, 10 May 2017 09:30 UTC

Return-Path: <ietfc@btconnect.com>
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 361181293F9; Wed, 10 May 2017 02:30:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.921
X-Spam-Level:
X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 o6Ez6Mok8uj7; Wed, 10 May 2017 02:29:57 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0122.outbound.protection.outlook.com [104.47.0.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A37C1293F2; Wed, 10 May 2017 02:29:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=nuitDcWgPxqb2TGmJ/5hrORtCxnEtwt2fosK5aGuc8I=; b=F70WAetoDRC5HfcIB4rRD7SgAZgOM/wfdAzm0g36ynNT0/JL3HryK9S6r589wGTsnChonC33g7KrrMjwLnd63N8cHtVIwCB+6Vj8pBF9rhpTswxRo9PcGEayWcePdPU/MaxTjddgnW1LJZuqd1oMbODdusKdQ36pmNBieO3Mr6U=
Authentication-Results: wallan.se; dkim=none (message not signed) header.d=none;wallan.se; dmarc=none action=none header.from=btconnect.com;
Received: from pc6 (86.169.157.161) by DB6PR0701MB2997.eurprd07.prod.outlook.com (10.168.84.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.7; Wed, 10 May 2017 09:29:53 +0000
Message-ID: <02c201d2c96f$9ae1ae40$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: stefan vallin <stefan@wallan.se>, Zhenghaomian <zhenghaomian@huawei.com>
CC: netmod-chairs@ietf.org, ccamp@ietf.org, Martin Bjorklund <mbj@tail-f.com>
References: <20170508.100942.1723888645272889243.mbj@tail-f.com> <AM2PR07MB09946D8FC13130E568BDEB95F0EE0@AM2PR07MB0994.eurprd07.prod.outlook.com> <VI1PR07MB1005AD5334CFBE2C0009B420F0EF0@VI1PR07MB1005.eurprd07.prod.outlook.com> <F82A4B6D50F9464B8EBA55651F541CF8AB50E23E@DGGEML501-MBS.china.huawei.com> <55A58B0B-281F-40CD-81E9-0F074CA61E95@wallan.se> <E0C26CAA2504C84093A49B2CAC3261A43A260B36@DGGEML503-MBS.china.huawei.com> <9F12ECC1-2748-47AD-81D8-C835AAC4BFB9@wallan.se>
Date: Wed, 10 May 2017 10:25:49 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [86.169.157.161]
X-ClientProxiedBy: AM3PR07CA0073.eurprd07.prod.outlook.com (10.165.201.31) To DB6PR0701MB2997.eurprd07.prod.outlook.com (10.168.84.135)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 43feabfc-d7ce-4cb3-354c-08d497871d95
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:DB6PR0701MB2997;
X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2997; 3:pS2UnpiivPw71AEjTXI1N4zg9uceHt1E1fzXee1h9lQFg0dKa4PXHhUSmCvXnIK+yHwkor22Bqo5KTjLXc/MdpOxJd5RPtxGKklSrUndYXnKxzY4XJib6N43V0NWFgI2/wKjrTbqiEbFdlWMqb3iCN22ZKCIC0JYX13IyC4HElD63rwlERN+t4BdEZnG/09HiUmosuVlsZVwW/nNFcEO/zs9apXlZpSNUTC4E6o/1cYLpg5tOpJ1/g4kNRGvNY4HRolMFAhyyBvTbgsTj9oaL/BYCCv5D6//1aLNYwn5lwMTcKPa/5AL5yJ7w7gEL9Gu94oBj/gyfid3q5OR8b1eJA==; 25:eEegDqllztBPKauGoAsS5N+6Q1IAkdOfDtHvrxmctosBhTIadnxFOqfgKkcexOzCak3uzb3+LMZ/xFIM+x2T6Xx2lWXXnvIYOZm9307i28jpG6BEEs+AfqxGVcE2ASpR38tSEVTNG33oKNSYYMrMTu7MO3BxNUfxLjZ9gMtzmgU98LT9Mzt5b29jdn9f/SD3ux9FOTpyL+VgpuBMJaBd+y9ZOXWTfaN7dRFsX0sqpaMEozn1NXg77Z24DUX+ZCfY3BM6ks3mPw3f7LKWWApHC9cqYUpbCjSNDHh+PijM6etitiFBQ03933DLfDxPrpDMuzJ3seknZ5tOcW7MLE16Bec9loJfd7YSLuA9oNSNr4K36OZl93fXANz0SIsB5O7JT8WsceSJHAL49HgYdzALWYa+gUt74Y2Rit9spL2PNfWJLTr2uVmN6OU2HughyzjenThei6msNJxSptmzfFUqTxv89IPeAgpQ5w9fNLUBvVE=
X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2997; 31:fC7gZ4tm8wmEXFk0gGwD+5AkaLAMyfYS21/nW1j0+/qtUysW3r/FKnY6zKdG6XbhYFsxCzv1Ojmn55+ccVXLLTtmzm4ghcbrN42UQOxxIQrjqf41Oxm1EGwKw2HxcW2DlnctTlH61nvRCTlaLe/aQ8Xb6UyeNiURqzBiEFhXLFyJv9xrsEoY9e9cTcfD4kq7pfdQMv12kPGvLoAxrc83gQIRUq9k5zTus3ZQWrzmlZctTqSsCSDL/tDdFwbgz8dv2dQIxHXGho6qlXOXh8NbvQ==
X-Microsoft-Antispam-PRVS: <DB6PR0701MB2997E7753098E3D60FBFC516A0EC0@DB6PR0701MB2997.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(278428928389397)(50582790962513)(211171220733660);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123558100)(20161123555025)(20161123562025)(6072148); SRVR:DB6PR0701MB2997; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0701MB2997;
X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2997; 4:v6CYhZ+vijCE6QjbXA29vyT9gyX1B3weRmj//46coP7q10v0mIACTOvqzvYezrZj1HTSIVWka/7onZW0FCK/ipcvClt2UBMW+17gfHGlg5yZEoWp6tIRIaWamcf2py1Bj3RczqFBQqlm1JuL0Xa+JWWlWcUOLTQVIuOyJV3mkETvR35QpIYhOvaA829VMsaT2QJMe6rq9Po9S9VM2tZinm2+R4lqhCMrqgV5cuVkGVPgoXFebRJChGm+M6Z0TRNnLOJFlBlw83qg64Kyv3qL5Xp6B13NCafMxR/dalrWHeC8xZsOVE9QXWn7I5S1uvbRmkcAfCo+0JdB/Q6ws8Cuz9dY47irAKuh60hGI3x8oZF0OcfKRo3NEL5YrfzC68G1OpPatZjgXnkGQw2e0Qwm/VGeeyOSjr04bOanphezLASAbBitq3sC0GW5Hsp5U7I4U9GY7uxo2NjId0lGl8N2dy3AlcaUSl6PSVd2+nUSRDKESNMEjJDL1vQLaZWSTWOz8I6JwrQq77OLD132sV9KYnhLdQnSoKWQnnRYURcw4oTsKO7k6ddQ1AJl9QoxKoE92Ys7naqCXhUUtdTMCHAqQ7g+rhEt71vy++WUNtSCcvS4OHfxvDRudFjaMJ88Z8clzlz9mOsxIlY2nYyisP21BPjxxYYi+++oefo0Ju6HewIXSvrNACvR1DMGezsN6jiYXFwQ74texg5fXATLI+WS4GfG3yR/P9eX82gdlQEFrr0YQe/kzB+BzzbGPQjpFYgIsRUuuP5AbQSMUoK2MGHd5OwXJiHcGScwfcQBYRK2IfHnK8JBpltxts0KqroBGtIFXXhMBSviyYY383fwz19kMXAMVrGK1lIRBUNDdjc0I4ThVlk0G+AQwkckYyU/O1XiryneeTNaCzLNRfyWC92anw==
X-Forefront-PRVS: 03030B9493
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39850400002)(39400400002)(39450400003)(39840400002)(39410400002)(39860400002)(377454003)(13464003)(24454002)(53754006)(93886004)(23676002)(54906002)(2870700001)(9686003)(6496005)(189998001)(86362001)(53936002)(84392002)(116806002)(2906002)(1556002)(8676002)(5660300001)(47776003)(44736005)(62236002)(50226002)(44716002)(478600001)(6486002)(81166006)(6306002)(4720700003)(6116002)(3846002)(6246003)(38730400002)(81686999)(50466002)(66066001)(4326008)(76176999)(81816999)(50986999)(53546009)(42186005)(229853002)(7736002)(33646002)(6666003)(305945005)(61296003)(25786009)(1456003); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0701MB2997; H:pc6; FPR:; SPF:None; MLV:sfv; LANG:en;
X-Microsoft-Exchange-Diagnostics: 1;DB6PR0701MB2997;23:KjQ4ie1vi/yG2aoAJShM+ENnpKI+tWBOrZzX4B+6jFQDG6Y5RGSEjolYMOM/iY4DNFWfzkZxOPYsum2a0HMg0c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iagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2997; 7:14eNA3avPmf8tTxZgIwsjaJ6iDU3DSDvOrY4RcOQGUvB2cIug1lt48EcsxFFFh7s4cBb7PYqwfGFQ81up2YfJVBMQwlP4VBZxJjmNpVnR0n1YyoKL5ejLksJzVAHF6YU+ZlN1nQOCVkMcpIhe26khImULDdKIeNlYQ7ss0KMO2WSamBXe91klOPgOlXB5ToYFTaDDZNkAxKg3q8SjcJgw3Zh9TMuWNqKGsZWzO6BQx1r6CtE/WukZ9vDWNznWcA254zrHT1o5X/jq54snmuyUt4r5qkGBu8I2OIQS6OLhQleOa0ZJSbi+obrMx0p9OYVLjV+W3VYvYfy9LlAR92WDw==
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2017 09:29:53.3475 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0701MB2997
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/C2sDOTKnGfvGR5LbCUg87xAK3oY>
Subject: Re: [CCAMP] YANG Alarm Module in CCAMP?
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: Wed, 10 May 2017 09:30:01 -0000

<inline tp>

----- Original Message -----
From: "stefan vallin" <stefan@wallan.se>
Sent: Wednesday, May 10, 2017 8:14 AM

>
> 1)      I agree this work is useful, i.e., to have a generic alarm
model draft in NETMOD. We had a draft on related topic
ashttps://tools.ietf.org/html/draft-sharma-netmod-fault-model-01
<https://tools.ietf.org/html/draft-sharma-netmod-fault-model-01>,
unfortunately I have not got a chance to  compare the gap between this
draft and yours, did you notice this draft?  And any comments?

Yes, I did review it, see mail 31 oct 2016 in NETMOD. Included my
response at the end of this email.

> 2)      I am confused with your 2nd comment in the following email.
When you said  ‘We will have a problem if different technologies will
define different alarm-modules.’, IMHO I have an opposite opinion, if
different technologies are using same alarm-modules, that would be a
trouble. I understand there is a lot of common stuff among different
technical alarms, but it is an adventurous assumption to restrict any
tech-specific work. Could you confirm on this?

Disagree :)
I am convinced that there is a generic alarm model irrespective of
technology.
Then of course different technologies need to define different alarm
types for the common alarm model.

If the generic alarm model restricts requirements for technology
specific details, that points to a bug in the generic alarm model.
Without starting any argumentation if X.733 was good or bad, it did
prove my assumption to some level.

> 3) If there is any tech-specific alarm work (may not be much),
especially for L0/L1/microwave, that would belong to CCAMP. It is also
difficult to conclude now whether it will be defining additional
identities or model augmentation.

Both augmentation and alarm types with identitities are fine.
But we have a problem if every working group creates a different alarm
model. Then we are back to square zero

<tp>

Yes, if there is to be an Alarm module in YANG, then a base module with
technology specific extensions seems the right way to go (and that is
much easier in YANG than ever it was in SMI).

But as the references to X.733 hint at, is this work for the IETF or
does it belong in ITU-T? I note that with LANs, the IETF did the early
work but even the MIB modules got transferred out of the IETF (to the
IEEE).   When we produced the Alarm MIB Modules, I felt that the work
was at the edge of the expertise of the IETF with perhaps not as many
reviews as would be desirable.

So when I read from the NETMOD WG something along the lines of 'Not
here' and then something similar from the CCAMP WG, well I think perhaps
not IETF but ITU-T.

Tom Petch






>
> My 2 cents,
> Haomian

Review of sharma-netmod-fault-model
========================
Hi!
We have reviewed draft-sharma-netmod-fault-model-01.
Glad to see that more people are interested in an alarm YANG module.
See comments below.

Please note that Martin and me has published a netmod alarm module:
https://www.ietf.org/id/draft-vallin-netmod-alarm-module-00.txt
<https://www.ietf.org/id/draft-vallin-netmod-alarm-module-00.txt>
We are also about to published an updated version of this after comments
on
the netmod mailing list

This is updated from the version you are referring to:
https://tools.ietf.org/html/draft-vallin-alarm-yang-module-00
<https://tools.ietf.org/html/draft-vallin-alarm-yang-module-00>

Some comments after reviewing your module:
Overall comments
===============
*The sharma draft is a subset of the functionality in the vallin draft.
On top of the alarm-list, the vallin draft covers:
- alarm quality/usability requirements
- alarm summary
- alarm history (optional YANG feature)
- alarm operator actions like ack (optional YANG feature)
- alarm inventory (which are the possible alarms)
- alarm shelving (filtering)
- do not impose X733, rather this is an add-on

* Stateful vs notification-based definition of alarms.

The vallin draft focuses on representing alarms as an alarm state on a
resource.
The notifications refers to alarm state changes for a specific alarm on
a specific resource.
The alarm list represents the alarm state for a given resource and alarm
type.

The sharma draft focuses on a notification focused view on alarms.
The alarm list represents the alarm notifications. The management system
has to
correlate the notifications into an actual alarm state.

* On X733
The vallin draft does not use the X733 as a mandatory *core* model,
rather it allows for X733 mapping when needed.
While X733 has been the root for most telecom oriented alarm systems, it
adds a bit of historic overhead.
For example globally standardised probable cause values have not shown
to be useful in some cases.
X733 represents notifications and not state (see above).
Therefore an alarm is either cleared or minor for example.
The vallin draft clearly separates this. Severity is one thing,
clearance is another.

* Terminology
the module is named “fault” while modelling alarms.
See for example X733 for definitions of fault, errror and alarm.

Detailed comments
================

Section 2
"  New network architectures that include controllers, orchestrators,
   PCE, applications, etc., require new alarm types and probable causes
   to be defined.  These new alarm types and probable causes will be
   defined in the next version of the model.”

We doubt that having globally defined probable causes is a scalable way
forward.
Did not work well in X733 or RFC3877.

Probable cause values from standards has been more of historical value
then real
value to alarm operators and alarm systems. Most telecom oriented alarm
systems
require this alarm attribute. However the actual values are different
for all management
systems. It is a confusing area with conflicting enum values. Our
approach is different.
We consider this to be a configurable mapping to match the needs of the
management
system and no values are defined in the alarm module.
It is also kept separate as a X733 mapping rather than part of the core
model.


Section 2.2

The definition of 'alarm-id' is unclear.
"In most cases this will be a combination of entity-type, entity-id,
probable-cause and severity”

entity-type: string
entity-id: inet:uri
probable-cause: identity-ref
severity: enum

Several questions on this:
a) why does not the entity (called resource in the vallin draft) refer
to a path in the YANG data tree?
In the vallin draft we use an instance-identifier. We also allow for
other resource instances based on SNMP or even a string as last resort.

b) Alarm list key
- assume you have a threshold alarm with the following life-cycle:
  T1, T2, T3, are the times for the alarm state changes.
  T1: raise, minor
  T2: major
  T3: clear

In the sharma draft this will be  *three different entries* in the alarm
list. The client
would have to correlate those.

In the vallin draft this is *one entry*, one alarm, with three different
states.
The vallin draft also clearly separates the severity from the clearance
state.
The final state model is
(major, cleared)
This is important, what was the severity of the alarm and is it cleared
or not?
This is not easily seen in the sharma draft.

This implies that the sharma draft alarm list is more of a notification
log rather than an
alarm-list that shows the current state. The vallin draft  alarm-list
focuses on current state
of the alarms. Notifications represent state changes on the alarm state.

c) the service-affecting flag
This is superfluous. If the X733 severity levels are set correctly this
is enough for
service-affecting or not. See the X733 definition of severity levels.
The vallin draft also has a leaf impacted-resources. In this leaf an
alarm can refer to
affected/impacted services.

d) alarm-sequence number
Not needed, NETCONF has notification replay and uses SSH sessions.
Furthermore, since the sharma alarm list key is the identification of an
alarm notification, why is this needed at all?
There has been these kinds of var-binds in SNMP Alarm MIBs as well, it
was a bit flawed there as well: you could use informs instead of
trap-pdus. How does this work with filtering mechanisms?
Do not try to do protocol stuff in the model.


e) House-keeping
Unclear how the list is managed, when are entries removed?


f) Other considerations:
- The vallin draft allows for more flexible resource (entity)
identification, see below:

The primary mechanism is an instance-identifier so that a node in the
data-tree can be referenced
The sharma draft uses  string/uri which is another domain than the
module. A bit strange, say you have
an interface alarm, why should you not send an alarm on the path to
interface in the data-model.

The Vallin draft also allows for other naming schemes, for example SNMP
OIDs:
  typedef resource {
    type union {
      type instance-identifier {
        require-instance false;
      }
      type yang:object-identifier;
      type string;
    }

The alarm also has an optional leaf for referring to the alarming
resource using an alternate naming scheme
        +--ro alarm* [resource alarm-type-id alarm-type-qualifier]
           +--ro resource                      resource
           +--ro alarm-type-id                 alarm-type-id
           +--ro alarm-type-qualifier          alarm-type-qualifier
           +--ro alt-resource*                 resource

So the alarm can use both the instance-identifer and the SNMP OID for
the alarming interface for example.

br Stefan and Martin


> 发件人: CCAMP [mailto:ccamp-bounces@ietf.org
<mailto:ccamp-bounces@ietf.org>] 代表 stefan vallin
> 发送时间: 2017年5月9日 18:15
> 收件人: Fatai Zhang
> 抄送: netmod-chairs@ietf.org <mailto:netmod-chairs@ietf.org>;
ccamp@ietf.org <mailto:ccamp@ietf.org>; Martin Bjorklund
> 主题: Re: [CCAMP] YANG Alarm Module in CCAMP?
>
> Hi All!
> Thanks for reading the doc.
> A couple of comments:
> 1) I personally agree it fits in NETMOD, but the discussion in NETMOD
said we would get much more relevant input in CCAMP since there is more
alarm expertise in this group. So this is circular :)
> 2) I do not really agree when you say "extend it with technological
aspect”, “optical alarm Yang should be in the scope of CCAMP” requires a
dedicated CCAMP YANG module. The tech specific alarms are “alarm types”
according to the alarm-module. Those are defined as YANG identities. So
the tech specific part is “only” defining the corresponding identity. No
real model here, just the identities. We will have a problem if
different technologies will define different alarm-modules.
> 3) To Petch point on "I am conscious of how much time I spent on
Sharon's SMI versions, which I did not then see in the wild”.
> Same here :) I took part of a couple of implementations as well.
> And that is one of the main reasons why I think an Alarm YANG is
critical. Why do we not see the IETF Alarm MIB in the wild?
> * It came too late, all devices had proprietary ways of reporting
alarms (if devices had a notion of alarms at all….). Lets do an Alarm
YANG now to avoid that problem.
> * Since it had to add on top of existing MIBs it became a complex
alarm mapping MIB (Mapping existing notfs into an alarm model) rather
than an alarm MIB. That made it very complex.
>
> Here is a presentation
>
> Stefan Vallin stefan@wallan.se <mailto:stefan@wallan.se>
> +46705233262
>
> On 09 May 2017, at 11:51, Fatai Zhang <zhangfatai@huawei.com wrote:
>
> Hi Daniele and all,
>
> Yes, I agree with you.
>
> As I said to Lou in another thread, I think the generic alarm Yang
could be defined in either Netmod or Teas, but the technology specific
such as optical alarm Yang should be in the scope of CCAMP.
>
> Thanks
>
> Fatai
>
> -----邮件原件-----
> 发件人: CCAMP [mailto:ccamp-bounces@ietf.org
<mailto:ccamp-bounces@ietf.org>] 代表 Daniele Ceccarelli
> 发送时间: 2017年5月9日 17:34
> 主题: Re: [CCAMP] YANG Alarm Module in CCAMP?
>
> Hi authors, NETMOD chairs, CCAMP WG,
>
> i went through the document and, despite believing it's a super well
written and understandable document, I don't think it fits in CCAMP.
> This is a more generic work with a scope broader than CCAMP. At a
first thought I would say TEAS, but also TEAS is not the right place
since it's not related to traffic engineering.
> The day you plan to extend it with technological aspect, then CCAMP
would be its natural home.
>
> Fatai, do you agree with the analysis?
>
> BR
> Daniele
>
>
> -----Original Message-----
> From: CCAMP [mailto:ccamp-bounces@ietf.org
<mailto:ccamp-bounces@ietf.org>] On Behalf Of Daniele Ceccarelli
> Sent: lunedì 8 maggio 2017 16:40
>
> Hi Martin, Stefan,
>
https://www.ietf.org/mailman/listinfo/ccamp