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

Alex Huang Feng <alex.huang-feng@insa-lyon.fr> Mon, 09 September 2024 15:19 UTC

Return-Path: <alex.huang-feng@insa-lyon.fr>
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 DB62FC151545; Mon, 9 Sep 2024 08:19:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.262
X-Spam-Level:
X-Spam-Status: No, score=0.262 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_HELO_IP_MISMATCH=2.368, 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=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=insa-lyon.fr
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 n6FpKrY5M-S2; Mon, 9 Sep 2024 08:19:18 -0700 (PDT)
Received: from smtpout01-ext2.partage.renater.fr (smtpout01-ext2.partage.renater.fr [194.254.240.33]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EB84AC14F61C; Mon, 9 Sep 2024 08:19:11 -0700 (PDT)
Received: from zmtaauth03.partage.renater.fr (zmtaauth03.partage.renater.fr [194.254.240.26]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id AED0B68E3D; Mon, 9 Sep 2024 17:19:06 +0200 (CEST)
Received: from zmtaauth03.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTPS id A53808001D; Mon, 9 Sep 2024 17:19:06 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTP id 92B6780028; Mon, 9 Sep 2024 17:19:06 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth03.partage.renater.fr 92B6780028
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=insa-lyon.fr; s=CB289C06-95B8-49FE-9C4B-D197C6D2E7CB; t=1725895146; bh=vJFZnc376QJmo6w5Zr6WzapfiLdR7edFAHs13xcMKeM=; h=From:Mime-Version:Message-Id:Date:To; b=Xx7f2sceXn1Rl18lmReuHcI4XAnpEINlmHjCgeaBTN7b4GbqM2iakk1fCe8qW4csD BHH0GiGxBSwyaOfNFPJDS4Ptp3n6NprSll2X2AWV0qLYyhekLtkOxeixFaQRFN5xXg 5X5IxU5qf6lh+q2WcJIwcRMj+W8VKiKOy4f0GNR2qdH1ZxRw1iTZOqunY5YVGoCw7w mIgt9ig65KZSL7T6X7t50xkZ2A0C4UkplKiz4XikiS/+49HNUzhpFCD9Pfpg1kZ9z2 M1r5vMocjed5YRLieSGyIsKEGDbBoLbWM2r3R+4lNFBvjNj1TB5wOCObCfQekE5Uqq P7EBxA8r2w2Ng==
Received: from zmtaauth03.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth03.partage.renater.fr [127.0.0.1]) (amavis, port 10026) with ESMTP id Qcz7TkYSr_z5; Mon, 9 Sep 2024 17:19:06 +0200 (CEST)
Received: from 134.214.58.29 (unknown [194.254.241.249]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTPA id 594128001D; Mon, 9 Sep 2024 17:19:06 +0200 (CEST)
From: Alex Huang Feng <alex.huang-feng@insa-lyon.fr>
Content-Type: multipart/alternative; boundary="Apple-Mail=_EA449DF7-F19C-4102-8F84-9436A57F7532"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\))
Message-Id: <EAA84133-F9D5-4380-994D-297993F13675@insa-lyon.fr>
Date: Mon, 09 Sep 2024 17:18:54 +0200
To: Netconf <netconf@ietf.org>
X-Mailer: Apple Mail (2.3776.700.51)
X-Virus-Scanned: clamav-milter 0.103.8 at clamav02
X-Virus-Status: Clean
X-Renater-Ptge-SpamState: clean
X-Renater-Ptge-SpamScore: 0
X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeijedgjeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhtggguffkffevvffosegrtdhmrehhtdejnecuhfhrohhmpeetlhgvgicujfhurghnghcuhfgvnhhguceorghlvgigrdhhuhgrnhhgqdhfvghnghesihhnshgrqdhlhihonhdrfhhrqeenucggtffrrghtthgvrhhnpefgiefhudevfeefkeetudelvddukeeghfelheettdfhffekfeeutefhtedtveejveenucffohhmrghinhepihgvthhfrdhorhhgnecukfhppeduleegrddvheegrddvgedurddvgeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdegledphhgvlhhopedufeegrddvudegrdehkedrvdelpdhmrghilhhfrhhomheprghlvgigrdhhuhgrnhhgqdhfvghnghesihhnshgrqdhlhihonhdrfhhrpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepnhgvthgtohhnfhesihgvthhfrdhorhhgpdhrtghpthhtohepughrrghfthdqihgvthhfqdhnvghttghonhhfqdhuughpqdgtlhhivghnthdqshgvrhhvvghrrdgruhhthhhorhhssehivghtfhdrohhrghdprhgtphhtthhopehmohhhrghmvggurdgsohhutggruggrihhrsehorhgrnhhgvgdrtghomh
Message-ID-Hash: ZSBHWLWO73XIJXBDXPS5ZM6SEUGHT3IY
X-Message-ID-Hash: ZSBHWLWO73XIJXBDXPS5ZM6SEUGHT3IY
X-MailFrom: alex.huang-feng@insa-lyon.fr
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] Default statements on udp-client-server groupings
List-Id: NETCONF WG list <netconf.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/qvdN231ky-8QRWB9ZcTHK-WAs9c>
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 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