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

Kent Watsen <kent+ietf@watsen.net> Wed, 18 September 2024 01:12 UTC

Return-Path: <0100019202afbee4-44734060-0753-4ea1-b160-11772eda550a-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 B1CD4C15152E; Tue, 17 Sep 2024 18:12:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 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_H3=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] 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 XIh8aqXFXzkl; Tue, 17 Sep 2024 18:12:06 -0700 (PDT)
Received: from a48-93.smtp-out.amazonses.com (a48-93.smtp-out.amazonses.com [54.240.48.93]) (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 1E719C151069; Tue, 17 Sep 2024 18:12:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1726621925; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=h/saRt8QFYHGyqxaXOeqFZQdET6EpRBMjTe19Js+hdI=; b=sHmQWUwR+rFMjIVxkBUGF5pS6qvB6bvQb3oXnqPWeaznJUstkZvVm+KB4s65UQrg Bj+CxKJ7ezPT8jCw4oUPHmfpC92IMwf2lB4P6KZ2SuXY+mSb66FOJWpm38Qfytagq9F LcsatR7taY0QTvZZcxBjYH9HCVwvme4QPMnjU+vM=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100019202afbee4-44734060-0753-4ea1-b160-11772eda550a-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_DEE88714-95C7-4162-A4A6-D5B4D8570A98"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\))
Date: Wed, 18 Sep 2024 01:12:05 +0000
In-Reply-To: <CABCOCHRw4Puhm2bNzSbXLsZD1-M+Miw6KypEbk=ENDj+C6xqPg@mail.gmail.com>
To: Andy Bierman <andy@yumaworks.com>
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> <01000191fd1bd27b-042e2602-c072-44bf-9342-f38a74086dbb-000000@email.amazonses.com> <CABCOCHRw4Puhm2bNzSbXLsZD1-M+Miw6KypEbk=ENDj+C6xqPg@mail.gmail.com>
X-Mailer: Apple Mail (2.3774.400.31)
Feedback-ID: ::1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2024.09.18-54.240.48.93
Message-ID-Hash: PPBVNF6FVHOI4WBWGVYTJEG75J53EZZQ
X-Message-ID-Hash: PPBVNF6FVHOI4WBWGVYTJEG75J53EZZQ
X-MailFrom: 0100019202afbee4-44734060-0753-4ea1-b160-11772eda550a-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/dC7g9BFd0ryAdIsGAUcIWCkZRwA>
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 Andy,

> The main purpose for YANG defaults is ease of use.
> If there are less things to configure then the device is easier to use.
> Without a default port then this parameter becomes mandatory to configure.

Alex is trying to maximize lazy binding.  That is, as a general statement,  unless 100% sure, groupings should never specify the “default” or “mandatory” statements, leaving it to terminal “uses” statements to specify.   His comment raises to the level of something that could be an addition to rfc8407bis.  

Thoughts?

Kent