[yang-doctors] Re: Yangdoctors early review of draft-ietf-bfd-stability-13

Mahesh Jethanandani <mjethanandani@gmail.com> Mon, 10 June 2024 17:34 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ACB4DC1D4CF8; Mon, 10 Jun 2024 10:34:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KHDgzEI3B5Wb; Mon, 10 Jun 2024 10:34:11 -0700 (PDT)
Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0BE97C1D4CF4; Mon, 10 Jun 2024 10:34:11 -0700 (PDT)
Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-62a080a171dso48367107b3.0; Mon, 10 Jun 2024 10:34:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718040850; x=1718645650; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=kg9tkEe052xrgbvNIWypFTFOUqiMYRdmyLgNouCqKPE=; b=CqLwBUJQrQ6a5P1+En9JFXkwXBXwKTENncDHMNLW7pKSRIu9vu4USxPyTAgbSBcW6t aKADFaaH5b7JsHMn/573lcOW98L4BQLf9BWVyAjxCjkb8zPXXMMMSWAOmqeJcsJgoPK5 5LUNgTJPlZqTL7Hdd5jx/XxsrpN5ldM8lnpF9GRnZ0CYgwRAPJFVh5DCmlZjPecvS9C9 uoovvjgHeKNVj20NCU6B1hJWQOlrcVw9lSlbrXdhUqQ7f6D9Eeu4x4VQxUzlfXtwtxNO X8JmlupiJziDtfo8TBNy4yz67evCfSCga2osps0GLQXV9DTKQLErI1KwbIcehHvFhboM FCFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718040850; x=1718645650; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kg9tkEe052xrgbvNIWypFTFOUqiMYRdmyLgNouCqKPE=; b=J+kVNQKcndds8ROJsOnbF7amIrNLubaTWqu7Xz3yMBILvIm4sfaE+9xZ0rkm/gy9XE bG432nJkwRPrTyzvA479KsBszxxPF7e0N+BSvOnJvDeFqNDsOM7TI5r1Vt/S081jgOhf zS6FuEk9ocQ+RMM11EkS3iFSfga66YEtP6jFQ6WENfl+nnXuzlTMna9zPENUCJg76pk7 ShcEUxo+7/EvRbRQPouxF0QLmArqOj9Y2HGhgeUaqHh1VwqUNad02bVk1zWCo0a9srE8 4vsXlLfVI6qu1T6hsbLx0sNnmqldoGMAm5WcFfS8JAcv2XuQXoKwafvYT1GpsDgr4nip 5G0g==
X-Forwarded-Encrypted: i=1; AJvYcCX3p9tp28BLMsCq3TaOK4kgUuNlrNVaP9hGfEjvTcEgG+b/DqHKAR+1i0CMc1tdWuseN8Hpv6S1ApW5P/QdIgMWBST9OPludLwKTlwKEItoYk5wiQu3/YDk041Xrc8sFV8sItQApANl
X-Gm-Message-State: AOJu0YxAsdClzRaGPHf0hXL/04yxTao0NJMoRGmnVvQDbQS3zloJhiHf OpWJnqqtKrO7/7tEOIWR6lM05k71ZK7+s++iSqzh6pYsu5FUs8oWf/Zjiw==
X-Google-Smtp-Source: AGHT+IHODElyp/xlrnsVDiHGvmXMyygdXRmD8QDTnPDn+rYLpp+CZ/Tf2zGTCHCOTUy+RjNjicUEDA==
X-Received: by 2002:a0d:d612:0:b0:627:e144:c607 with SMTP id 00721157ae682-62cd568d213mr97634547b3.34.1718040849434; Mon, 10 Jun 2024 10:34:09 -0700 (PDT)
Received: from smtpclient.apple ([2620:0:ce0:108:1c25:32ee:1f15:9adf]) by smtp.gmail.com with ESMTPSA id 00721157ae682-62ccae47aabsm17057867b3.90.2024.06.10.10.34.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jun 2024 10:34:06 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <0CE9C837-2046-4515-B4D7-B776A87E7A82@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_9A2F5E1E-5385-4D88-A6C0-1D7E6A3FFD67"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\))
Date: Mon, 10 Jun 2024 12:34:05 -0500
In-Reply-To: <171794837573.3005.2602646248852016736@ietfa.amsl.com>
To: Ebben Aries <exa@juniper.net>
References: <171794837573.3005.2602646248852016736@ietfa.amsl.com>
X-Mailer: Apple Mail (2.3654.120.0.1.15)
Message-ID-Hash: V5ACMHVGMC3SLTNG7C75DHQ55MHLIS4V
X-Message-ID-Hash: V5ACMHVGMC3SLTNG7C75DHQ55MHLIS4V
X-MailFrom: mjethanandani@gmail.com
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: YANG Doctors <yang-doctors@ietf.org>, draft-ietf-bfd-stability.all@ietf.org, "rtg-bfd@ietf. org" <rtg-bfd@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [yang-doctors] Re: Yangdoctors early review of draft-ietf-bfd-stability-13
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/bYSH8ML9jALSLMRqsNhm6lbVTeM>
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>

