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

tom petch <ietfc@btconnect.com> Sat, 21 September 2024 09:49 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32558C14F6B7; Sat, 21 Sep 2024 02:49:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.109
X-Spam-Level:
X-Spam-Status: No, score=-2.109 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, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=btconnect.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 p8eNRLLYz2ra; Sat, 21 Sep 2024 02:49:10 -0700 (PDT)
Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2064.outbound.protection.outlook.com [40.107.249.64]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 35240C14F6B0; Sat, 21 Sep 2024 02:49:09 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=M1lRYCdVAF19y/6L4HVkAvP463pIZBUx8JnK/gH4+6P+GJz87nPImB96Rj3De0VajeYkjPFRfF4MyKe131pN7/aEnGq5PRx6u6oFJsh+6M6UxFP28dPWzhEyGGQuTm9ZvTtTFnTLDIabHWDT1ECQmau2Zz8c/8bdMzRXCIhIp0sqDp/X5i7cNBN8Jafod/R2OnlMWyn+4bA547bMh99QQwxs8NaGs3WmoinQyE+IyhfQuXjATRS5LAmpRTi8daeu57Cy/S/I/h4ATQMlGao6oUjBF3XQtlsQKUPmxp1fIfsbnXYp1a044nVgnvvKZACaKhR/co2XpU7pui/oL4l0mw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=85d/8dmrpr33K/T2r7otdTxjHSNG7tRSt+4WYl7tD+8=; b=RWd3aZc+9nVe7ZDh1GpHhGNajVh4Yt3KT4NbjcoEjszcZIGBasetT5z0pJGX8QJl0ghNu9ZRqGoLpEG1Wamwotge79VTxCF3rcMxT4R0Zqa7R60qE0hA73MCTivLOp+lIEkspT+93AZQXjhuwpKdBnVi5Wul10v+rwFuv0arNVjqSWuDEiEQKaGjp0ctCo3hF2ibIdQyO5YB4iOvdIUj74uyfgUHXnBUC9vQBFT0e66js1XcBvIjaQO5l3KGtitrrzWsrNkENVwTAzk7kMDqM7Eqq/hM4eNOWcWe88RzpU6P9IzH59SbVOUIPwgutxzcOx+0MOTvCx7mcKaSKBK4+Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=85d/8dmrpr33K/T2r7otdTxjHSNG7tRSt+4WYl7tD+8=; b=VSXRR5GZajOx6tAP9GBNR5dsIQ31EdVkVnP1COT96LWyD4UQyv0096yAE91NldL0L1IVBgfdZlxrYVgZ/+N9KtxrK3yiOaSiBma/QWZT4ol4sacr9cGLrVrRoCEH5fFE3VPfdHeEaGggfwVUYFGFh4nHKYCazTbGl+TJvxuPB5Q=
Received: from AM0PR07MB4131.eurprd07.prod.outlook.com (2603:10a6:208:4b::27) by PR3PR07MB6812.eurprd07.prod.outlook.com (2603:10a6:102:79::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.23; Sat, 21 Sep 2024 09:49:07 +0000
Received: from AM0PR07MB4131.eurprd07.prod.outlook.com ([fe80::a2c6:fac3:8f66:126f]) by AM0PR07MB4131.eurprd07.prod.outlook.com ([fe80::a2c6:fac3:8f66:126f%3]) with mapi id 15.20.7982.018; Sat, 21 Sep 2024 09:49:06 +0000
From: tom petch <ietfc@btconnect.com>
To: Kent Watsen <kent+ietf@watsen.net>, Andy Bierman <andy@yumaworks.com>
Thread-Topic: [netconf] Re: [netmod] Re: Default statements on udp-client-server groupings
Thread-Index: AQHbC24q23Lp100XCUOcZ3CdDGCVw7JgyMEAgAAPLgCAASV3VQ==
Date: Sat, 21 Sep 2024 09:49:06 +0000
Message-ID: <AM0PR07MB4131F9A2D6C20729EC5EBB71A06D2@AM0PR07MB4131.eurprd07.prod.outlook.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> <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>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM0PR07MB4131:EE_|PR3PR07MB6812:EE_
x-ms-office365-filtering-correlation-id: 55132708-d61e-4743-01e7-08dcda22a21d
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|376014|4022899009|366016|38070700018;
x-microsoft-antispam-message-info: NBinPmRBXKp8kFxJD//4P2f3bx2NlThWK4QcZv3ETXZUDklstiWpDNHdztj8BbpRsRrPSMRnZGOlSFd+1KKeMWbYcY05MPZ/CoAH3CxGtTQGYKjTricxh3e3n7Tkx6Ovh/QlPrMkoKqu7ywPbdy/+zFPqIKRGtdl6T1VJDvZ3LE0MPFT8M4Oh3gHTsx76uO6zEWwvLNM7czIIVVB5lFKY4HfcaDiQQjip1QwZ/HuNYQ4141nV/8335JeWWihISjgongeYsn8ExLl4MZM8px5h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unmTB0sJtpB0t7ddg==
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR07MB4131.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(4022899009)(366016)(38070700018);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: UAuzQncY3vo4eYbVTby2v2FOgXbkoZ2YixAsxdmuARLIQzKfeA8EMyB51rdqIdOi8/09JfMOpah20PZ1zvv2d4oOaazrpqz1OTUrH1rYQPMgjFoGdoQmX3ByPNq9YDiF3y8q9/3c3zcgJr7ZrVSSC34zvhtUoifa2Tk/yooKbu6qPAkybYabyk7Or4BiglLOpg9m9nE0C7dObvSNyzHOBioMgyJJkF7SbTshOmZpANmJbM5Esb7vyxqLN9Gwp3u/RRfJWwC1+Xi5yIJO78XQFugFNuMmAT/+JydSyD2pQg9G2SsidIInMdquuj+Oc2ZclmdNjKoBvZSF7XKg0TqR35E2NKwtrc8Ud/UIcGQMFT3pJhuCx+w+O4yGI+PsCizgwispFYFwyAt1E54A//wbfrNQGuh0ZBrcxVtyafTVGC6VWB1/Vl04L1jQOn3lp9S5NxQb4PAGRZtyMAj4CFHhoqd26dBji0czaByzVcV6rJ8ZpBbw9vZzchGqcfWBwcNIGv52Z/yNUtuaDUXLvDt2Rni8HNK8ev2nYBugLHQxbE47Lh+FUNnSvtOV+nMxYDvpje+BCmMPz0/d6C80/gZ38nStdIVf+7cFem0hsxjzI7Wj0XalOWt7tI6mlTkC45EDyVrf9TB4W5ZybyOdPDX/G/cA+k5wdX2diyXaiSP/MNpLhlGsJIIaUCjV3JqIBj35QNs/DuBfak00Uo66RTIvOSUweP/2rYnGQDCvJBHImQ7l8AWuSyt/oCXXsL7GHPOYFwHepH1oMfVMobhbH9gXSX6pJ+C7j/6lY7CUnoSCfdBVxTfEdcNNo6V273RtwdrCjgrgR2crc+QfQrwWmzPOXZi+FIqfXBQLUp6hWKbt5NmFTXZFUGPyC5wsB7jb/gG32UQS95QWIWm8zpq1Mbk9qssaAf5aqAbQG+1TKvPWLErCB7BFsnDfJFcEBA26jiXN2Rl4imFjeRUS4vJRT4Oc8jQ3T0ZicSBz4080o+RQFLV5CHzEeS6ReSwayniR79DwA5aiQIiI5LOjL6XWGD8lPP3TYs+SYwnkIPD15Fe2gkAA0pVVOdCrCgvR9EQPDFNBflxoJXy52RifZ7J8RRAQVT2pLtopOYlstCxLq43cdqAuq8JvO03086uS85HvK/hqF8ohH4tQk3sa24pSLXAlrSoBYBNUeq61HvpFUYSata9zhgxUBPfzfeXmxdMmCE8/so9lv0dZUJsxX1lehoQRtL1YnXqJpoRNotCwGVo8Xd5lkeZsD1Lqiwf3qKksA2SA4sBjr9jiEr+nP/tIkw6ZeVdf5T1XL3DlLadP2+bKa3wCLgTcNq+MOxn2snuxZkXNfqJVuDeFJXfwsrEEsbMYwlTmi1Qy/I36b17GcvnQ5IeP3le3dXQ6Nsmdtf+SloGpXY2/KFSE+5XVdcyBpVz033UIJc74SSj9wLjzKX7a05CLg0lb9chqIsSKKNqRYidPKX63f3k8stiJxM1pCRc0nw4zgMPf3FVKa/5qKaHJV3YMRp+4PhmER0Vi6a/s/YfMgzXfw0t5ZMRqVU3i2USTXei83Dqgct++5v2lJgIvzLI=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR07MB4131.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 55132708-d61e-4743-01e7-08dcda22a21d
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2024 09:49:06.3079 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: SovWtoTV3JVz7im6bTnDeiNjRf0tT6kl3u6XTnhc0tmoxf12iYxUKhqJGF6uQxHWJaPTrHx+Wsm9PKULr2tEeA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR07MB6812
Message-ID-Hash: TWUTYAHRUQCTFES4VEVWV2Q4DQQAVEMB
X-Message-ID-Hash: TWUTYAHRUQCTFES4VEVWV2Q4DQQAVEMB
X-MailFrom: ietfc@btconnect.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netmod.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "Thomas.Graf@swisscom.com" <Thomas.Graf@swisscom.com>, "netconf@ietf.org" <netconf@ietf.org>, "draft-ietf-netconf-udp-client-server.authors@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: [netmod] Re: [netconf] Re: Re: Default statements on udp-client-server groupings
List-Id: NETMOD WG list <netmod.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/-gxp7voNuwe3mDF5ws4fUd6ceNA>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Owner: <mailto:netmod-owner@ietf.org>
List-Post: <mailto:netmod@ietf.org>
List-Subscribe: <mailto:netmod-join@ietf.org>
List-Unsubscribe: <mailto:netmod-leave@ietf.org>

From: Kent Watsen <kent+ietf@watsen.net>
Sent: 20 September 2024 17:08

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)?

<tp>
Perhaps this is conflating issues.

'mandatory', or not, to me is a function of the protocol; can it work without it?

'default' is trying to be helpful but IMHO is overdone.  Less expert users use it without perhaps understanding the consequences.  I like it when it is the obviously the right answer based on wide-spread, but not universal, use.  If in doubt, omit it and have the user think about it.  The 'description' cause offers a half-way house, 'this is likely what you want but you need to take responsibility for the decision'

Expert users will likely want defaults to save on the typing, less expert users may not want to have to think about it, but perhaps they should!

HTH

Tom Petch

Kent


> 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 mailing list -- netconf@ietf.org
To unsubscribe send an email to netconf-leave@ietf.org