[netconf] Re: Default statements on udp-client-server groupings

Qin Wu <bill.wu@huawei.com> Tue, 10 September 2024 09:29 UTC

Return-Path: <bill.wu@huawei.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 58B75C151980; Tue, 10 Sep 2024 02:29:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.206
X-Spam-Level:
X-Spam-Status: No, score=-4.206 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 RevXr70n8wvg; Tue, 10 Sep 2024 02:29:09 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54A9FC151548; Tue, 10 Sep 2024 02:29:09 -0700 (PDT)
Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4X2ywR719jz6K9jY; Tue, 10 Sep 2024 17:25:11 +0800 (CST)
Received: from lhrpeml100001.china.huawei.com (unknown [7.191.160.183]) by mail.maildlp.com (Postfix) with ESMTPS id 0F835140CB9; Tue, 10 Sep 2024 17:29:07 +0800 (CST)
Received: from kwepemg100004.china.huawei.com (7.202.181.21) by lhrpeml100001.china.huawei.com (7.191.160.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 10 Sep 2024 10:29:06 +0100
Received: from kwepemg100006.china.huawei.com (7.202.181.24) by kwepemg100004.china.huawei.com (7.202.181.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 10 Sep 2024 17:29:04 +0800
Received: from kwepemg100006.china.huawei.com ([7.202.181.24]) by kwepemg100006.china.huawei.com ([7.202.181.24]) with mapi id 15.02.1544.011; Tue, 10 Sep 2024 17:29:04 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Alex Huang Feng <alex.huang-feng@insa-lyon.fr>, Netconf <netconf@ietf.org>
Thread-Topic: [netconf] Default statements on udp-client-server groupings
Thread-Index: AdsDY6M+UW2eWXKxA06ds01m3layMA==
Date: Tue, 10 Sep 2024 09:29:04 +0000
Message-ID: <87189ab4b2ca4cd7b0ad6244879bfbcc@huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.118.68]
Content-Type: multipart/alternative; boundary="_000_87189ab4b2ca4cd7b0ad6244879bfbcchuaweicom_"
MIME-Version: 1.0
Message-ID-Hash: TGLTQH3O2SGTIQT2UB7GEQOP7PDK6S7P
X-Message-ID-Hash: TGLTQH3O2SGTIQT2UB7GEQOP7PDK6S7P
X-MailFrom: bill.wu@huawei.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netconf.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "draft-ietf-netconf-udp-client-server.authors@ietf.org" <draft-ietf-netconf-udp-client-server.authors@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [netconf] Re: Default statements on udp-client-server groupings
List-Id: NETCONF WG list <netconf.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/TIQCY6CPtUClyFHUTGffKzZfK8U>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Owner: <mailto:netconf-owner@ietf.org>
List-Post: <mailto:netconf@ietf.org>
List-Subscribe: <mailto:netconf-join@ietf.org>
List-Unsubscribe: <mailto:netconf-leave@ietf.org>

I tend to agree with this exception is reasonable to udp.

-Qin
发件人: Alex Huang Feng [mailto:alex.huang-feng@insa-lyon.fr]
发送时间: 2024年9月9日 23:19
收件人: Netconf <netconf@ietf.org>
抄送: draft-ietf-netconf-udp-client-server.authors@ietf.org
主题: [netconf] Default statements on udp-client-server groupings

Dear NETCONF,

I would like to follow up on the discussions from the NETCONF WG meeting regarding the udp-client-server grouping draft (https://datatracker.ietf.org/doc/html/draft-ietf-netconf-udp-client-server-03)
There is one last remaining issue that I’d like feedback from the WG before asking for WGLC.

On the last iteration of the draft (draft-ietf-netconf-udp-client-server-03), I removed the default statement from the port leaves. The default statement was present in both client and server ports leaves (local and remote).
See the diff between -02 and -03 here: https://author-tools.ietf.org/iddiff?url1=draft-ietf-netconf-udp-client-server-02&url2=draft-ietf-netconf-udp-client-server-03&difftype=--html

The reasons are the followings:
- When there is a default statement in the grouping and a user “uses” this grouping, the user is obligated to refine this default port with another valid port. For protocols (and users) that do not need a default port, they are still obligated to refine this default port if they want to use this grouping. YANG does not allow to remove the default statement (https://datatracker.ietf.org/doc/html/rfc7950#section-7.13.2) when a YANG module uses a grouping.
- The groupings defined in this draft are generic and it is my understanding that having this default statement would prevent some use cases (Note the feedback from Med: https://mailarchive.ietf.org/arch/msg/netconf/j-2Hh6PO-QcHZetZ0ebujxsVLL0/)
- As a first user of the udp-client grouping, I am already encountering this problem. I am using this grouping in the UDP-Notif YANG model, in which I don’t need to define a default port for the protocol.

Of course, removing this port presents its disadvantages:
- By removing this default statement, the udp-groupings are not consistent anymore with the tcp-client-server-groupings. In tcp-client-server groupings, the default statement is present in both the ports of the client and server.

Thus, I would like to hear more feedback from the list on whether this default statement needs to be present in the port leaves or not.
My preference (and from the list, I would also say Med agrees) is that this default statement should not be present to provide a reusable grouping for a larger group of use cases.

Regards,
Alex