[netconf] Re: Default statements on udp-client-server groupings
Thomas.Graf@swisscom.com Tue, 10 September 2024 06:29 UTC
Return-Path: <Thomas.Graf@swisscom.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 0FFD1C1654EB; Mon, 9 Sep 2024 23:29:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=swisscom.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 JVWQgtONJNu9; Mon, 9 Sep 2024 23:29:41 -0700 (PDT)
Received: from mail.swisscom.com (mailout120.swisscom.com [138.188.166.120]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 75E84C14F6A1; Mon, 9 Sep 2024 23:29:39 -0700 (PDT)
Received: by mail.swisscom.com; Tue, 10 Sep 2024 08:29:36 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=swisscom.com; s=iscm; t=1725949777; bh=V02IYnHWzgpUmriNnTuRh1PSVKulRvAJfWr3jXcCuMo=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=Hn51dmweGi8mEUlxvokRxBiQj5gbVAznTHPc+6Aibu0gpbCSLuTCxhqcXwx53B6l0 ryAmaoHqbsoJmoDAoDTiqeIJsx9/26OnkuFm2xP5kUyG4vI2cNeyntZcqkYCHey2Pe 0ejYia/jqPrhMjR2f9AnFf3b6F+k2CkPDRj6t25x+LnQG2hYciNaZTYMgDFTv49Lzq MNPHj5jzv/IFDQuMyQfd4QR7vO8k91n8O9IBB8dyBRrpZJzJthGhT80c12MbQk1/bS YP071fhj/e9PNK7yk+0P45jmu+GtEhpo22hD69jnFloAWVEHWF1bds7PQV9VlqoNzA 2AECep+/T0wDw==
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="----=_Part_1063448_574112524.1725949776384"
X-Mailer: Totemo_TrustMail_(Notification)
From: Thomas.Graf@swisscom.com
To: alex.huang-feng@insa-lyon.fr, netconf@ietf.org
Thread-Topic: [netconf] Default statements on udp-client-server groupings
Thread-Index: AQHbAsvLFT9/XQb+RkCJE91DJG8VjrJQj77Q
Date: Tue, 10 Sep 2024 06:29:34 +0000
Message-ID: <54d222b11f0b4911ad577c6df9857b05@swisscom.com>
References: <EAA84133-F9D5-4380-994D-297993F13675@insa-lyon.fr>
In-Reply-To: <EAA84133-F9D5-4380-994D-297993F13675@insa-lyon.fr>
Accept-Language: en-US, de-CH
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ActionId=a4a1e5b0-a9ff-4f0f-a1f3-3b566cbe27a7;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ContentBits=0;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Enabled=true;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Method=Standard;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Name=C2 Internal;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SetDate=2024-09-10T06:28:36Z;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SiteId=364e5b87-c1c7-420d-9bee-c35d19b557a1;
x-originating-ip: [138.188.161.184]
X-CFilter-Loop: Reflected
X-Trustmail: processed
Message-ID-Hash: EBENOGFI3ZYN3CBPWEJCRVDJPSBSMEBW
X-Message-ID-Hash: EBENOGFI3ZYN3CBPWEJCRVDJPSBSMEBW
X-MailFrom: Thomas.Graf@swisscom.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
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/FPguf_jjjaPdEQ0fu83eAdP3db8>
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>
Dear Alex, * 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. I agree with your assessment. Best wishes Thomas From: Alex Huang Feng <alex.huang-feng@insa-lyon.fr> Sent: Monday, September 9, 2024 5:19 PM To: Netconf <netconf@ietf.org> Cc: draft-ietf-netconf-udp-client-server.authors@ietf.org Subject: [netconf] Default statements on udp-client-server groupings Be aware: This is an external email. 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
- [netconf] Default statements on udp-client-server… Alex Huang Feng
- [netconf] Re: Default statements on udp-client-se… Thomas.Graf
- [netconf] Re: Default statements on udp-client-se… mohamed.boucadair
- [netconf] Re: Default statements on udp-client-se… Benoit Claise
- [netconf] Re: Default statements on udp-client-se… Qin Wu
- [netconf] Re: Default statements on udp-client-se… Kent Watsen
- [netconf] Re: Default statements on udp-client-se… Andy Bierman
- [netconf] Re: Default statements on udp-client-se… Kent Watsen
- [netconf] Re: Default statements on udp-client-se… Andy Bierman
- [netconf] Re: Default statements on udp-client-se… Kent Watsen
- [netconf] Re: Default statements on udp-client-se… Alex Huang Feng
- [netconf] Re: Default statements on udp-client-se… Kent Watsen
- [netconf] Re: Default statements on udp-client-se… Alex Huang Feng
- [netconf] UDP-noitf ports and other considerations Kent Watsen
- [netconf] Re: Default statements on udp-client-se… Andy Bierman
- [netconf] Re: Default statements on udp-client-se… Thomas.Graf
- [netconf] Re: [netmod] Re: Default statements on … Per Andersson
- [netconf] Re: UDP-noitf ports and other considera… Thomas.Graf
- [netconf] Re: [netmod] Re: Default statements on … Kent Watsen
- [netconf] Re: [netmod] Re: Default statements on … Kent Watsen
- [netconf] Re: [netmod] Re: Default statements on … Andy Bierman
- [netconf] Re: [netmod] Re: Default statements on … Andy Bierman
- [netconf] Re: UDP-noitf ports and other considera… Paolo Lucente
- [netconf] Re: Default statements on udp-client-se… Kent Watsen
- [netconf] Re: [netmod] Re: Default statements on … Andy Bierman
- [netconf] Re: [netmod] Re: Default statements on … Thomas.Graf
- [netconf] Re: [netmod] Re: Re: Default statements… Alex Huang Feng
- [netconf] Re: [netmod] Re: Default statements on … tom petch