[Teas] Re: [Lsr] Re: draft-ietf-teas-yang-topology-filter-02 early Yangdoctors review

Vishnu Pavan Beeram <vishnupavan@gmail.com> Mon, 02 November 2026 01:28 UTC

Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id C4C304B for <teas@ietf.org>; Mon, 02 Nov 2026 01:28:45 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=gmail.com header.s=20260707 header.b=Ed5Wmvqz; spf=pass (mx.ietf.org: domain of vishnupavan@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) smtp.mailfrom=vishnupavan@gmail.com; dmarc=pass (policy=none) header.from=gmail.com; arc=pass ("google.com:s=arc-20260327:i=1")
Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-5bcb0f245e0so2332606e87.3 for <teas@ietf.org>; Sun, 01 Nov 2026 17:28:45 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1793582924; cv=none; d=google.com; s=arc-20260327; b=ck+qkadpub2ieeMEH0uNksPOrdMFsLhwZiw0BbTQ6va47F+kelhw4FB9ht+9NF+42t NkMVSG1XUwbn0ryC7f6vAPX6e8tZqbqiaaTZJnBMaOFer9bgzy2P1UFAtZjETQvczsEY zs+1nQpoy8qTRbrhmtUyDUIrNThR8hSJAf2TBpYUPBxBsdctFkaV1e21iSDL+cbtFaIg HRlKFntEdh2VjqtY5gbroLXhBRLy9PT2TegPfrvwZU/BUTKx4YUk0wMX97ohxVeTHF4K Vbs0vtjBKXIVFRStl08LQRqy5TSPbjPmXVblQe9KljmQFrGCioQ/cv2teAoEdiZ+1OWJ fx0g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=sXpegc9YiSx3nvVi9WfBGet/NfXY7VurVDUzw6mxTsI=; fh=LNqV1a3zV1J9q5KcGypikRFr2HSwVpdRbsK37sQYgFM=; b=DIrKeuZFdtkpPwHY7fmgTXzNBMxrCsTthGywH77xw7AqvnIRVmHURRQlbCJavpEZGU 8kjRuiMXl62qC0GtyoXciMD4WW76FUlud6ZFTVK9B4y4L5gALuaC+1Ks1ZLKFg2Qw+Xd 6Oisg2QOZxvvb1YRGp1H3sQ5poGCoco+JFpAolSXk3jPgEhQ4nczwBrZxknX+8oQNjv0 je41QlAjK2J0lVcZlwDO00/5BoyfsoF7ttAxIgeO4NNAy2KU5Y1dNg5nEVJXFp5EdWCr SizVg2nUsM629NkQXOO6bUh3z1zETv7xDUy0/rZLxcoQaKxbrGttsgGQS+30aijEiTXd QoEA==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1793582924; x=1794187724; darn=ietf.org; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=sXpegc9YiSx3nvVi9WfBGet/NfXY7VurVDUzw6mxTsI=; b=Ed5WmvqzUHmiWWd3WY3gaLC55yQfhZW4vLcLjj7c9iZeMvEp0GdnCdNfr4xfXzrS8o gFoCcnDaYKNlj5Ul3UMKD6Jb2BGthYcowQItbp51jBVL5pLhS/k8PBcRjXLUaf4wEbEQ kCwNct+C9+LPf8IYXcjdxT6yKA6qooSRsMwDhg3ZxuJFSbIeRti04vem8R9EofSmWLXp Kg+t5mLNapnMDbgVluFgsdnUpmEE1ogE4Bz+sNpT4vS0V6tQFohyrpGGKdIHJmamR9kn XG2ergBnYx14fXbMNYlJV9rnNMeAqYjK5M2AIFr2eibWJSmTYeZNgfdm6lG+KdZVN/Vp qlBw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793582924; x=1794187724; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=sXpegc9YiSx3nvVi9WfBGet/NfXY7VurVDUzw6mxTsI=; b=UnGO1UtOI0QBjhKWR2UG7eN1wzx69VP/NAkRvKRor/FBmQ5Gx4FIS2UNu+h8k3iWq8 0N+L8DJVGi638JrYfsO8XvWA0BO+2eR+t2FhwKPylQUYL5ukr6uVSqmEXAz7Hk6GT/xk ELTDQha8cjWi7OD3w4vesI7aYf9gHBzCcxXaW5FtsP5gTdjDb6zmFEKuiwtoW+DgHXiA 6ICmK7zIfJyMFYM3djwJMgr5xeKTvin/67LqsGk8/31ByLTovzqcCma91tZDqXTTfgvY zO0w+7ZeFQj/5mnTkFUrPbC+Y2n6563RVJ/vwhK+DvRCZESiPK2ONs3D972TnFIjr5T/ v8Iw==
X-Forwarded-Encrypted: i=1; AKwUvBx4LPELJXZUzxt011rumiBHrSefMUMKFyP+69rb7T937ofd2CRl0L90cdqTPi5vfp97T7AI@ietf.org
X-Gm-Message-State: APuU4Z8r0JeXGKGEijJuq7fHeFMQ3DFQ0azMSeBh6xX7xy5fav2UT2Ss DSZ5OptHQ+Tn10dWBTymBulxtu3YLql75TmS57iNJjXaBPmVxaA6Kmj5Unh6Lqn9wmDFxR+S7SF ohXkvY/+DaAxXWO5LV8Fe7bsoW/71SXQ=
X-Gm-Gg: AYBFou35L65SApHWxiBtw2f8HwPOl7qdQJiuORmDTCOOnOhknc4HivPGIeRR3KvUIih pMgJYtMlIJdWSVhisp+Ia3f+ZS95jasngl3vfdMxhJl7oJfy9NnzvyJ/cueeWZXXUjubs5p2hKy nXD8xrCyltxHXyi1nCf3zUnuan1O7imusXMoJgavUlBNh09Li8kA57vN5ald/shVY1iRgirI10y DljNt0SgGM7xlFTq37J42xoZioNXWt+PtttlOadwbh/zCBryyNOk0Rxi98UlfP/VyefeIICXF8t UX7E9AdirGHiM83oMoyIJ2ddCw4Cl6uIDG1wPBSy5Dm3JQ07LqW83vMyrhXD5tY+fDL6qVUUOb8 CCauJ+BFisOntHn2lkRtOGzjH65fRY2Yi3TqEPEjWp9IlN1DBngowfVCXL1g9ihgjb4N171LAhP EcJgVpTuAAf3iVG6s=
X-Received: by 2002:a05:6512:3996:b0:5be:3444:57f1 with SMTP id 2adb3069b0e04-5bfd9585042mr2959532e87.63.1793582924020; Sun, 01 Nov 2026 17:28:44 -0800 (PST)
MIME-Version: 1.0
References: <177561776845.1229268.18022717393811342192@dt-datatracker-9dc8fdd9f-qcdj9> <CA+YzgTszzJ-0HopDVqQNvbNYybUiGu_Vfu4NwSwoo8mJO++R0Q@mail.gmail.com> <723587596.1470658.1789010454464@mail.yahoo.com>
In-Reply-To: <723587596.1470658.1789010454464@mail.yahoo.com>
From: Vishnu Pavan Beeram <vishnupavan@gmail.com>
Date: Sun, 01 Nov 2026 17:28:31 -0800
X-Gm-Features: AclHuK_iMvTbJFjFQKcvQ0jLyRNkz90zuduvOgPWl2MtjqFiGnoBtLzuaJoO3e4
Message-ID: <CA+YzgTvV7=PqzP3vY9wZHze3scBmmaAx6nAZbdpAkCx9jpcKQw@mail.gmail.com>
To: Reshad Rahman <reshad@yahoo.com>
Content-Type: multipart/alternative; boundary="0000000000000fc2d4065f4111e4"
X-Spamd-Bar: ---------------------------
Message-ID-Hash: ECNCYYVNPEIU3UUSQJ52FMGSVHVMGWWP
X-Message-ID-Hash: ECNCYYVNPEIU3UUSQJ52FMGSVHVMGWWP
X-MailFrom: vishnupavan@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-teas.ietf.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "draft-ietf-teas-yang-topology-filter.all@ietf.org" <draft-ietf-teas-yang-topology-filter.all@ietf.org>, "teas@ietf.org" <teas@ietf.org>, "lsr@ietf.org" <lsr@ietf.org>
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [Teas] Re: [Lsr] Re: draft-ietf-teas-yang-topology-filter-02 early Yangdoctors review
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <teas.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/lRDuBpfHyFEEZ0ORvbxA3cMISrA>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teas>
List-Help: <mailto:teas-request@ietf.org?subject=help>
List-Owner: <mailto:teas-owner@ietf.org>
List-Post: <mailto:teas@ietf.org>
List-Subscribe: <mailto:teas-join@ietf.org>
List-Unsubscribe: <mailto:teas-leave@ietf.org>

