[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
"maqiufang (A)" <maqiufang1@huawei.com> Thu, 29 January 2026 07:41 UTC
Return-Path: <maqiufang1@huawei.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 75155AEBBCE6; Wed, 28 Jan 2026 23:41:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -4.196
X-Spam-Level:
X-Spam-Status: No, score=-4.196 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 RBMWy2DWBHAU; Wed, 28 Jan 2026 23:41:41 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 1D32CAEBBCE0; Wed, 28 Jan 2026 23:41:41 -0800 (PST)
Received: from mail.maildlp.com (unknown [172.18.224.107]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4f1rfV2Mb4zHnGfF; Thu, 29 Jan 2026 15:40:50 +0800 (CST)
Received: from kwepemh500011.china.huawei.com (unknown [7.202.181.142]) by mail.maildlp.com (Postfix) with ESMTPS id 3973940571; Thu, 29 Jan 2026 15:41:39 +0800 (CST)
Received: from kwepemk200007.china.huawei.com (7.202.194.73) by kwepemh500011.china.huawei.com (7.202.181.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 29 Jan 2026 15:41:38 +0800
Received: from kwepemk200009.china.huawei.com (7.202.194.75) by kwepemk200007.china.huawei.com (7.202.194.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 29 Jan 2026 15:41:38 +0800
Received: from kwepemk200009.china.huawei.com ([7.202.194.75]) by kwepemk200009.china.huawei.com ([7.202.194.75]) with mapi id 15.02.1544.011; Thu, 29 Jan 2026 15:41:38 +0800
From: "maqiufang (A)" <maqiufang1@huawei.com>
To: "acee.ietf@gmail.com" <acee.ietf@gmail.com>
Thread-Topic: [yang-doctors] YANG Doctor review for "A YANG Data Model and RADIUS Extension for Policy-based Network Access Control" - draft-ietf-opsawg-ucl-acl
Thread-Index: AQHcjxa9hFCyt/UEyk+/JhAUKrYIbrVnR1hw//+tQ4CAAb00kA==
Date: Thu, 29 Jan 2026 07:41:38 +0000
Message-ID: <9dbc3c537fd645b39a6b1c26bc3657ce@huawei.com>
References: <7F072003-455F-4C12-BC1A-184D59BBE8AD@gmail.com> <d41b29595f0b4fb691d97f1f1b3d0ecb@huawei.com> <32E54FB1-A52F-4929-AE66-A3F78F098135@gmail.com>
In-Reply-To: <32E54FB1-A52F-4929-AE66-A3F78F098135@gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.128.118]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Message-ID-Hash: GDZRJUXMCAB4B2IS45OA5H3QKKCMV6CJ
X-Message-ID-Hash: GDZRJUXMCAB4B2IS45OA5H3QKKCMV6CJ
X-MailFrom: maqiufang1@huawei.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: "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/KUYQEd3E1W1xt9ZtTpPxj8QmMWU>
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, 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. > > 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." > > 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? Best Regards, Qiufang
- [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