[yang-doctors] Yangdoctors last call review of draft-ietf-rift-yang-03

Michal Vaško via Datatracker <noreply@ietf.org> Thu, 08 July 2021 10:09 UTC

Return-Path: <noreply@ietf.org>
X-Original-To: yang-doctors@ietf.org
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 5758D3A1C29; Thu, 8 Jul 2021 03:09:47 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: Michal Vaško via Datatracker <noreply@ietf.org>
To: yang-doctors@ietf.org
Cc: draft-ietf-rift-yang.all@ietf.org, last-call@ietf.org, rift@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.34.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <162573898729.4670.7837396780950130231@ietfa.amsl.com>
Reply-To: Michal Vaško <mvasko@cesnet.cz>
Date: Thu, 08 Jul 2021 03:09:47 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/R5XijSyew8A6-VFqs2HNv-qCNyI>
Subject: [yang-doctors] Yangdoctors last call review of draft-ietf-rift-yang-03
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Jul 2021 10:09:48 -0000

Reviewer: Michal Vaško
Review result: Almost Ready

Generally, use references where make sense (features, nodes) and use units
and/or standard types (ietf-yang-types) for leaves (such as grouping
neighbor-node/bandwidth). All links are invalid, better to use references
anyway because the module will be used outside the RFC.

Specific problems:

- description - copyright 2020
- typedef ieee802-1as-timestamp-type - reference in description, put separately
- grouping address-families
        - list with a single key can be leaf-list
        - would make sense if meant to be augmented with new nodes
- grouping node-flag
        - used only once, makes sense if meant to be reused by other modules
        - consider using bits type in the leaf
- grouping base-node-info/pod - redundant description, use union of number and
"undefined", or leave out for undefined since it is not mandatory - augment
rift/rx-lie-multicast-address,tx-lie-multicast-address
        - default value in description - should be defined in YANG
                                                              - consider using
                                                              refine on
                                                              "addresses"
        rx-flood-port - redundant default in description, is obvious in YANG
        algorithm-type - empty cases - redundant on their own, are expected to
        be augmented? HAL - use lowercase
        database/tie/negative_disaggregation_prefixes
                - use hyphen instead of underscore
                - consider abbreviated/shorter node names
                - applicable for the following nodes as well