[yang-doctors] Re: YANG Doctor review for "A YANG Data Model and RADIUS Extension for Policy-based Network Access Control" - draft-ietf-opsawg-ucl-acl
Mahesh Jethanandani <mjethanandani@gmail.com> Fri, 30 January 2026 21:10 UTC
Return-Path: <mjethanandani@gmail.com>
X-Original-To: yang-doctors@mail2.ietf.org
Delivered-To: yang-doctors@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 96470AFBD077 for <yang-doctors@mail2.ietf.org>; Fri, 30 Jan 2026 13:10:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x_WYeTmUa8Uc for <yang-doctors@mail2.ietf.org>; Fri, 30 Jan 2026 13:10:24 -0800 (PST)
Received: from mail-dl1-x1242.google.com (mail-dl1-x1242.google.com [IPv6:2607:f8b0:4864:20::1242]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id BC4B0AFBD06C for <yang-doctors@ietf.org>; Fri, 30 Jan 2026 13:10:24 -0800 (PST)
Received: by mail-dl1-x1242.google.com with SMTP id a92af1059eb24-124a635476fso3886541c88.0 for <yang-doctors@ietf.org>; Fri, 30 Jan 2026 13:10:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769807423; x=1770412223; 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=vO7ZJ791RHxPlam4Yt+t4yiPETeoIlrwwv52PJG/Sh0=; b=Qb0RmXMiGH2XmllorHITN145VsE/eMF0YeHw/6WxvIybRb/7rco5TfyW61xSnH0tt8 SWDQe/4xupBdkiGXdxH60A+AOWqAjq9xS1O7R6LPQgd8XbyAaDAafZf30K1pmQmfVyJ4 zNwyf9QkPjDLmEMsTHJ7y7soJvpTk0xlwM8pDSL+pJTVLl0qFOWxk/J6UqTJN+Gbf+Ug NuxeMFuGUC4XsxMxxaIWmxtkMfAS9pcR5GKmVztsA/8e4CmboW5+IENdtYb/NIRd2ay/ shemOt0WdevzwnheZ0ZOPC0t+EFONq60LoN/oGLFmpiFRM3XrdtqAgjH6nwPcXP/iY9t 8LMA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769807423; x=1770412223; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vO7ZJ791RHxPlam4Yt+t4yiPETeoIlrwwv52PJG/Sh0=; b=bcF0PBF6/eHfwk0fDqCNl/Rofj8bGcHNrvSLUe74WMEt0S7XxDvhyksA48BZFaodm0 4RRo0bZtxRKSI1s9Bu8cpAvD1dPpmWN29g2FK2itWn1A5JuuZF92dgOGsEldt7bnwIBN rH5TUPI1lwwg02cHuEwMOjm5GyzxzzdZ1Bz4wtKtyXEqb/nYaiOqwtzkmdqjxAm6NydW aWKQBvYNVEtDBkgFPrhV7qOaO3GbTCJ8G/kA45Q5GDSUfTrhDSWFnrdF6cGcPcVzYD5g MDS77gK5gfZoGud5xjGyi2EOglxCl48p60tp2dX1h/0J7FW2WcQKNqHp91wYL5Y/xpRO mzOw==
X-Forwarded-Encrypted: i=1; AJvYcCVcG2wyUK7hZoM+2Y5Tqy+Ft7OfCJmchsW47p87Oa4Zilmep68lD8/jtRpmDk0Y637UXni3s0Kr+vuMvJ4=@ietf.org
X-Gm-Message-State: AOJu0YzGlxYHlvxWqCEnJL/Y+FfxmdUMVGSCSc96TIXBCWpixgK0DkHY EFHSLG493O+iOEoOEm/CFbeY0nMehpE5K8A/OVgwPi2nbMBaY8irE677
X-Gm-Gg: AZuq6aLBaAiMzZDCNV5PGr0DHpKFUC4UcxcWI2IQi/bEnT3E2xJR+WLzLnE767sKO0B SBheNeW6yNFtJmCRXGk7vhyHu3/YQ1wlqAB2aLdIsQGSMSwmbiU1FDlO2gkkUDHfvaU3lknh305 seLj9dVshzpG5Eni33YzkMcM2NnXfUoa4lV78oJk4uMxv3aGijldXhe1HvlJeavLsj+AMgqOX1D GDnYPDWI1AdzBHQ2SIE8f5pUiIq5tT21AjIPJAYxHzUUfi0wOZK8a6vG2B/nUU6oyVQMGpQT1jV 5JMA1jpxuSg0krbrqlkpk0Ctxa7UmmOacuCEeiM7rf5TSls+bBmDxw5+70hE3arOdujiyYM6aXU dLiYcGuILxqdLNZ1DgywFywcNLi3+shAzOWmYTyJiXtsFWN5l7qzJhN9JarSPOLkkIguTAKjT3a xZx/5qyvXzPKHHA7ogQn5fVpFUB1CgU5mXoXoz+i/jbla026jytjIwLD7ZduI2nWmSX/6FMFRfU w0Zvg==
X-Received: by 2002:a05:7022:6281:b0:11e:528:4185 with SMTP id a92af1059eb24-125c1006b39mr1860047c88.38.1769807423274; Fri, 30 Jan 2026 13:10:23 -0800 (PST)
Received: from smtpclient.apple (c-67-180-189-3.hsd1.ca.comcast.net. [67.180.189.3]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-124a9d7f597sm11610104c88.5.2026.01.30.13.10.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Jan 2026 13:10:22 -0800 (PST)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <6D6BEAEB-0690-4C27-94AF-07EF4A7FE80C@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_7C3E42F3-46BD-4CE8-89BB-F388E7EDA450"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.21\))
Date: Fri, 30 Jan 2026 13:10:14 -0800
In-Reply-To: <F324F2C8-0EC7-4530-A5D3-0F9954557FB9@gmail.com>
To: Acee Lindem <acee.ietf@gmail.com>
References: <7F072003-455F-4C12-BC1A-184D59BBE8AD@gmail.com> <d41b29595f0b4fb691d97f1f1b3d0ecb@huawei.com> <32E54FB1-A52F-4929-AE66-A3F78F098135@gmail.com> <9dbc3c537fd645b39a6b1c26bc3657ce@huawei.com> <AD7EEBC2-7A37-4867-A464-971E542AB215@gmail.com> <0E89E379-839A-412A-932A-CD8C433E222E@gmail.com> <F324F2C8-0EC7-4530-A5D3-0F9954557FB9@gmail.com>
X-Mailer: Apple Mail (2.3731.700.6.1.21)
Message-ID-Hash: UKFW4LMARPSTWPLTIQAJYPM6KSLZUT2V
X-Message-ID-Hash: UKFW4LMARPSTWPLTIQAJYPM6KSLZUT2V
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: Mohamed Boucadair <mohamed.boucadair@orange.com>, "draft-ietf-opsawg-ucl-acl@ietf.org" <draft-ietf-opsawg-ucl-acl@ietf.org>, YANG Doctors <yang-doctors@ietf.org>, "opsawg@ietf.org" <opsawg@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [yang-doctors] Re: YANG Doctor review for "A YANG Data Model and RADIUS Extension for Policy-based Network Access Control" - draft-ietf-opsawg-ucl-acl
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/0y8dKngz8BdiRDnpzKl-3zZo90E>
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>
> On Jan 30, 2026, at 12:45 PM, Acee Lindem <acee.ietf@gmail.com> wrote: > > Inline. > >> On Jan 30, 2026, at 3:08 PM, Mahesh Jethanandani <mjethanandani@gmail.com> wrote: >> >> Hi Acee/Qiufang, >> >>> On Jan 29, 2026, at 4:32 AM, Acee Lindem <acee.ietf@gmail.com> wrote: >>> >>> Hi Qiufang, >>> >>> >>> See inline. >>> >>>> On Jan 29, 2026, at 2:41 AM, maqiufang (A) <maqiufang1@huawei.com> wrote: >>>> >>>> Hi, Acee, >>>> >>>> Thanks for the follow-up, please see below inline with [Qiufang]. My co-authors may chime in if they wish. >>>> >>>>> I have one major concern with this document. The YANG model adds >>>>> generalized schedule-based ACEs, yet this is not reflected in the YANG >>>>> model name, draft title, or abstract. This should at least be in a >>>>> separate YANG model and possibly in a separate draft since it appears >>>>> to have been added as an afterthought and, IMO, it is much more >>>>> important than the group-based access control. >>>>> [Qiufang] Note that this is not an afterthought design, it is there when the draft was -00. We split the scheduling related definition into a separate I-D to define common groupings (see https://datatracker.ietf.org/doc/draft-ietf-netmod-schedule-yang/) based on the WG feedback. >>>>> I agree with you that the extension regarding scheduling is of great importance, it addresses the requirement of “when to take effect”, together with endpoint group based matching, which resolves the requirement of “for whom to take effect”, they both constitutes the data model, separating them could fragment the policy model. Hopefully this clarifies the intention. >>>>> To enhance the visibility of the scheduling feature, we have updated both the abstract and introduction sections to reflect it explicitly. >>>> >>>> Will you also have a separate YANG model? For example, ietf-acl-ace-sched.yang? >>>> [Qiufang] As clarified, creating a separate model might introduce unnecessary fragmentation. Note we already use if-feature to make each augment conditional ("match-on-group" feature for endpoint group based augmentation and "schedule" feature for date and time based ACLs), this allows the potential for reuse that a separate model could provide, especially for implementations that wants to support time-based ACLs without the complexity of endpoint group matching. Thanks. >>> >>> I think quite the contrary. Hiding this important capability with a feature into a model relating to RADIUS authentication is just wrong. >>> This model will need to be imported just to get the scheduled ACE functionality. I'd like to hear what Med (Co-author) and >>> Majesh have to say about this. >> >> I am not sure if this is directed to me, as I am not Majesh :-) > > That is Mahesh in Español... Ha ha! > > >> >> The core offering of the draft is a policy-based network access control. As part of that offering, there is as you note Acce, a *capability* of being able to schedule that policy. That capability is much like the rest of the capabilities in the module, e.g., mapping of a user group to set of IP/MAC addresses. Rather than listing every capability in the Abstract, how about this as a suggested change? > > Who is Acce? 😎 🤪 > >> >> Abstract: >> >> The abstract anyway needs to be short and succint. It could therefore drop the second paragraph and just say: >> >> "This document defines a YANG data model for policy-based network access control, which provides enforcement of network access control policies based on group identity.” >> >> and then in the Introduction, where one normally starts describing the module in detail could add a sentence, (which BTW, appears later in the draft). Specifically, in the Introduction section, the paragraph that starts with “Specifically in scenarios …”, could see an addition of the following sentence at the end. >> >> “Finally, it enables access control policy activation based on date and time conditions.' > I was also thinking the scheduling should have its own YANG module, e.g., ietf-acl-sched.yang, that could be imported separately since this is more significant the the extension for authentication. You will notice that large parts of the scheduling portion of the module is an import of groupings from "ietf-schedule” data model which is already a separate module defined in draft-ietf-netmod-schedule-yang. <https://datatracker.ietf.org/doc/html/draft-ietf-netmod-schedule-yang-10> Cheers. > > Thanks, > Acee > > > > >> >> Cheers. >> >>> >>>> >>>> >>>> >>>>> >>>>> 5. How did you decide on 64 octets for the group identifier string >>>>> maximum? >>>>> [Qiufang] As specified in the YANG module, the “group-id” is defined as a string type with a length constraint of "1..64". This is to align with that. >>>> >>>> Right - I'm asking how you came up with 64 octets as a limit? >>>> [Qiufang] sorry for misunderstanding. 64 is not arbitrary, see https://www.rfc-editor.org/rfc/rfc7950.html#section-6.2: "Implementations MUST support identifiers up to 64 characters in length and MAY support longer identifiers." >>>> And also https://datatracker.ietf.org/doc/html/draft-ietf-netmod-rfc8407bis-28#section-4.3: "All YANG identifiers in published modules MUST be between 1 and 64 characters in length." >>> >>> The references you cite are relating to YANG model identifiers, e.g, "group-id", NOT the length of >>> the value of a YANG type string leaf. >>> >>> >>>> >>>>> >>>>> 6. In section 6, I would have expected the attribute to be the first >>>>> column in table 4. >>>>> [Qiufang] Review of RADIUS-related RFCs (e.g., RFC 8044, RFC 2865) reveals no mandatory requirement that the attribute column be placed as the first column in the table. Since the table focuses solely on the single attribute "User-Access-Group-ID"—with no need to distinguish between multiple attributes—placing the attribute column last does not obscure the key information. >>>>> There are also some input received from RADEXT WG, see some previous discussion at : https://mailarchive.ietf.org/arch/msg/opsawg/EWuvlu623PgapTPSB4s8LM6lc5M/. >>>> >>>> But English is normally left-to-right and one would expect the attribute to be in the first column. >>>> [Qiufang] Thanks, Acee. I don’t really have a strong feeling regarding this. While I checked some existing RFCs that register the RADIUS attribute type from "Radius Attribute Types", it seems that most of the RFCs put the attribute as the last column, e.g., https://datatracker.ietf.org/doc/html/rfc5176#section-3.6, https://datatracker.ietf.org/doc/html/rfc8658#Table3, https://datatracker.ietf.org/doc/html/rfc5090#section-5, and https://datatracker.ietf.org/doc/html/rfc9445#table-1, perhaps aligning with existing RFCs would help improve consistency? >>> >>> Ok, You can leave it if there are other places where it is backwards. >>> >>> THanks, >>> Acee >>> >>> >>>> >>>> Best Regards, >>>> Qiufang >>>> >>> >> >> >> Mahesh Jethanandani >> mjethanandani@gmail.com Mahesh Jethanandani mjethanandani@gmail.com
- [yang-doctors] YANG Doctor review for "A YANG Dat… Acee Lindem
- [yang-doctors] Re: YANG Doctor review for "A YANG… maqiufang (A)
- [yang-doctors] Re: YANG Doctor review for "A YANG… Acee Lindem
- [yang-doctors] Re: YANG Doctor review for "A YANG… maqiufang (A)
- [yang-doctors] Re: YANG Doctor review for "A YANG… Acee Lindem
- [yang-doctors] Re: YANG Doctor review for "A YANG… Mahesh Jethanandani
- [yang-doctors] Re: YANG Doctor review for "A YANG… Acee Lindem
- [yang-doctors] Re: YANG Doctor review for "A YANG… Mahesh Jethanandani
- [yang-doctors] Re: YANG Doctor review for "A YANG… Acee Lindem
- [yang-doctors] Re: YANG Doctor review for "A YANG… Mahesh Jethanandani
- [yang-doctors] Re: YANG Doctor review for "A YANG… maqiufang (A)
- [yang-doctors] Re: YANG Doctor review for "A YANG… Acee Lindem