[netconf] Re: Default statements on udp-client-server groupings
Kent Watsen <kent+ietf@watsen.net> Mon, 16 September 2024 23:12 UTC
Return-Path: <01000191fd1bd27b-042e2602-c072-44bf-9342-f38a74086dbb-000000@amazonses.watsen.net>
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 F3392C14F6A2; Mon, 16 Sep 2024 16:12:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.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 RLeQhDxhKRbg; Mon, 16 Sep 2024 16:12:26 -0700 (PDT)
Received: from a48-94.smtp-out.amazonses.com (a48-94.smtp-out.amazonses.com [54.240.48.94]) (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 ietfa.amsl.com (Postfix) with ESMTPS id C51C4C15108B; Mon, 16 Sep 2024 16:12:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1726528344; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=tLJxzpvvUQ7DkUvSfceVh4Y8pLzjI4gpQZRXVMPt9Po=; b=Oc9ZECUHgtxHQsl5nAUaxCHvT24npGMFAB0zAdwURlDckBpsJu8mg/fiE6wD8oo7 3J3OeUuN4dyVnv015HI2FeZWKMDsxVyXq+QScCcI4JUSN8BPsxgGmGpJff26iXpWcI9 7tf7UqX0JJnBliUiZTvDXmjUZ4WSwfQymytevXns=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <01000191fd1bd27b-042e2602-c072-44bf-9342-f38a74086dbb-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_9F9F8B78-1D39-4BBA-ACA5-A0BB76FFA8C2"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\))
Date: Mon, 16 Sep 2024 23:12:24 +0000
In-Reply-To: <D0230B09-8D6B-4615-8C16-ED6BA6AAFDA7@insa-lyon.fr>
To: Alex Huang Feng <alex.huang-feng@insa-lyon.fr>
References: <EAA84133-F9D5-4380-994D-297993F13675@insa-lyon.fr> <01000191dc9a8080-119f64d0-f1d7-4549-9789-ba05daa87609-000000@email.amazonses.com> <CABCOCHRYQmo+XDZMGuTwNJ+OW2F1ZbRDcjMst40Z0GXpFD86-w@mail.gmail.com> <01000191dcc4509d-0c99ab29-a02e-4a3e-b68b-3b1d58a87f27-000000@email.amazonses.com> <CABCOCHT6Wsh=mwpPNq+3nGzf8EU8fGtwvstakEtbPetTsL9NDQ@mail.gmail.com> <01000191dd5fee26-d7465934-4131-40b1-9549-ff693917b0d6-000000@email.amazonses.com> <D0230B09-8D6B-4615-8C16-ED6BA6AAFDA7@insa-lyon.fr>
X-Mailer: Apple Mail (2.3774.400.31)
Feedback-ID: ::1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2024.09.16-54.240.48.94
Message-ID-Hash: 7RQYPVYOTF4GKUJMG67PQADKTKMPT2UZ
X-Message-ID-Hash: 7RQYPVYOTF4GKUJMG67PQADKTKMPT2UZ
X-MailFrom: 01000191fd1bd27b-042e2602-c072-44bf-9342-f38a74086dbb-000000@amazonses.watsen.net
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: "netconf@ietf.org" <netconf@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/8b-1EbCeWVQzqVpLAxMb87jwUwA>
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>
Hi Alex, Please see inline below. K. > On Sep 16, 2024, at 4:42 AM, Alex Huang Feng <alex.huang-feng@insa-lyon.fr> wrote: > > Dear Kent and Andy, > > Thank you for the provided feedback. > > Here a few comments about udp-groupings: > - When I meant user, I meant YANG module’s writer or designer, which can be a IETF contributor or not. > - I agree with Andy that the default port on the generic grouping should be removed. The above sentence is hard to parse because 1) there’s more than one port (local vs remote) and 2) there’s more than one grouping (i.e., client vs server). Did you mean “I agree with Andy that the default *remote-port* in the ietf-[tcp/udp]-client-grouping should be removed.”? This is what I agreed to, and was able to get the RFC Editor to fix in RFC9643-to-be (i.e., the tcp-client-server draft) > Personally, I would remove all of them, just for the fact that by having them we are limiting the scope of usage of this generic grouping. > Maybe adding a section (or text) explaining that service models SHOULD define (or prioritize) having a default port request within the YANG module would be useful? See proposal below > Because I can see a user/designer wanting to implement a YANG module with a “mandatory" port but unable to do so because of this “default” statement. Here I think you are referring to having the client's and server’s *local-port* to NOT be "default 0”. On one level, I agree with you. i.e., it can always be added by a consumer, and it prevents the local-port from being “mandatory true". On the flip-side, every socket-level API I’ve used has always defaulted the client’s local-port to “0” (meaning that it’s a wildcard, and the OS gets to choose), and I’ve never seen a client not default its local-port to 0. As for servers, one might think that the local-port should always default to its well-known/assigned value. > Proposed text: > NEW: > The "remote-port" and "local-port" leaves are defined without any > "default" or "mandatory" statements in the "udp-client-grouping" > grouping. YANG models using this grouping SHOULD refine the grouping > with a "default" statement, usually with the port allocated by IANA, > or a "mandatory" statement, if the ports needs to be always present. > > Diff: https://author-tools.ietf.org/diff?doc_1=draft-ietf-netconf-udp-client-server-03&url_2=https://raw.githubusercontent.com/netconf-wg/udp-client-server/master/draft-ietf-netconf-udp-client-server-04.txt > > Better this way? I think that it’s fine. As written above, such can always be added by consuming modules. > Regarding udp-notif: > - Personally I am not against having a default IANA port for UDP-Notif. I actually asked for it on the -13 iteration. > But from the feedback received on the ML [1] and the last IETF meeting [2], the conclusion was that a port is not needed because an operator already needs to configure the IP address where the collector is located. > I also see the same use case on the NC/RC Call home RFC. Even though a default port is defined, the operator still needs to configure the IP address of the NC client on the network management system... > > [1] https://mailarchive.ietf.org/arch/msg/netconf/gP5AApWL0Ha8uey9yIQvBlqOJ7A/ > [2] https://datatracker.ietf.org/doc/minutes-120-netconf-202407251630/ It’s true that it’s not a “first contact” situation, but many times Operators want a port for firewalls, wireshark, etc. And if we’re lucky, udp-notif will be very popular, easily justifying its allocation. Looking at the numbers, I see a 50/50 split in proponents of the two choices. This is far from WG consensus (not to mention weak participation). The minutes [2] show Rob suggesting asking a designated expert. This is what we should do. Kent
- [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