[yang-doctors] Yangdoctors last call review of draft-ietf-rift-yang-11
Michal Vaško via Datatracker <noreply@ietf.org> Thu, 13 June 2024 12:45 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 AB5F4C16941B; Thu, 13 Jun 2024 05:45:02 -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
X-Test-IDTracker: no
X-IETF-IDTracker: 12.15.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <171828270268.30758.13703686732582560165@ietfa.amsl.com>
Date: Thu, 13 Jun 2024 05:45:02 -0700
Message-ID-Hash: PTK7JYT6Z4UGH2MP3LI3JKLPQKXTMKKG
X-Message-ID-Hash: PTK7JYT6Z4UGH2MP3LI3JKLPQKXTMKKG
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: draft-ietf-rift-yang.all@ietf.org, last-call@ietf.org, rift@ietf.org
X-Mailman-Version: 3.3.9rc4
Reply-To: Michal Vaško <mvasko@cesnet.cz>
Subject: [yang-doctors] Yangdoctors last call review of draft-ietf-rift-yang-11
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/riv0C-pjuFMJ1LIxoUgGDD3BDi8>
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>
Reviewer: Michal Vaško Review result: On the Right Track This is my second YANG doctors review of draft-ietf-rift-yang. As mentioned in my previous review, the short descriptions and often missing references make the module difficult to understand and should be added. typedef 'level': - Generic name, short description, and no reference makes this a vague typedef, ideally all 3 should be improved/added. grouping 'security', leaf 'security-type': - Descriptions of enum values reference the RFC text, which is not suitable. When the YANG module is used on its own, the value need to be explained in the YANG module. Ideally a reference added as well. grouping 'security', case 'auth-key-explicit': - The leaf 'key-id' seems completely redundant, its purpose is unclear. - The leaves 'key' and 'crypto-algorithm' seem like an oversimplified way of storing keys but I see that it was inspired by how ietf-key-chain stores them so please add a reference to that RFC. grouping 'neighbor-node': - Description mentions bits, which can be specified as units directly. grouping 'neighbor': - Leaf 'removal-reason' seems tied to 'removed-from-consideration' but this is not expressed in YANG. A must condition or when condition with mandatory flag can be used. - Leaf 'bfd-up' should probably have a default value. Also, may be better to rename it to 'bfd' and use an enumeration with enums 'up' and 'down'. grouping 'tie-header': - Leaf 'origination-lifetime' and 'remaining-lifetime' should have units specified. augment "/rt:routing/rt:control-plane-protocols/rt:control-plane-protocol": - Leaf 'configured-level' has a complex description that should be expressed in YANG instead. - Leaf 'state' enum values are using a different naming scheme.
- [yang-doctors] Yangdoctors last call review of dr… Michal Vaško via Datatracker