[yang-doctors] Yangdoctors early review of draft-ietf-ccamp-rfc9093-bis-13

Joe Clarke via Datatracker <noreply@ietf.org> Thu, 24 April 2025 15:20 UTC

Return-Path: <noreply@ietf.org>
X-Original-To: yang-doctors@ietf.org
Delivered-To: yang-doctors@mail2.ietf.org
Received: from [10.244.8.129] (unknown [104.131.183.230]) by mail2.ietf.org (Postfix) with ESMTP id D6F3F20B9625; Thu, 24 Apr 2025 08:20:23 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Joe Clarke via Datatracker <noreply@ietf.org>
To: yang-doctors@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 12.38.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <174550802367.2510283.5007926725758076730@dt-datatracker-64c5c9b5f9-hz6qg>
Date: Thu, 24 Apr 2025 08:20:23 -0700
Message-ID-Hash: DHAT5C3CNKB4BUDHULCGEJWLVWP7GPWF
X-Message-ID-Hash: DHAT5C3CNKB4BUDHULCGEJWLVWP7GPWF
X-MailFrom: noreply@ietf.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-yang-doctors.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: ccamp@ietf.org, draft-ietf-ccamp-rfc9093-bis.all@ietf.org
X-Mailman-Version: 3.3.9rc6
Reply-To: Joe Clarke <jclarke@cisco.com>
Subject: [yang-doctors] Yangdoctors early review of draft-ietf-ccamp-rfc9093-bis-13
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/ic4LpfpVXFobHKYhHva60SBjyPo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Owner: <mailto:yang-doctors-owner@ietf.org>
List-Post: <mailto:yang-doctors@ietf.org>
List-Subscribe: <mailto:yang-doctors-join@ietf.org>
List-Unsubscribe: <mailto:yang-doctors-leave@ietf.org>

Document: draft-ietf-ccamp-rfc9093-bis
Title: Common YANG Data Types for Layer 0 Networks
Reviewer: Joe Clarke
Review result: Ready with Issues

Hello again, authors!  I've been asked to take another look at this module on
behalf of YANG Doctors.  We discussed some of the previous issues in email, and
I appreciate the changes you have made.  Most of what I found a probably best
described as nits, but I marked this as "with issues" again for the grouping
point I raised last time.

While I acknowledge the intent of these groupings is to also be used with other
structure (e.g., a "grid-type" leaf), I would like to see some explicit text in
the grouping descriptions to clarify that.  While these types/groupings may
only be used in ccamp/teas work, I find it odd that one can't really make use
of them without additional augmentations or structure.

Also, I noticed you mix types with the l0-types: prefix and those without. 
Example:

case single {
            leaf dwdm-n {
              type l0-types:dwdm-n;
              description
                "The given value 'N' is used to determine the
                 nominal central frequency.";
            }
          }

And:

leaf standard-mode {
      type standard-mode;
      config false;
      description
        "G.698.2 standard mode";
    }

Why the discrepancy?

I also notice some differences in choice naming in wdm-label-step.  You've used
grid-type everywhere else, but here you use l0-grid-type.  Probably should
leave out the "l0-".

Similarly, you have some groupings (like l0-tunnel-attributes) named with
"l0-".  Is that required given this will be used with the l0-types: prefix?