Re: [yang-doctors] Yangdoctors last call review of draft-ietf-ospf-sr-yang-28

Acee Lindem <acee.ietf@gmail.com> Wed, 17 January 2024 17:43 UTC

Return-Path: <acee.ietf@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 60A3CC1654EF; Wed, 17 Jan 2024 09:43:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 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, 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 lCltT1nnbHvX; Wed, 17 Jan 2024 09:43:32 -0800 (PST)
Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 65F39C15792A; Wed, 17 Jan 2024 09:42:46 -0800 (PST)
Received: by mail-io1-xd33.google.com with SMTP id ca18e2360f4ac-7bee8858a8aso267122839f.0; Wed, 17 Jan 2024 09:42:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705513365; x=1706118165; darn=ietf.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FhCdhKbTXYpRKhvIaq2OO2XQUcySt7IsgDH1r9kk1sQ=; b=jQUtWFTLs7RqgdrjrLk0RP49HUO9RAurEHPGdVA9UzGWKJHIOxLnHHyr3bbtl/vo8x Lq4sJc9Q7TEVbfeqQhfsvLEzKniXv+Dj3sMrGiEbLg5QsPE1r2Rz9aGzMlZ3zc9dbccT qpZNczeXwHH1osx+ny9od8akzawqOnPVB78bjpdnggRtxRatJxogtzMDL81Ac7qG9XM4 5TqvQIH6cmD81uALb2NJGN7rdbFUw2/slESt5WeWqab7S+JBWBhwRA3oF3kToowB7KRd Hq9myEY8wGWkqRaSXf4zJYQQt/USz2M5gxxMgWbKvfHoW6aI8vbnPXdy4aA6B2+2u2V7 dyPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705513365; x=1706118165; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FhCdhKbTXYpRKhvIaq2OO2XQUcySt7IsgDH1r9kk1sQ=; b=Pn0KackNZyK3RnRgBR/6vVLakX9DHpD1pwjl6T53XXEYLJrU2yIuaxCbP1+lLYgYKj uroG+DHxdFEdakmZkF03Mgr6oUvMo452XD8tW2RTeFvlLwEtz926yp5naYuzoPSdr1Wu PlTu5kJ6PKzE3SlZKe+N8beUr8JmT3SLqWq2haLhHrBeu8Hut3dBy3ivD6zzN9jaUA5M NcmGg01CN+6/rBjhfvA9xs5T0BdEIbtXRHqv+wcep217xPv/DorWTEikgaRMdTM7VWuW +oM8c+hGw/ERl0Z9Pm+9R9TG1A5KBxb8nYjH6/Y+mpCC9i61AVIRwe7AgPPNKQFYRn57 8atg==
X-Gm-Message-State: AOJu0YwMZ+MzUuNrj56mAQvQD1E9tXa3rEVshzLZOcQ8ygCG+tUYboGu pU9dgEmFBwIHvPLgpRV0Q3IPSSTlgiM=
X-Google-Smtp-Source: AGHT+IH5WHalRhz0Aijtv5Jh7EG8u64n/PwGhjNXDWT1IoUE4BXZn7dA96QGahHi9EwNiy7V4qTrkA==
X-Received: by 2002:a5e:9404:0:b0:7bf:5f8e:fbba with SMTP id q4-20020a5e9404000000b007bf5f8efbbamr2778737ioj.29.1705513365532; Wed, 17 Jan 2024 09:42:45 -0800 (PST)
Received: from smtpclient.apple ([136.54.28.118]) by smtp.gmail.com with ESMTPSA id t4-20020a02ab84000000b0046ceccc798asm514303jan.6.2024.01.17.09.42.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2024 09:42:45 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\))
From: Acee Lindem <acee.ietf@gmail.com>
In-Reply-To: <170517785527.58459.14481518553879372449@ietfa.amsl.com>
Date: Wed, 17 Jan 2024 12:42:34 -0500
Cc: YANG Doctors <yang-doctors@ietf.org>, draft-ietf-ospf-sr-yang.all@ietf.org, Last Call <last-call@ietf.org>, lsr@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <DB293AE5-D72E-4201-864A-8B755552E113@gmail.com>
References: <170517785527.58459.14481518553879372449@ietfa.amsl.com>
To: Reshad Rahman <reshad@yahoo.com>
X-Mailer: Apple Mail (2.3774.300.61.1.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/DvcRJcPn0ZMFeY2Qkhpnsx2eM3c>
Subject: Re: [yang-doctors] Yangdoctors last call review of draft-ietf-ospf-sr-yang-28
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
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: Wed, 17 Jan 2024 17:43:36 -0000

Hi Reshad, 

Thanks for the follow-up review. 

> On Jan 13, 2024, at 15:30, Reshad Rahman via Datatracker <noreply@ietf.org> wrote:
> 
> Reviewer: Reshad Rahman
> Review result: Ready with Issues
> 
> Hi all,
> 
> This is my YANG Doctor review of -28, I had previously reviewed -20. Thanks to
> the authors for addressing my previous comments. There is 1 comment in my
> initial review which concerns RFC9020, I am not convinced yet and may send
> another email (or errata).
> 
> Comments
> ========
> 
> Should the title explicitly call out OSPFv2 and OSPFv3? The reason I’m asking
> is because OSPF may imply v2 only, e.g. RFC8665 says “OSPF Extensions for
> Segment Routing”  but then the abstract says OSPFv2.

While we haven’t been consistent, the base model (RFC 9129) uses simply OSPF to refer to both OSPFv2 and OSPFv3. 


> 
> Section 2. “OSPF base model[RFC9129]”, nit: add a space before the reference

Sure. 


> 
> In the following, can there be overlaps? If not, this should be documented
> (ideally should have been documented in RFC9020)
> 
>          +--rw srgb
>          |  +--rw srgb* [lower-bound upper-bound]
>          |     +--rw lower-bound    uint32
>          |     +--rw upper-bound    uint32

No overlaps but we this is a RFC 9020 issue. 


> 
> Section 2.1 (the YANG module)
> 
> - In grouping ospfv2-prefix-sid-sub-tlvs, leaf-list flags should have a
> reference? Same for v3.

I have a reference at the grouping level. It doesn’t change for the flags. I’m hesitant to repeat it. 



> 
> - The grouping ospfv2-extended-prefix-range-tlvs has an ‘af’ address family
> leaf which is a uint8, why not use address-family from RFC8294 with the
> appropriate restrictions. But since this is OSPFv2 specific, is address family
> still needed? For v3, I believe the af leaf is needed, although I’d rename it
> to address-family and would use address-family enum from RFC8294.

I’ll use the enum from RFC 8294. It shouldn’t be omitted for OSPFv2 since it is included in the ecodings. 


> 
> - The grouping ospfv2-extended-prefix-range-tlvs: should there be a range for
> prefix-length? Same question, but but different range needed, for OSPFv3.

No - this is not supported. I was never a big fan of the range functionality in the IGPs. 

> 
> - In list local-block-tlv, description of leaf range-size has “…The return of a
> zero value”. Nit: change to “A value of zero…”

Sure. 

> 
> - In container srms-preference-tlv, leaf preference. Nit: “with with 255”.

Fixed. 

> 
> - Should leaf neighbor-id be mandatory? If not, what happens when it’s not set,
> does it need a default value? I believe the description needs to indicate what
> happens when it is set or not set.

If you specify an unknown neighbor-id including invalid ID, it won’t be used. Specification is
optional.


> 
> - In ti-lfa container: the enable flag is not mandatory and does not have a
> default value, you should add a default value or make it mandatory. Other
> choice is a presence container.

Ok - I defaulted it to false like the other LFA features in ietf-ospf.yang. I also changed it to “enabled”
Consistent with ietf-ospf.yang.  


> 
> - In the selection-tie-breakers container, can both tie-breakers be enabled
> simultaneously?

Yes. I’ve updated the description to indicate this but am not going to attempt to describe the
TI-LFA selection algorithm in the description. 



> 
> - For leaf use-segment-routing-path, the description has “…is in effect only
> when remote-lfa is enabled”. I did not see any remote-lfa leaf node, not sure
> if this is referring to a feature. I think the description needs to be modified
> and a reference would be very helpful here.

The reference would be the base mode container which this is augmenting. I don’t know that
adding a reference makes sense unless you’re going to add a reference to every augmentation.

> 
> Appendix A. There is only 1 (simple) example and it covers v2 only. Please add
> a v3 example also, ideally with more config data than the current example e.g.
> with the neighbor-id (since that augment is in this document). Having an
> operational state example for OSPFv2 and OSPFv3 would also really be helpful. I
> realize examples can be painful...

We’ll take this under advisement but it won’t be -29. Examples are easier if you have implementations. 

Thanks,
Acee




> 
> Regards,
> 
> Reshad.
> 
> 
>