[netconf] Re: [netmod] Re: Default statements on udp-client-server groupings
Andy Bierman <andy@yumaworks.com> Fri, 20 September 2024 16:19 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 E5005C151531 for <netconf@ietfa.amsl.com>; Fri, 20 Sep 2024 09:19:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.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_DNSWL_HI=-5, 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 (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 agxPO6Oamw4X for <netconf@ietfa.amsl.com>; Fri, 20 Sep 2024 09:19:02 -0700 (PDT)
Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) (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 AFE22C14F68D for <netconf@ietf.org>; Fri, 20 Sep 2024 09:19:02 -0700 (PDT)
Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-718e0421143so393628b3a.0 for <netconf@ietf.org>; Fri, 20 Sep 2024 09:19:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1726849142; x=1727453942; 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=ufVl0wB6gf36hHH0qAP9isgcTN4cek+jShEkzmlTDXw=; b=CqVRZjU0acV6+stIVcE/hJeRzYQhN5tf5jzlgSNRAW5gLAHJOF2f5R52ANKofFnhW+ jaMJjS2bubSz6s0IWVfn9lddWFa8hexrNS0T4b2oX02LKfycb7gkAoii291EGeZVk61W PKYIJZZGszSn4HA+HNPzjH5JdznUmCqIwkZVjkT9kllvhcd/OvRS3WsqpZDcByJNrTi3 GLs5HCWqR/ExrqQlTxO6CAqw4FvnZpHg5+CW0ywF1kOtYaxg/ciYBV8PL1qYgcqNzi5e xHQSXSw5Y8bzVvPlvVBSA4afklvKCjj0v6AzrmzqbXVcrM7qtyP/lhwye+BPNozw+Z7I DMuA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726849142; x=1727453942; 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=ufVl0wB6gf36hHH0qAP9isgcTN4cek+jShEkzmlTDXw=; b=oY7ljSimigCzG9lQeNkkf3Ihg24Lu6wQaA2G9OSTo5ewC1lfvLR8FJeJwUC9F1RCIa OGOxUuA+UUn5b/LfWvs30DjPJST7bMQB9rUAzsnDCAjvf2PpyKwc7NmnaMtbj6Svjlyh jVEAxs+dHcx7qrtxVRq/f3SbV1CqWggxW7Mbj8aJoBdlGl6F8W4wm5Jk3mSHNnoI7QlH RD/kQcoC9WSJbPRrrggx5yWwwPL+asHoE9yNGIJSTWpJY4qnsNBSyRdrNa06T3aRpCRH QM8CeGhSpcPMVnH5m3mhEHbOX7z81Lk11N+Eusbeb89kRdIxB/zUcsZcDM5TGuuP11cN sLhQ==
X-Forwarded-Encrypted: i=1; AJvYcCUgS/CA0Ak8yptxrnkonhcqDQK4pGzTJPAwdCQQaoFWmLjM2YME7yhQgaCfT2aM+2mpYTD7U1ct@ietf.org
X-Gm-Message-State: AOJu0Yxva7xRmaw0xBrppb+vhbsW6h/26XyZrF+J3WplyjvZdwozUar2 E9flQCSbJ/BiSfVv9tgfA3c/Y4WWAb4s2YHjjpbaH+vc+cU2oh56+Xh6HzP7/DDZdifxArNxcTu Vsn9bL7SRLsxoHw8NLBjDTq+m/HBZZVOF9/t8nA==
X-Google-Smtp-Source: AGHT+IHZIsRQ15nPY1g4L0sz0blUfrWUFsH+Ub4p5Hk5+rVcHym0G7TLKFKGqQzxFMNQJOZJOX+1npVe5M05EXvWX8Q=
X-Received: by 2002:a05:6a00:1a8b:b0:710:5d3b:b444 with SMTP id d2e1a72fcca58-7199c6eceebmr2115842b3a.0.1726849142075; Fri, 20 Sep 2024 09:19:02 -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> <CABCOCHRGFE4a9PASHXHDxb6E=E59M6-Afp0V8ans9UNS+xxX3A@mail.gmail.com> <01000192103195f3-f453294b-3fad-4ad6-ad4c-365c4f6af7e1-000000@email.amazonses.com>
In-Reply-To: <01000192103195f3-f453294b-3fad-4ad6-ad4c-365c4f6af7e1-000000@email.amazonses.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 20 Sep 2024 09:18:50 -0700
Message-ID: <CABCOCHRvmZqcSOhquMJyqmrsPDRW-yf0M6a=KeoW9od9zUYr6g@mail.gmail.com>
To: Kent Watsen <kent+ietf@watsen.net>
Content-Type: multipart/alternative; boundary="000000000000b1e1d606228f6591"
Message-ID-Hash: RL5JYTYKPCAEI45HZF2A6DFYP2SSTGJT
X-Message-ID-Hash: RL5JYTYKPCAEI45HZF2A6DFYP2SSTGJT
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/pDeBXZCvg8DqtgNOUGxkZe2DOjk>
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>
On Fri, Sep 20, 2024 at 9:08 AM Kent Watsen <kent+ietf@watsen.net> wrote: > > Let me clarify, I’m trying to close the "default 0” statement on the > "local-port” leafs issue. Whether rfc8407bis is updated is a secondary > concern. > > Andy (and others), do you believe this (to never set “default” or > “mandatory”) to be a best-practice for reusable groupings? Or more > specifically and better for me, do you think the "default 0” statement on > the "local-port” leafs is okay or should be removed (in the > tcl-client-server draft)? > > In this case, default 0 meant use whatever port you want. IMO that is a bad practice and should never be done. In this case, the default is for an application well-known port assignment, so the groupings for the application should set the default port. Kent > > Andy > > > On Sep 20, 2024, at 11:14 AM, Andy Bierman <andy@yumaworks.com> wrote: > > > > 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 > >
- [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