[Teas] Yangdoctors early review of draft-ietf-teas-actn-pm-telemetry-autonomics-08

Reshad Rahman via Datatracker <noreply@ietf.org> Sat, 12 March 2022 18:10 UTC

Return-Path: <noreply@ietf.org>
X-Original-To: teas@ietf.org
Delivered-To: teas@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id AD7823A0745; Sat, 12 Mar 2022 10:10:07 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Reshad Rahman via Datatracker <noreply@ietf.org>
To: yang-doctors@ietf.org
Cc: draft-ietf-teas-actn-pm-telemetry-autonomics.all@ietf.org, teas@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.46.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <164710860762.7730.12647285593737135261@ietfa.amsl.com>
Reply-To: Reshad Rahman <reshad@yahoo.com>
Date: Sat, 12 Mar 2022 10:10:07 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/OHc4LwiZSuGe76DYcs25YYITs0Y>
Subject: [Teas] Yangdoctors early review of draft-ietf-teas-actn-pm-telemetry-autonomics-08
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <teas.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teas>, <mailto:teas-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teas/>
List-Post: <mailto:teas@ietf.org>
List-Help: <mailto:teas-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teas>, <mailto:teas-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Mar 2022 18:10:08 -0000

Reviewer: Reshad Rahman
Review result: Ready with Issues

This is my YANG Doctor review of
draft-ietf-teas-actn-pm-telemetry-autonomics-08.

I have reviewed the document and looked at references such as
draft-ietf-teas-actn-vn-yang, RFC8453, RFC8309 etc. I think I got to grasp the
intent of the document, at least the autonomics part. However I am not sure I
fully understand how everything fits in together. I don't follow the TEAS WG
anymore, I tried to catch up by searching the archive but I didn't see any
discussions on this document in the archive. Having more examples may help.

Comments on the document:

The document title, abstract and YANG modules all use the term "telemetry". I
do not see anything specific to telemetry in the YANG modules, it is just extra
data being modelled in TE tunnels and VNs. There are a couple of examples with
establish-subscription, but that IMO still doesn't the model telemetry specific.

Introduction, 5th paragraph. I don't get "to provide an ability to program
their customized performance monitoring subscription". Possible it's because
I'm missing the big picture. My suggestion is to clarify/simplify. But if the
WG is good with this, fine with me.

Introduction, 6th paragraph. The following statement is of some concern to me
because of the potential confusion. Again, up to the WG. Nit: missing "way"
after "different".
 "The term performance monitoring is used in this document in a
   different from how the term has been used in TE networks for many
   years."

Section 2. Figure 1 is a nice diagram, but it is not clear where/how this
document fits in.

Section 2, next to last bullet. "other SLA requirements". It would help to have
an example of such an SLA requirement.

Section 5.2. There's a mismatch between the text for figure 9 (copy-paste from
text for figure 8?) and figure 9.

IANA Considerations: For YANG module name registry, the reference should be
RFC6020, not RFC7950.

Comments on the YANG models:

Why use identity for scale-op? enum seems fine for up and down.

For threshold-time and cooldown-time, is it ok to have value 0?

For threshold-value, why use a string. I realize using a union might be tricky
here, but why not uint64? Is it because there might be a threshold which cannot
be expressed as a value?

Telemetry-id seems unnecessary. First it's not clear whether it's unique per TE
tunnel. And, why invent a new "id", why not refer to the TE tunnel using its
key?

For scale-in and scale-out, by how much? Is there a missing leaf node or did I
misunderstand how this works?

For grouping-op(eration), are "and" and "or" still needed considering those are
in scaling-criteria-operation?

Typos:

- analize (analyze)

- interpritted (interpreted)

- criterias (criteria)

Regards,
Reshad.