Hi Ebben,

Thanks for reviewing the document.

> On Jun 9, 2024, at 10:52 AM, Ebben Aries via Datatracker <noreply@ietf.org> wrote:
> 
> Reviewer: Ebben Aries
> Review result: Ready with Nits
> 
> This is a follow up review to prior -08 version ~3y back.  Prior review
> comments were addressed and it looks good from a YD standpoint.  Only a few
> minor questions/clarifications below.
> 
> 1 module in this draft:
> - ietf-bfd-stability@2024-05-05.yang
> 
> YANG compiler errors or warnings (pyang 2.6.0, yanglint 2.2.8)
> - No compiler errors or warnings
> 
> Module ietf-bfd-stability@2024-05-05.yang:
> - I notice between -08 and -13 that `micro-bfd-ipv6` augments are now removed.
>  Is this intentional?

Good catch. No, the work on this draft predates the final changes made to BFD module. It was never added. Have done it now.

> - For all augments that introduce the `lost-packet-count` leaf, these are all
>  identical definitions which could leverage a single grouping/uses
>  definition.  Any reason not to leverage?

Created the grouping and using it now.

Thanks

> 
> Example validated instance data:
> 
> <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
>  <interface>
>    <name>et-0/0/0</name>
>    <type
>    xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
>    <oper-status>up</oper-status> <statistics>
>      <discontinuity-time>2024-06-09T00:00:00.000+01:00</discontinuity-time>
>    </statistics>
>  </interface>
>  <interface>
>    <name>ae0</name>
>    <type
>    xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ieee8023adLag</type>
>    <oper-status>up</oper-status> <statistics>
>      <discontinuity-time>2024-06-09T00:00:00.000+01:00</discontinuity-time>
>    </statistics>
>  </interface>
> </interfaces>
> <routing-state xmlns="urn:ietf:params:xml:ns:yang:ietf-routing">
>  <ribs>
>    <rib>
>      <name>DEFAULT</name>
>      <address-family>ipv4</address-family>
>    </rib>
>  </ribs>
> </routing-state>
> <routing xmlns="urn:ietf:params:xml:ns:yang:ietf-routing">
>  <control-plane-protocols>
>    <control-plane-protocol>
>      <type
>      xmlns:bfd-types="urn:ietf:params:xml:ns:yang:ietf-bfd-types">bfd-types:bfdv1</type>
>      <name>DEFAULT</name> <bfd xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd">
>        <ip-sh xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-ip-sh">
>          <sessions>
>            <session>
>              <interface>et-0/0/0</interface>
>              <dest-addr>10.1.1.1</dest-addr>
>              <authentication>
>                <meticulous>true</meticulous>
>              </authentication>
>              <session-statistics>
>                <lost-packet-count
>                xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-stability">10</lost-packet-count>
>              </session-statistics>
>              <stability
>              xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-stability">true</stability>
>            </session>
>          </sessions>
>        </ip-sh>
>        <ip-mh xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-ip-mh">
>          <session-groups>
>            <session-group>
>              <source-addr>10.2.1.1</source-addr>
>              <dest-addr>10.1.1.1</dest-addr>
>              <authentication>
>                <meticulous>true</meticulous>
>              </authentication>
>              <rx-ttl>255</rx-ttl>
>              <sessions>
>                <session-statistics>
>                  <lost-packet-count
>                  xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-stability">10</lost-packet-count>
>                </session-statistics>
>              </sessions>
>              <stability
>              xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-stability">true</stability>
>            </session-group>
>          </session-groups>
>        </ip-mh>
>        <lag xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-lag">
>          <sessions>
>            <session>
>              <lag-name>ae0</lag-name>
>              <authentication>
>                <meticulous>true</meticulous>
>              </authentication>
>              <use-ipv4>true</use-ipv4>
>              <member-links>
>                <member-link>et-0/0/0</member-link>
>                <micro-bfd-ipv4>
>                  <session-statistics>
>                    <lost-packet-count
>                    xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-stability">10</lost-packet-count>
>                  </session-statistics>
>                </micro-bfd-ipv4>
>              </member-links>
>              <stability
>              xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-stability">true</stability>
>            </session>
>          </sessions>
>        </lag>
>        <mpls xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-mpls">
>          <session-groups>
>            <session-group>
>              <mpls-fec>10.0.0.0/24</mpls-fec>
>              <authentication>
>                <meticulous>true</meticulous>
>              </authentication>
>              <sessions>
>                <session-statistics>
>                  <lost-packet-count
>                  xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-stability">10</lost-packet-count>
>                </session-statistics>
>              </sessions>
>              <stability
>              xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-stability">true</stability>
>            </session-group>
>          </session-groups>
>        </mpls>
>      </bfd>
>    </control-plane-protocol>
>  </control-plane-protocols>
> </routing>
> 
> 
> 


Mahesh Jethanandani
mjethanandani@gmail.com