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

Andy Bierman <andy@yumaworks.com> Fri, 20 September 2024 15:14 UTC

Return-Path: <andy@yumaworks.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 37C5CC180B6D for <netconf@ietfa.amsl.com>; Fri, 20 Sep 2024 08:14:55 -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_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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.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 Hv65sMEte3IB for <netconf@ietfa.amsl.com>; Fri, 20 Sep 2024 08:14:51 -0700 (PDT)
Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (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 09D69C151073 for <netconf@ietf.org>; Fri, 20 Sep 2024 08:14:51 -0700 (PDT)
Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-7db488c2a72so234433a12.3 for <netconf@ietf.org>; Fri, 20 Sep 2024 08:14:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1726845290; x=1727450090; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=y43igmvOg/hc8QMhNphadDBTbiOEW+kI1WkvDm/CMHA=; b=gGbtgYHUrrA/+6NnEBPRBDb/6HLY4vqj252DRutNket/TU9ywnfMQu+9/v+/xeCmT3 zReSBOt5dcZUt5qv9+BGezk3Y7zlUaHBfbzYxJOrev52qSqDXOg9IcWR21iiEqKh97KK 7LpQ+oAkHY0d9WusenjKXdBXCkBliAvmSeCfulaOXikLTXwMlReZJxNbaooo74SrJ/eT IMbBYswg4KG0Y8AZbdqDmdMdIEtnXT5Nzuajv1EeGMHNKBb5TcU2d99RHLcMe5ivS3Ze a7qdYy8BX0LH+tV/wgr2HjNwwXOY3D0wFdsMCzOeptN0IUb+/TeRZnlDIcrOMABepmyx wZyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726845290; x=1727450090; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=y43igmvOg/hc8QMhNphadDBTbiOEW+kI1WkvDm/CMHA=; b=QshPHg62QR1918eFz8KnCcAQPYbLxrSi4/7vEMHZLRL+/1EWaFMFOuQRDxtbRNCBiL uMxjMYwOCd9YLw7LDy41X51RFExsPWadKlvOxE2mT1Bb+d65UzmaNcHmSJShhSCRFA6t Nrl0yYKe1LjwSZPT+yNTY2tng+4C2pD01N6ieOm+RsHkwnRVouMePwu+4p5FUooR52VL +YNWG4hu9QxMKb1tZlpkXlEFU5av4BeMcFArNGK2KmD9HLagNuNuqtKPkKj8pTd+/7ok TMC+uHlr+nk7ipBU6DFQVunvFDmHULfl2hv5LnWI9q5+xmvkp4z1OuOFW9vqaE8Jb5OI WSXA==
X-Forwarded-Encrypted: i=1; AJvYcCVHqKf3NZkyQ7+Elxbkf3EFXGlHoVPJ+4C+og7o8Q1BBdIEHxS80RT5YfZGwjl+OtaqNXaVVajD@ietf.org
X-Gm-Message-State: AOJu0YwwIqhoouR1dzNvZeyKLhbWVbr1GO1gPAUfOVxEtqGYVXq+5zUO eFG+Iq9nrFgtZ9IgcMNdge5BNLIsxvTe01CZtOZXsN3xF3qAUot3+gzFuMre4InGc4dJlb2ADgp LLDSAitrdGi5vrrXtOsUAePu2BRvnwaGguAQDvQT1ThlaM/dG+4U=
X-Google-Smtp-Source: AGHT+IEKeEU0RtY1foUiHnuVAYwFHwXoWm19Ujor5Xrw0tHqg2Yfm3jSKd4bHnjQbxwqai5A4em4kowEPgU4nq6OdMY=
X-Received: by 2002:a05:6a00:4b4c:b0:70b:705f:dda7 with SMTP id d2e1a72fcca58-7199c9f0bf6mr1989484b3a.4.1726845290458; Fri, 20 Sep 2024 08:14:50 -0700 (PDT)
MIME-Version: 1.0
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> <0100019202afbee4-44734060-0753-4ea1-b160-11772eda550a-000000@email.amazonses.com> <3dde2b41370c473389221aca2a371c8b@swisscom.com> <010001920ff499e8-e481c2ac-3e6d-4890-a990-f21f7a5d1599-000000@email.amazonses.com>
In-Reply-To: <010001920ff499e8-e481c2ac-3e6d-4890-a990-f21f7a5d1599-000000@email.amazonses.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 20 Sep 2024 08:14:38 -0700
Message-ID: <CABCOCHRGFE4a9PASHXHDxb6E=E59M6-Afp0V8ans9UNS+xxX3A@mail.gmail.com>
To: Kent Watsen <kent+ietf@watsen.net>
Content-Type: multipart/alternative; boundary="0000000000001ed18606228e8062"
Message-ID-Hash: XX2EFGG46URMDDE2LVPHQ77VBWTCVS7F
X-Message-ID-Hash: XX2EFGG46URMDDE2LVPHQ77VBWTCVS7F
X-MailFrom: andy@yumaworks.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: Thomas.Graf@swisscom.com, "netconf@ietf.org" <netconf@ietf.org>, draft-ietf-netconf-udp-client-server.authors@ietf.org, "netmod@ietf.org" <netmod@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [netconf] Re: [netmod] 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/SD4lpnz9yY3JBDbWZcSY5CeyRm4>
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,

I do not think any new YANG guidelines need to be added to the already
completed rfc8407bis.
This is a design decision based on the intended reuse of the groupings.

Here is a common sense guideline:  Document the grouping reuse limitations
in the description-stmt.


Andy




On Fri, Sep 20, 2024 at 8:02 AM Kent Watsen <kent+ietf@watsen.net> wrote:

>
> Can folks please chime in on this discussion to help bring it to a close?
>
> I rescinded my AUTH48 “approval” for the tcp-client-server draft pending
> the outcome of this discussion.
>
> PS: I see that Thomas CC-ed NETMOD, which makes sense given a potential
> update to rfc8407bis.
>
> Kent
>
>
> On Sep 18, 2024, at 2:52 AM, Thomas.Graf@swisscom.com wrote:
>
> Dear Kent, Andy and Alex,
>
> I think Alex statement
> https://mailarchive.ietf.org/arch/msg/netconf/5Yaiom0B0lDTeSPOvgNfPIEFvBw/,
> Andy's feedback and guidelines in
> https://datatracker.ietf.org/doc/html/rfc8407#section-4.4 resp.
> https://datatracker.ietf.org/doc/html/draft-ietf-netmod-rfc8407bis-15#section-4.4
>  makes perfectly sense and I don't see why we should do else. As an
> author, I suggest to add in section 4 of draft-ietf-netmod-rfc8407bis based
> on the conclusion of this discussion guidelines on reusable YANG groupings.
>
> Best wishes
> Thomas
>
> *From:* Kent Watsen <kent+ietf@watsen.net>
> *Sent:* Wednesday, September 18, 2024 3:12 AM
> *To:* Andy Bierman <andy@yumaworks.com>
> *Cc:* netconf@ietf.org;
> draft-ietf-netconf-udp-client-server.authors@ietf.org
> *Subject:* [netconf] Re: Default statements on udp-client-server groupings
>
> *Be aware:* This is an external email.
>
> 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
>
> _______________________________________________
> netmod mailing list -- netmod@ietf.org
> To unsubscribe send an email to netmod-leave@ietf.org
>
>
>