Hi Reshad,

Thanks for confirming the -03 changes, and for the follow-up on the
typedefs. We have posted -04, which addresses your remaining points:
https://datatracker.ietf.org/doc/html/draft-ietf-teas-yang-topology-filter-04

On igp-protocol: you are right that it duplicated an existing type. The
module already uses te-info-source from RFC 8795 for source-id in the
info-source lists, and igp-protocol mirrored its OSPFv2, OSPFv3 and IS-IS
values. In -04 we removed igp-protocol, and protocol-id is now
tet:te-info-source restricted to ospfv2, ospfv3 and isis (a YANG 1.1
enumeration restriction). That reuses an existing TEAS type, keeps the
instance encoding unchanged, and leaves no typedef to relocate. It also
avoids importing the OSPF and IS-IS modules. Please let us know if this
addresses your concern.

On the groupings and common definitions: we agree in principle, and will
move them if a suitable common module emerges.

-04 also has some housekeeping (module revision date and copyright year,
IANA section aligned with the RFC 9907 template, updated references and a
few clarified descriptions).

Thanks again for the thorough review.

Regards,
Pavan (on behalf of the authors)

On Wed, Sep 9, 2026 at 8:20 PM Reshad Rahman <reshad@yahoo.com> wrote:

> Hi Pavan, authors,
>
> My turn to apologize for the delay in responding.
>
> Thank you for addressing those comments and I am good with the changes
> made.
>
> Regarding a more central location for the typedefs: reusability of
> typedefs, groupings etc is important and having everything in 1 module can
> be problematic because the full schema is imported e.g. see
> https://mailarchive.ietf.org/arch/msg/idr/EdZkFf-ZI4CEkNniyDQgRo9CGrc/
> Also why not reuse existing identities for ospfv2, ospfv3 and isis (based
> on rt:routing-protocol) instead of having a new typedef/enum for the IGP
> protocol? Is it because you don't want to import the OSPF and ISIS modules?
> This might be a (non-ideal) way around it:
>
> leaf protocol-id {
>   type identityref {
>     base rt:routing-protocol;
>   }
>   description
>     "IGP protocol type. Implementations SHOULD support
>      ospfv2, ospfv3, and isis. Other routing protocol
>      types are outside the scope of this module.";
> }
>
> Regards,
> Reshad.
>
> On Sunday, July 5, 2026 at 11:23:33 PM EDT, Vishnu Pavan Beeram <
> vishnupavan@gmail.com> wrote:
>
>
> Hi Reshad,
>
> Apologies for the delayed response. Thank you for your thorough review of
> draft-ietf-teas-yang-topology-filter-02. We have posted -03 which addresses
> your comments. Here is a summary of the changes:
>
>
> *Security Considerations (your comment on RFC 9907):*
>
>    - Rewrote the Security Considerations section using the template from
>    RFC 9907 Section 3.7.1, including secure transport (SSH, TLS, QUIC), mutual
>    authentication, and NACM references.
>    - Added RFC 9907 as an informative reference.
>
> *Defining igp-domain-identifier leaves (your comments on instance-id,
> division-id, algo-id, mt-id):*
>
>    - Added narrative text in Section 2.1.1 (Topology Reference) defining
>    each leaf in the igp-domain-identifier container.
>    - instance-id: Defined as the IGP protocol instance identifier, noting
>    that multiple instances of the same IGP protocol can coexist on a network
>    element.
>    - division-id: Defined with protocol-specific semantics — OSPF Area ID
>    or IS-IS Level.
>    - algo-id: Renamed to algo-number for consistency with
>    draft-ietf-lsr-isis-flex-algo-yang, as you suggested.
>    - mt-id: Added references to RFC 4915 (OSPF MT) and RFC 5120 (IS-IS
>    MT) in both the YANG module and the normative references. Kept the type as
>    uint16 to accommodate both OSPF (0-127) and IS-IS (0-4095) ranges.
>    - Improved YANG description statements for all of these leaves.
>
> *Wildcard/default semantics (your comment on absent optional leaves):*
>
>    - Added explicit text stating that absent leaves in
>    igp-domain-identifier are treated as wildcards and match any value.
>    - Added the same wildcard semantics for the te-topology-identifier
>    container.
>    - Added text specifying that absent or empty filter attributes
>    (leaf-lists or lists) in the include-any/include-all/exclude containers are
>    treated as wildcards.
>
>
> *Filtering semantics (your comment on include-any/include-all/exclude):*
>
>    - Added detailed definitions for the filtering semantics:
>       - include-any: OR within each attribute list, AND across attribute
>       lists.
>       - include-all: AND within each attribute list, AND across attribute
>       lists.
>       - exclude: OR within each attribute list, AND across attribute
>       lists. Matched elements are excluded.
>    - Across containers: AND operation — an element is included only if it
>    matches include-any AND include-all AND does not match exclude.
>    - Added a note explaining that OR across attribute lists can be
>    achieved by using multiple filters combined via a topology-filter-set
>    (union).
>    - Updated all three YANG container description statements to reflect
>    these semantics.
>
> *Conflicting entries (your comment on same entry in include and exclude):*
>
>    - The AND operation across containers ensures that exclude always
>    takes precedence — an element matching both an include container and the
>    exclude container will be excluded.
>
> *Usage examples (RFC 9907 Section 3.12):*
>
>    - Added Appendix A with three JSON encoding examples:
>    - ISIS Level-2 filter with include-any (link-affinity "RED").
>    - ISIS Flex-Algo 128 filter with exclude (link-affinity "BLUE").
>    - NRP filter with include-all (link-affinity "RED" + AS 65001) and
>    exclude (link-affinity "BLUE"), plus a topology-filter-set combining
>    multiple filters.
>
> *Common typedef placement (your comments on igp-protocol and common
> definitions):*
>
>    - We acknowledge your point. Ideally these would be in a more central
>    location, but for now they remain in this module. We are open to revisiting
>    this if a suitable common module emerges.
>
> *Other changes in -03:*
>
>    - Updated author/contributor affiliations.
>
> Please let us know if you have any further comments or concerns.
>
> *Note to the WG:* From the authors' perspective, we believe the document
> is ready for Working Group Last Call (WGLC). The -03 revision addresses all
> the comments raised in the early YangDoctors review, including the addition
> of precise filtering semantics, wildcard behavior definitions, improved
> YANG descriptions, RFC 9907 compliant security considerations, and usage
> examples. We request the chairs to consider initiating a WGLC.
>
> Regards,
> Pavan (on behalf of the authors)
>
> On Tue, Apr 7, 2026 at 8:10 PM Reshad Rahman via Datatracker <
> noreply@ietf.org> wrote:
>
> Document: draft-ietf-teas-yang-topology-filter
> Title: YANG Data Model for Topology Filter
> Reviewer: Reshad Rahman
> Review result: On the Right Track
>
> I've CCed the LSR mailing list since there are LSR related comments here.
>
> Here are what I believe are major issues with this document:
>
> - Guidelines from RFC9907 are not being followed. e.g. section 3.7.1
> (template
> text) 1st paragraph hasn't been used and RFC9907 etc is not an informative
> reference. Also no module usage examples (section 3.12).
>
> - What is an instance-id? There are no examples provided on what an
> information
> source instance is. A reference would also help.
>
> - division-id, currently can it only be an OSPF area or ISIS level?
>
> - algo-id, please provide a reference. Also in
> draft-ietf-lsr-isis-flex-algo-yang, it is called algo-number so I suggest
> to
> use the same name.
>
> - mt-id, please add a reference. Also in this doc it is a uint16, but in
> RFC9903 it is a uint8 with a range.
>
> - General comment: it's too bad that some of those "common definitions"
> weren't
> typedefed in a common YANG module.
>
> - Similarly, the igp-protocol typedef should ideally be in a more "central
> location" than in a TEAS topology-filter module.
>
> - Many (all?) values have no default and aren't mandatory. e.g. what
> happens if
> an igp-domain-identifier has no attributes set? Or even if some attributes
> are
> set, are the other attributes "wild carded"? Whether this is valid or not
> and
> (if it is) the expected behaviour have to be specified explicitly in the
> document.
>
> - I see no detailed description of what the include-any, include-all and
> exclude containers actually do.
>
> - What is the expected behaviour if a topology filter has the same
> link-name to
> node-prefix in include-any, include-all and exclude containers? If such
> config
> is invalid, it must be stated in the description.
>
>
>
> _______________________________________________
> Teas mailing list -- teas@ietf.org
> To unsubscribe send an email to teas-leave@ietf.org
>
> _______________________________________________
> Lsr mailing list -- lsr@ietf.org
> To unsubscribe send an email to lsr-leave@ietf.org
>