Re: [netconf] [Editorial Errata Reported] RFC6243 (7426, 7427 and 7428) combined, with attachments

tom petch <ietfc@btconnect.com> Fri, 28 April 2023 10:14 UTC

Return-Path: <ietfc@btconnect.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 E2768C14CF09 for <netconf@ietfa.amsl.com>; Fri, 28 Apr 2023 03:14:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-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 (1024-bit key) header.d=btconnect.onmicrosoft.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 YMGkGfwqrVJn for <netconf@ietfa.amsl.com>; Fri, 28 Apr 2023 03:14:36 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20700.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::700]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6AEFEC151534 for <netconf@ietf.org>; Fri, 28 Apr 2023 03:14:35 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mNCuKbFn0p3YIpJc+gbiuBqNGyeaRXD9K/CC7FEOJNcQ+mOxEIoYE0XXyeV/J4sAYRnPVRWVNLMjZgRhjndtEYw3oZOiLs+JkXNVDyZRZnNE3uhqoyLmXPk3kfY4u8wMGnL7xo+M7A2ds6+EPoaYHrkcx3t+Uhw6FGypmhIef0hfNp1cTZ9f+Nfb/dqY1OsKDWHcKM6b9cAp6MXQf98DmloiFZyEwLmdiWIOA2DIvyKsiZFeIbGe+kCE2/og4nSl8EKKUUoOQb/N7cYIGzUNPjUiRwUfSI/bsuaK6NhxSa0k5DrBb2pX9YlxBXUumualTetwHYwH6rcSCCOTEZc5Og==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=hTQQBGI7pLwUAQbbo+UYyuc2kxNckzUYhpjMpKTNzoY=; b=Wn0T/8XvwnQQsLE0MdRBzAHJwaka9XuGx+LAv+u6JNrb1dtxvw+o7FsJwFj4W3MxBAifageZ5ujs3mThX+GnOLsfucYkgCdSc7pZV/Zu+NfNoKcz1CJ0ozAswhkTXedHN2o5wnPJpr7yx7J7XKxRcXNRNxyxpgZd3m0YZVeo+1XjsYkmgTBTV5YIkUspe1DtMVpDxpWZzWKMGNqV0PxRHh2pOs1OUShwKqT3vmlqitayyResswNy7fRGaqY4DJITNXlicAhIdPG55jkDtANAqr+KwroxAzWX2cmVgutq97O908tmxQMg1nYv+WHy3dA9Dvw2eclmPqyP+Y8CNOWUog==
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.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hTQQBGI7pLwUAQbbo+UYyuc2kxNckzUYhpjMpKTNzoY=; b=Pr1TRJgAfisVIiPGKnk0MJ+X+D3FVDDj9z+bYLDM8lpHT19uYH+3u/BWZogsIXdvELt+M008dLw364lepeeyAxRf9qXPkCEBxljbMT7pTN7pSdUvcyaqzOsKMFvyGQqoGw4hXL4icHImKUVmwYgP6897plsREINC/9MO2PGpbhA=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM0PR07MB6466.eurprd07.prod.outlook.com (2603:10a6:20b:144::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.24; Fri, 28 Apr 2023 10:14:25 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::9b51:9d61:1571:c284]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::9b51:9d61:1571:c284%9]) with mapi id 15.20.6340.021; Fri, 28 Apr 2023 10:14:25 +0000
From: tom petch <ietfc@btconnect.com>
To: "dylan.sadoun@orange.com" <dylan.sadoun@orange.com>, Andy Bierman <andy@yumaworks.com>, "netconf@ietf.org" <netconf@ietf.org>
CC: Jürgen Schönwälder <jschoenwaelder@constructor.university>, "Rob Wilton (rwilton)" <rwilton@cisco.com>, RFC Errata System <rfc-editor@rfc-editor.org>, Jan Lindblad <janl@tail-f.com>
Thread-Topic: [netconf] [Editorial Errata Reported] RFC6243 (7426, 7427 and 7428) combined, with attachments
Thread-Index: AQHZeblbUFAfMf8Ov0ucIydnaMBxMw==
Date: Fri, 28 Apr 2023 10:14:24 +0000
Message-ID: <AM7PR07MB6248D449AA8B206C2DC940EEA06B9@AM7PR07MB6248.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_Enabled=true; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_SetDate=2023-04-28T09:05:43Z; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_Method=Standard; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_Name=Orange_restricted_external.2; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_SiteId=90c7a20a-f34b-40bf-bc48-b9253b6f5d20; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_ActionId=00427a16-ba6c-4e25-90ce-17846f2b2fac; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_ContentBits=2;
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: AM7PR07MB6248:EE_|AM0PR07MB6466:EE_
x-ms-office365-filtering-correlation-id: 2ab18a85-a642-4c17-a1d3-08db47d157ca
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: fcXMsmOTY6iVSVdBuA3xoWbMXUHte+xF79MhF6GVhBbJkZE3yL3Ec0QKhrj5rV9jCZgepWVhFZCGQ0ScH8o8C7x7ONCjlbTwTb/Kbazjx6dVo+AE1PpYO6htvN03/E66UvuLQA/dnEzm96SQh4rW+J+T3B7MW6CD6ICL+CQkHVFrq40z82u2C+3/j7eJtgdgtMRVLVRpPhNIIPc4Jpg777DBFrFjx9NQ8lkLZC0JN8qwY/D/e1XMpuJ/6ezya848KtQy71/+D7a1mT3LM58KgmyzKpnMm9Xzhgz4j9qt+459OqUlrWMpOxVw+B8t2MF53gEyLU00E9/ftSvPynn3nJ+rEsIr48wSq1sCYoZcN2ghNxs1uYCyLBzV3Nd1iyBVlNtz4sml7yYKQEjpNev2wmFxFQpmcmuSqOGntq1OhbNbc8umY52AvOH/JAx5dr1PALwB69Wq8munqEHhqkpMy0TPlCEoGJc8k9Z8guAqXpyy2llgCU2uuUaJ5uZsPYDHuUZofcR4oaAcH5iqd/kfauJq1MTU5eL4QAeNltDdDVI3TbK/15pm4yUZoyBV/z9nwGpZ3imcn734/6LfeJxtT50O6Ji8egRUSGL66RLAD7eBLdH56ZI8uQEKnfgoTzo5dzMB/iFA/uAISimvKoEVWpSZcVboYYEgwKor38w/+h0=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(39860400002)(376002)(396003)(366004)(346002)(136003)(451199021)(84970400001)(53546011)(186003)(6506007)(26005)(9686003)(19627405001)(966005)(41300700001)(38100700002)(91956017)(66574015)(122000001)(71200400001)(7696005)(83380400001)(478600001)(54906003)(110136005)(45080400002)(66899021)(166002)(76116006)(4326008)(64756008)(66476007)(66556008)(55016003)(66446008)(316002)(82960400001)(66946007)(52536014)(5660300002)(19273905006)(40140700001)(33656002)(86362001)(2906002)(38070700005)(30864003)(8936002)(8676002)(559001)(579004)(563064011)(10090945012); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: JNdfoiWUBjT8aTEyWbkBhzRK3dSAFuvuWZoYtiD774v70BAFPmf9bMhqfKaadxTJPA1mDOzLg/6cDIpHaLCt8pHUoAx31PGu9O9vNCPjcQALJeGAoSflVlFOrzDxhzvfe7wUSetuLKHA2xRiGeEJbHhCkwbxb7g7TWz9TSzml3jO1+YpVHHVJt1A+ly0unztVOwq8fKTs52lpr/Esfp8pEfGi/ZjcgqRL6ql7e2maovK2gyc6jRTKDd7jcK/EHy/N6TidctQK2jYDfieka7g2i5XYy6zDjQt0njZslbdbt59a9YwgJ4nnxoA1lraqLKzRN4Twdn4CJ/xGMA+NSjaWXaVTBGimBveZ0312p9Q0NnNW25GWE8y9cLIr7S5+KyyC1BO1EwA9K6fCSu1yxcn/y/ErQVkdvUTTFB/h1coPRYzXInkzx/K77SCYPO7+DIriYA8ULW2ohY3vLDCgvQHV6w7S65RVCFb3RtuiKQJeU2fggJMDRtTByYUJY4Kx895SQF9xaFhEzAM3hYXpLJoD7g/xj5PfJF4jsz0A3ZDL60v13KRgOLCN336n8D8s1eVCglrCFXur0LTpweOZugoU5UzAt0fQVoLLXhaQNvjqqhsRa056ZrT5b5CudWWbVgoPZY0r8mX3EXG+SSUcPWo28ENuXmlsDPhYU7uP4lMCNiXU4tlGAXD7B8Ykzq2FjD+5megYgbOgET2qScUgHiJubUVKIS9QZSQI9TLHNQ0enMtnKYCQaBEecJBh0f5gSmfVlfteBaRU+EIxnqEsKW7AcJCYoD7qYpxx8C90yoVZNCwdb4+2AFcP4SK3mA+vmvX7Vv55ZkNARkSK7jd6lV2H2T0m0S125QirSz6UAsfG5tQRQPt/Gh+IEOArPDMXem98n7NSyfK4uvBZuTEVgiF80VAxdM7+SxMezTjOF7z4Q51sZ0UlaZZMtKn2cyeA5d1v/4fvl5LuTQ5kJTdFShVF2kHrUXbIXRO2O6kvyWd8HP0Tx+fuPc1VU4igI7/JDFQxZap7SdqAhIebR7JfIo8M/mdLlQIomtqbFNPkNE7s1MZXqMlrMCxSFxBjPwRlx0WGUe6XXYu2jdD5l6lJa/0oLHT9CGf8ihtL5W9FPuhrqtewusWYIVtkY+qUuEpKmdWuboO7UVp4NNgz5BTlPBAddSDLACYtQaLrcSZofrj9UZMC30z5EN6lSieE/PpjWLlwUuH6OpsYJIJ6SITY8kmo5paiUoX+jiwCbzgSNhckPJFx3xvW4qReWTtaRBIFAhPpEmt73sc/qOFlLCuVOMgNiKIGCYAwK1olRZvOBR8mdn5T3QvYXLCUqLtedLQ3moJ8V4+zolaGuS7yySBFdq7XL84MJRqfq+S+wmzqQy5BXNkRga53i4/LbUe7hSIhdM/N8XV8rCu/xVlj+uAm1YFfHTEGheypZxPJWT0GRXg4XXvL3vFb+eu5lV8kuqz+DJfWdvQDHMdnFM7jmjO48Q3/DUmKmDi3B2AR5AtUf9ec+QyfPeQGQ9GyPsrZrXgiEMk/qYhqnfSrG02OI/Y4gxr1Vso9uB2arPSVaLnldH/Th8=
Content-Type: multipart/alternative; boundary="_000_AM7PR07MB6248D449AA8B206C2DC940EEA06B9AM7PR07MB6248eurp_"
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2ab18a85-a642-4c17-a1d3-08db47d157ca
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Apr 2023 10:14:24.9363 (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: Aq+ImRXBlOQ1VQGRpU4qWJApbQ2TzS+orUFdfwaASyVGzAHmZOTH3bRjPm0P4HICh35BZeC04RYTs1E/B77xww==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB6466
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/DPuUgSXaDpIRjGDfGBDLglQXoQE>
Subject: Re: [netconf] [Editorial Errata Reported] RFC6243 (7426, 7427 and 7428) combined, with attachments
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Apr 2023 10:14:41 -0000

From: dylan.sadoun@orange.com
Sent: Friday, April 28, 2023 10:11


Hello Tom



Could you please explain why removing “by a/the client” would be a mistake? To me, directly referring to the “explicit set data” in the 2.3.1 and 3.3 sections is the simplest and least error-prone formulation to solve the problem. The definition could then be changed (separately) if the consensus is that a server cannot set data on its own.


<tp>

As Andy said, Robert has probably seen enough by now for him to make a judgement on this.


I would refer you to RFC6241 et seq. where the basis of NETCONF, RESTCONF and such like is an implicit architecture of client and server communicating via a protocol.  The word 'client' is a key component in any description; removing it could have all sorts of consequences (but I am not going to delve into what they might be).  The word has served us well.


Tom Petch



Also, I did not find any subtlety on considering a client generic (as opposed to strictly NETCONF) or RFC8040 or RFC8342 changing the soundness of my errata.



Cordialement / Regards.



Dylan SADOUN

+336 47 53 54 50

dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>





Orange Restricted

De : tom petch <ietfc@btconnect.com>
Envoyé : mercredi 26 avril 2023 18:12
À : SADOUN Dylan DTSI/DTR <dylan.sadoun@orange.com>; Andy Bierman <andy@yumaworks.com>; netconf@ietf.org
Cc : Jürgen Schönwälder <jschoenwaelder@constructor.university>; Rob Wilton (rwilton) <rwilton@cisco.com>; RFC Errata System <rfc-editor@rfc-editor.org>; Jan Lindblad <janl@tail-f.com>
Objet : Re: [netconf] [Editorial Errata Reported] RFC6243 (7426, 7427 and 7428) combined, with attachments



From: dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>

Sent: Wednesday, April 26, 2023 14:20



Hello



Andy, according to the "1.1.  Terminology" section of RFC 6243, "client" is RFC 6241's definition, which is a NETCONF client, not *any* client.



<tp>

'was' a NETCONF client



You need to consider RFC8040 where the definition of a client is a RESTCONF client and leans on RFC6243, in

part, for its handling of defaults.  I mentioned NMDA and RFC8342 defines a client as

   o  client: An entity that can access YANG-defined data on a server,

      over some network management protocol.

which I would see as a more recent and so relevant definition.



Underlying this, however, is the concept that a user should be able to download the coniguration, upload to a new box and be where it started so it is the changes made by the client that matter.  I would have to dig into the history to see where the text that talks of server setting data comes from but I am convinced that removing the word 'client' is a mistake and that if any change is needed it is where the impression may be given that a server can set data in a manner equivalent to  that of a client (as defined above).



Tom Petch









Then, you say that:

This RFC does not say anywhere "set by server".

It says "that would be set by the server".

Cases 3 and 4 do not exist in this RFC.





I must disagree. Even if the RFC does not define how the NETCONF server MUST or SHOULD apply values on its own in its datastores, it very clearly says that the NETCONF server **can**, and that the values can be other than the schema default ones:



Explicitly set data definition:

Data that is set to any value by a NETCONF

      client or other management application by the way of an explicit

      management operation, including any data model schema default

      value.  Any value set by the NETCONF server that is not the schema

      defined default value is also considered explicitly set data.



2.3.3.  'explicit' <edit-config> and <copy-config> Behavior

[…] A valid 'create' operation attribute for a

   data node that has been set by the server to its schema default value

   MUST succeed. […]

   A valid 'delete' operation attribute for a data node that

   has been set by the server to its schema default value MUST fail with

   a 'data-missing' error-tag.



3.3.  'explicit' Retrieval Mode

   […] A conceptual data node that would be
   set by the server to the schema default value MUST NOT be reported. […]



A.2.  Example Data Set

[…]

In this example, the 'mtu' field for each interface entry is set in
   the following manner:

              +--------------+--------------+--------------+
              | name         | set by       | mtu          |
              +--------------+--------------+--------------+
             | eth0         | client       | 8192         |
              | eth1         | server       | 1500         |
              | eth2         | client       | 9000         |
              | eth3         | client       | 1500         |
              +--------------+--------------+--------------+



Some of your previous responses are also clear on this matter.





To sum up, we are at a crossroad, with 2 possibilities:

1 - EITHER, according to the other RFCs, NETCONF servers CANNOT set values in their datastores on their own, then RFC 6243 is erroneous on this matter and needs correction (I will gladly suggest the errata) (NB: not talking about "a server acting as a client");

2 - OR, NETCONF servers CAN set values in their datastores on their own, in which case I have already made my point about the RFC errors on my errata propositions.



So far, it seems Rob, Jürgen and Jan believes 1 (servers cannot), while at least Andy and me thought 2 (that it was possible for servers).

(Note: on my part, I am fine with 1, but this needs to be clearly written in RFC 6243 among other corrections.)



We must find a consensus on this question to progress further.



Rob, about your last proposals: I must say I prefer mines (the short ones, in the table).





Tom Petch says:

Many of our documents predate the expansion in datastores so I think that you need to specify which datastore(s) you have in mind.  Servers do not set values or perhaps they do in Operational or perhaps they do not.



I am talking about configuration datastores.





Jan says:

I sort of doubt that any server implementor that has made this choice will care much about any clarifying RFC language for those cases.



I beg to differ: it depends on the vendor and your relation with it. In my job, RFCs are the last resort to argue for a complex vendor behaviour change. Thes is why I am trying to correct and clarify the RFC.





Looking forward for discussions about the capacity of NETCONF servers to set values.



Cordialement / Regards.



Dylan SADOUN

+336 47 53 54 50

dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>



De : Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>>
Envoyé : vendredi 21 avril 2023 16:34
À : Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>
Cc : Jürgen Schönwälder <jschoenwaelder@constructor.university<mailto:jschoenwaelder@constructor.university>>; SADOUN Dylan DTSI/DTR <dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>; netconf@ietf.org<mailto:netconf@ietf.org>; RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>
Objet : Re: [netconf] [Editorial Errata Reported] RFC6243 (7426, 7427 and 7428) combined, with attachments







On Fri, Apr 21, 2023 at 6:29 AM Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>> wrote:

Hi,

I also conceptually see this as Jürgen describes.  I.e., even if the device/system chooses to modify the configuration (e.g., due to a linecard insertion) then logically I see that as being equivalent to a system-controlled client that is acting equivalently to an external client.



Note that changes to the server configuration do not have to be done with NETCONF.

Any protocol (internal, proprietary) counts as a client.





But I also agree that the terminology of RFC 6243 states:

   Explicitly set data:  Data that is set to any value by a NETCONF
      client or other management application by the way of an explicit
      management operation, including any data model schema default
      value.  Any value set by the NETCONF server that is not the schema
      defined default value is also considered explicitly set data.


Based on that I would propose the following change for section 3.3: deleting "by a client":

OLD
   When data is retrieved with a <with-defaults> parameter equal to
   'explicit', a data node that was set by a client to its schema
   default value MUST be reported.  A conceptual data node that would be
   set by the server to the schema default value MUST NOT be reported.
   Non-configuration data nodes containing the schema default value MUST
   be reported.

NEW:
   When data is retrieved with a <with-defaults> parameter equal to
   'explicit', a data node that was set to its schema default value MUST be
    reported.  A conceptual data node that would be
   set by the server to the schema default value MUST NOT be reported.
   Non-configuration data nodes containing the schema default value MUST
   be reported.


For section, 2.3.1, I would propose: copying the sentence from 3.3 regarding conceptual data nodes and deleting "by a client":

OLD:
   When data is retrieved from a server using the 'explicit' basic mode,
   and the <with-defaults> parameter is not present, data nodes MUST be
   reported if explicitly set by the client, even if they contain the
   schema default value.  Non-configuration data nodes containing the
   schema default value MUST be reported.

NEW:
   When data is retrieved from a server using the 'explicit' basic mode,
   and the <with-defaults> parameter is not present, data nodes MUST be
   reported if explicitly set, even if they contain the schema default value.
   A conceptual data node that would be set by the server to the schema
   default value MUST NOT be reported. Non-configuration data nodes
   containing the schema default value MUST be reported.

I.e., we rely on the definition of "Explicitly set data" in the terminology.  Would everyone be okay with that?





These changes look fine to me (although not really needed at all).

This RFC does not say anywhere "set by server".

It says "that would be set by the server".

Cases 3 and 4 do not exist in this RFC.





Regards,
Rob



Andy




-----Original Message-----
From: Jürgen Schönwälder <jschoenwaelder@constructor.university<mailto:jschoenwaelder@constructor.university>>
Sent: 21 April 2023 10:53
To: dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>
Cc: Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>>; netconf@ietf.org<mailto:netconf@ietf.org>; RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>; Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>
Subject: Re: [netconf] [Editorial Errata Reported] RFC6243 (7426, 7427 and 7428) combined, with attachments

Once again, servers do not arbitrarily set values on their own. They
set values based on client requests, i.e., your cases 3. and 4. do not
really make sense.

/js

On Fri, Apr 21, 2023 at 09:03:43AM +0000, dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> wrote:
> Hello
>
>
>
> I a think that the RFC sections 2.3.1 and 3.3 are contradictory to the "explicitly set data" definition and the RFC intent (as reminded by Andy) and that Rob's suggestion (to copy one sentence from section 3.3 to section 2.3.1) is incomplete.
>
>
>
> Let me go back to the 6 possible cases for a data node's value to:
>
> 1. explicitly set by a NETCONF *client* to a value OTHER than the schema default value
>
> 2. explicitly set by a NETCONF *client* to the *schema default* value
>
> 3. explicitly set by a NETCONF _server_ to a value OTHER than the schema default value
>
> 4. explicitly set by a NETCONF _server_ to the *schema default* value
>
> 5. not explicitly set (neither by NETCONF clients nor the server) and with a schema default value defined in the YANG schema (for the node, or the node's type)
>
> 6. not explicitly set (neither by NETCONF clients nor the server) and without any schema default defined in YANG (neither for the node nor the node's type). That case is trivial, the node is not valued. One could argue this is not the RFC subject. I will skip this case entirely afterwards.
>
>
>
> It is clear that cases 1 to 4 are explicilty set data (as per the RFC definition), and NOT cases 5 and 6.
>
>
>
> Here is a table summarizing the different versions of section 2.3.1 and 3.3:
>
>
>
>
> Erratum number
>
> 7246
>
> 7247
>
>
> RFC section
>
> 2.3.1
>
> 3.3
>
>
> Original text
>
> When data is retrieved from a server using the 'explicit' basic mode, and the <with-defaults> parameter is not present, data nodes MUST be reported if explicitly set by the client, even if they contain the schema default value. Non-configuration data nodes containing the schema default value MUST be reported.
>
> When data is retrieved with a <with-defaults> parameter equal to 'explicit', a data node that was set by a client to its schema default value MUST be reported.  A conceptual data node that would be set by the server to the schema default value MUST NOT be reported. Non-configuration data nodes containing the schema default value MUST be reported.
>
>
> Problem with the original text
>
> Only cases 1, 2 and 5 are covered, but cases 3 and 4 are NOT covered.
>
> The implied meaning is contradictory to the "explicitly set data" definition and the RFC intent (cf. my previous e-mails).
> Therefore the section is currently erroneous.
>
> Only cases 2, 4 and 5 are covered, but cases 1 and 3 are NOT covered.
>
> Note: case 1 is the most important one!
>
> Therefore the section is currently erroneous.
>
>
> Andy's suggestion (e-mail before the errata)
>
> When data is retrieved from a server using the 'explicit' basic mode, and the <with-defaults> parameter is not present, data nodes MUST be reported if explicitly set by the client or the server, even if they contain the schema default value. Non-configuration data nodes containing the schema default value MUST be reported.
>
> n/a
>
>
> Problems with Andy's suggestion
>
> This only adds a faulty case 4, because data set by the server to the schema default value MUST NOT be reported (cf. the "explicitly set data" definition).
>
> Case 3 is not covered.
>
> Therefore this version is (more) erroneous too.
>
> n/a
>
>
> Rob's suggestion
>
> When data is retrieved from a server using the 'explicit' basic mode, and the <with-defaults> parameter is not present, data nodes MUST be reported if explicitly set by the client, even if they contain the schema default value.  A conceptual data node that would be set by the server to the schema default value MUST NOT be reported. Non-configuration data nodes containing the schema default value MUST be reported.
>
> n/a
>
>
> Problems with Rob's suggestion
>
> In addition to cases 1, 2 and 5, this version adds case 4, BUT it still misses case 3 (just like the original 3.3 section).
>
> Therefore the section is still erroneous.
>
> n/a
>
>
> My previous suggestion
>
> When data is retrieved from a server using the 'explicit' basic mode, and the <with-defaults> parameter is not present, data nodes MUST be reported if explicitly set. This means that data nodes containing the schema default value MUST be reported if set by a NETCONF client, but MUST NOT be reported if set by the NETCONF server. Data nodes set by the NETCONF server to values other than their schema default values MUST be reported. Non-configuration data nodes containing the schema default value MUST be reported.
>
> When data is retrieved with a <with-defaults> parameter equal to 'explicit', a data node that was set by a client to its schema default value MUST be reported. A conceptual data node that would be set by the server to the schema default value MUST NOT be reported. A conceptual data node that would be set by the server to a value other than its schema default value MUST be reported. Non-configuration data nodes containing the schema default value MUST be reported.
>
>
> Why I think my suggestion is necessary
>
> In addition to cases 1, 2 and 5, this version adds cases 3 and 4, making it complete and correct in regard to the "explicitly set data" definition and the RFC intent.
>
> In addition to cases 2, 4 and 5, this version adds case 3. One could argue that case 1 is still not covered…
>
>
> My new suggestion (alternative)
>
> When data is retrieved from a server using the 'explicit' basic mode, and the <with-defaults> parameter is not present, data nodes MUST be reported if explicitly set. Non-configuration data nodes containing the schema default value MUST be reported.
>
> When data is retrieved with a <with-defaults> parameter equal to 'explicit', data nodes MUST be reported if explicitly set. Non-configuration data nodes containing the schema default value MUST be reported.
>
>
> Goal of the new suggestion
>
> To be clear and brief, minimize the erratum, and maximize sections 2.3.1 and 3.3 harmony. The reader must then report to the "explicitly set data" definition which covers all cases (in one place).
>
> To be clear and brief, minimize the erratum, and maximize sections 2.3.1 and 3.3 harmony. The reader must then report to the "explicitly set data" definition which covers all cases (in one place).
>
>
>
> I believe to have proven that sections 2.3.1 and 3.3 of the RFC on the explicit mode are erroneous and that the errata are legitimate. Also, that Rob's suggestion is incomplete and Andy's in erroneous.
>
>
>

> Please not, my point is not to re-litigate or re-write the RFC but to fix its "bugs" (cf.  <https://www.ietf.org/about/groups/iesg/statements/processing-errata-ietf-stream/> https://www.ietf.org/about/groups/iesg/statements/processing-errata-ietf-stream/).

>
> Andy, you said:
>
> "The intent in section 2.3.1 is that all explicitly set data is returned."
>
> I think that my proposed corrections are exactly "a clear resolution in line with the original intent" (cf. the 4th point of the guidelines for review).
>
>
>
> Andy, Rob, if you do not agree, could you please explain how the existing text or Rob's suggestion cover all cases properly and why my propositions do not?
>
>
>
> I appreciate your attention to this matter and look forward to hearing back from you.
>
>
>
> PS: I will be back on my e-mails on Wednesday.
>
>
>
> Dylan SADOUN
>
> +336 47 53 54 50
>
>  <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>
>
>
>
> De : Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>>
> Envoyé : mercredi 19 avril 2023 21:44
> À : Jürgen Schönwälder <jschoenwaelder@constructor.university<mailto:jschoenwaelder@constructor.university>>; SADOUN Dylan DTSI/DTR <dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>; netconf@ietf.org<mailto:netconf@ietf.org>
> Objet : Re: [netconf] [Editorial Errata Reported] RFC6243 (7426, 7427 and 7428) combined, with attachments
>
>
>
>
>
>
>
> On Wed, Apr 19, 2023 at 12:21 PM Jürgen Schönwälder < <mailto:jschoenwaelder@constructor.university<mailto:jschoenwaelder@constructor.university>> jschoenwaelder@constructor.university<mailto:jschoenwaelder@constructor.university>> wrote:
>
> The original design was that the NETCONF sets values based on client
> requests to modify configuration datastores. As the name suggests, its
> a configuration management protocol and it is not the server's job to
> create configuration on its own.
>
> Yes, there are corner cases where a server may fill in values,
> but this does not change the general idea that clients control
> the manipulation of configuration data.
>
>
>
> I think the small update from Rob fixes the ambiguity in sec. 2.3.1.
>
>
>
> A YANG default is the value that is used if no instance of the data node exists.
>
> The major vendors never really agreed on EXACTLY what it means for a data node instance to exist.
>
> It is very implementation-specific.
>
> It is also not really a problem if "merge" and "remove" are used instead of "create" and "delete",
>
>
>
> This RFC distinguishes between the 2 implementation-specific cases (instance and no-instance).
>
> The Errata process should not be used to re-litigate and re-write the RFC.
>
>
>
> /js
>
>
>
> Andy
>
>
>
>
> On Wed, Apr 19, 2023 at 05:35:54PM +0000, dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>  wrote:
> > Hello
> >
> >
> >
> > Thank you all for your quick answers but I must say that I mostly disagree.
> >
> >
> >
> > All three errata are linked and twisted and therefore I propose to answer
> > all of them globally, before diving in each erratum distinctly later if
> > necessary.
> >
> > Also, bear with me, I struggle to be brief in English.
> >
> >
> >
> > There are 6 possible cases for a data node's value:
> >
> > 1. explicitly set by a NETCONF *client* to a value OTHER than the schema
> > default value
> >
> > 2. explicitly set by a NETCONF *client* to the *schema default* value
> >
> > 3. explicitly set by a NETCONF _server_ to a value OTHER than the schema
> > default value <== this is the killer one!!
> >
> > 4. explicitly set by a NETCONF _server_ to the *schema default* value
> >
> > 5. not explicitly set (neither by NETCONF clients nor the server) and with a
> > schema default value defined in the YANG schema (for the node, or the node's
> > type)
> >
> > 6. not explicitly set (neither by NETCONF clients nor the server) and
> > without any schema default defined in YANG (neither for the node nor the
> > node's type). That case is trivial, the node is not valued. One could argue
> > this is not the RFC subject. I will skip this case entirely afterwards.
> >
> >
> >
> > Note 1: Rob is rightly questioning a NETCONF server being able to set data.
> > Please read further on this matter.
> >
> > Note 2: a schema default value might be the node's or the node's type's, I
> > will not differentiate, and just say "schema default value".
> >
> >
> >
> > According to the "explicitly set data" RFC definition, cases 1, 2 and 3 are
> > explicitly set data, while others are not (4, 5 and 6).
> >
> > Sections 2.3.1 and 3.3 (and appendix A examples) are not clear on case 3
> > (and sometimes others as well).
> >
> >
> >
> >
> >
> >
> >
> > On section 2.3.1.
> >
> >
> >
> >
> >
> > Andy, in your 3.3 erratum response (7247), you argue that:
> >
> >             "It is not possible for a node to have a value other than the
> > YANG default and not be explicitly set."
> >
> > I agree with you (I wish this would be in the RFC!), this is true based
> > solely on the "explicitly set" definition, BUT I also believe that the 2.3.1
> > section, by partially paraphrasing the definition, is ambiguous, if not
> > prone to misunderstanding.
> >
> >
> >
> > >From section 2.3.1:
> >
> >             "When data is retrieved from a server using the 'explicit' basic
> > mode, and the <with-defaults> parameter is not present, data nodes MUST be
> > reported if explicitly set by the client, even if they contain the schema
> > default value"
> >
> > Andy, in your 2.3.1 (7246) erratum response, you first say:
> >
> >             "The intent in section 2.3.1 is that all explicitly set data is
> > returned."
> >
> > This is also how I understood the intent. However, the section formulation
> > seems wrong.
> >
> > Let us review the different cases:
> >
> > - cases 1 and 2 are directly covered
> >
> > - cases 4 and 5 are not directly covered in that section, but may be
> > inferred from the definition
> >
> > The main problem is for case 3. Indeed, by precising:
> >
> >             "*if* explicitly set **by the client**, *even if* they contain
> > the schema default value"
> >
> > (emphasis and notes mine)
> >
> > it leads to think that the opposite it NOT true, which is that if explicitly
> > set **by the server**, there is no absolute requirement for the NETCONF
> > server to report this data. To put it otherwise, this section is open to
> > interpretation on case 3: should the data be reported or not? We know the
> > answer thanks to the "schema default data" definition: it depends! If set to
> > the schema default value (case 4): NO, otherwise (case 3): YES.
> >
> >
> >
> > Although it is indeed the intent of this section, it is never clearly
> > written in the RFC that the explicit mode means reporting only explicitly
> > set data. This is why I propose to be more explicit (in the formulation).
> >
> >
> >
> > Note: you add "There is a subtle difference between a server using the YANG
> > default value because no instance exists and a server creating an instance
> > that equals the YANG default value.". I agree with you, but I fail to
> > understand why my addendum would be in contradiction.
> >
> >
> >
> >
> >
> > Rob, in your 2.3.1 (7426) erratum response, you rightly point out that the
> > section is ambiguous about
> >
> >             "default values that haven’t been explicit set by the client"
> >
> > (cases 4 and 5)
> >
> > I agree, this is my point and why I propose to add:
> >
> >             "This means that data nodes containing the schema default value
> > MUST be reported if set by a NETCONF client but MUST NOT be reported if set
> > by the NETCONF server."
> >
> > (cases 2 and 4)
> >
> > in accordance with the "explicitly set data" definition. One might say that
> > the RFC is not ambiguous as the definition is clear, however the section
> > partially paraphrasing the definition seems odd, and I believe the clearer
> > the better, even at the expense of (very small) redundancy.
> >
> >
> >
> > You ask:
> >
> >             "Dylan, is this what you were trying to clarify?"
> >
> > Well, yes but partially (again, cases number!). I think the section is also
> > ambiguous on values set by the server to values other than the schema
> > default values (case 3), hence I also add:
> >
> >             "Data nodes set by the NETCONF server to values other than their
> > schema default values MUST be reported."
> >
> > This is also why I would push for my proposed version over yours (or the
> > original text).
> >
> > Note : case 5 seems obvious enough not be added.
> >
> >
> >
> >
> >
> >
> >
> > On section 3.3 now.
> >
> >
> >
> >
> >
> > Andy, in your 3.3 erratum response (7247), you argue that the case of a node
> > that is not explicitly set is clear (case number 5). I agree with you.
> > However, I believe that case number 3 is NOT, hence my erratum which adds
> > for clarity's sake:
> >
> >             "A conceptual data node that would be set by the server to a
> > value other than its schema default value MUST be reported."
> >
> > Maybe, it is the "conceptual" part of my sentence that is wrong? I am not
> > quite sure what it means in the RFC. I only paraphrased the previous
> > sentence for harmony. Is a "conceptual data node" a node that is not
> > instantiated, but implicitly bears a value as defined in the YANG schema
> > "default"? In that case, let me rephrase the added sentence of the erratum
> > by removing "conceptual":
> >
> >             "A data node that would be set by the server to a value other
> > than its schema default value MUST be reported."
> >
> >
> >
> > Is it better this way?
> >
> >
> >
> > Note: A proposed alternative (by e-mail from Andy) was to remove "by the
> > client", but that would be wrong for case 4!!
> >
> >
> >
> >
> >
> >
> >
> > On both sections.
> >
> >
> >
> > Rob, in your 3.3 erratum response (7247), you rightly point out that a
> > NETCONF server setting configuration is a bit odd in NETCONF. I must agree
> > with you... however RFC 6243 "explicitly set data" definition states that:
> >
> >             "Any value set by the NETCONF server that is not the schema
> > defined default value is also considered explicitly set data.".
> >
> > Also, some other bits of the RFC also speak of NETCONF servers setting data:
> >
> > - section 2.3.3: "data node that has been set by the server" (twice)
> >
> > - section 3.3: "A conceptual data node that would be set by the server"
> >
> > Therefore, I think the NETCONF server being able to set data makes sense in
> > this RFC. In practice.
> >
> >
> >
> > You add that
> >
> >             "Hence, if a server is setting some of the configuration to a
> > non default-value then one could perhaps argue [...] that logically, the
> > server is also internally acting as a NETCONF/RESTCONF client"
> >
> > While I understand how one might indeed turn things in this convoluted way
> > in some particular use cases, I also think that, based on the definition, a
> > server setting data by itself must be considered first.
> >
> >
> >
> >
> >
> >
> >
> > As for the Appendix A. examples section (7428) erratum: this is to showcase
> > the case 3. I believe it to enrich the RFC, given the complexity of the
> > whole thing. Please refer to them if the present explanations are too
> > cryptic.
> >
> >
> >
> >
> >
> > As a conclusion, please acknowledge that the RFC makes it *really* difficult
> > to prove (to someone that would think otherwise) that case 3 IS explicitly
> > set data and therefore should be reported by the NETCONF server in the
> > explicit mode. One needs to discuss the whole RFC intent, rather than simply
> > having to point to the right section. This is very problematic and led some
> > manufacturers to implement the explicit mode differently.
> >
> >
> >
> >
> >
> > As a finishing note, I must admit that my errata notes are vague and
> > imprecise. I can, of course, rewrite them if necessary. I was trying to be
> > brief given my preceding explanatory e-mails and the fact that I struggle to
> > explain these subtleties briefly.
> >
> >
> >
> >
> >
> > Attached:
> >
> > - the 3 errata submissions with answers
> >
> > - the preceding e-mails
> >
> >
> >
> > If you are still not convinced, I would be glad to understand how case 3 is
> > correctly covered in section 2.3.1 and 3.3.
> >
> >
> >
> > Thank you for taking the time to review this and share your thoughts before
> > I propose errata editions.
> >
>
> > Date: Tue, 18 Apr 2023 19:52:04 +0200
> > From: Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com> <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>> >
> > To: RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>> >
> > Cc: SADOUN Dylan DTSI/DTR <dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> >,
> >  balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com> <mailto:balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com>> , netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>>
> > Subject: Re: [Editorial Errata Reported] RFC6243 (7428)
> > Message-ID: <CABCOCHQ8m=A37p=iTWzx1D23sH7tTtCM2qtvt15OJxxtUmonvw@mail.gmail.com<mailto:iTWzx1D23sH7tTtCM2qtvt15OJxxtUmonvw@mail.gmail.com> <mailto:iTWzx1D23sH7tTtCM2qtvt15OJxxtUmonvw@mail.gmail.com<mailto:iTWzx1D23sH7tTtCM2qtvt15OJxxtUmonvw@mail.gmail.com>> >
> > X-Mailer: Microsoft Outlook 16.0
> >
> > Hi,
> >
> > This Errata should be rejected.
> > There is no need to add an additional "eth4" interface entry to the examples
> > in Appendix A.
> >
> >
> > Andy
> >
> >
> > On Tue, Apr 18, 2023 at 5:38 AM RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>
> > <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>> > > wrote:
> >
> >
> > The following errata report has been submitted for RFC6243,
> > "With-defaults Capability for NETCONF".
> >
> > --------------------------------------
> > You may review the report below and at:
> > https://www.rfc-editor.org/errata/eid7428 <https://www.rfc-editor.org/errata/eid7428>
> > <https://www.rfc-editor.org/errata/eid7428 <https://www.rfc-editor.org/errata/eid7428> >
> >
> > --------------------------------------
> > Type: Editorial
> > Reported by: Dylan Sadoun <dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>
> > <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> > >
> >
> > Section: Appendix A
> >
> > Original Text
> > -------------
> > A.2.  Example Data Set
> >
> > [...]
> >
> >   <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >     <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > ">
> >       <interface>
> >         <name>eth0</name>
> >         <mtu>8192</mtu>
> >         <status>up</status>
> >       </interface>
> >       <interface>
> >         <name>eth1</name>
> >         <mtu>1500</mtu>
> >         <status>up</status>
> >       </interface>
> >       <interface>
> >         <name>eth2</name>
> >         <mtu>9000</mtu>
> >         <status>not feeling so good</status>
> >       </interface>
> >       <interface>
> >         <name>eth3</name>
> >         <mtu>1500</mtu>
> >         <status>waking up</status>
> >       </interface>
> >     </interfaces>
> >   </data>
> >
> >   In this example, the 'mtu' field for each interface entry is set in
> >    the following manner:
> >
> >               +--------------+--------------+--------------+
> >               | name         | set by       | mtu          |
> >               +--------------+--------------+--------------+
> >               | eth0         | client       | 8192         |
> >               | eth1         | server       | 1500         |
> >               | eth2         | client       | 9000         |
> >               | eth3         | client       | 1500         |
> >               +--------------+--------------+--------------+
> >
> > [...]
> >
> > A.3.1.  <with-defaults> = 'report-all'
> >
> >    The behavior of the <with-defaults> parameter handling for the value
> >    'report-all' is demonstrated in this example.
> >
> >     <rpc message-id="101"
> >          xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <get>
> >         <filter type="subtree">
> >           <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > "/>
> >         </filter>
> >         <with-defaults
> >          xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">
> >           report-all
> >         </with-defaults>
> >       </get>
> >     </rpc>
> >
> >     <rpc-reply message-id="101"
> >                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <data>
> >         <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > ">
> >           <interface>
> >             <name>eth0</name>
> >             <mtu>8192</mtu>
> >             <status>up</status>
> >           </interface>
> >           <interface>
> >             <name>eth1</name>
> >             <mtu>1500</mtu>
> >             <status>up</status>
> >           </interface>
> >           <interface>
> >             <name>eth2</name>
> >             <mtu>9000</mtu>
> >             <status>not feeling so good</status>
> >           </interface>
> >           <interface>
> >             <name>eth3</name>
> >             <mtu>1500</mtu>
> >             <status>waking up</status>
> >           </interface>
> >         </interfaces>
> >       </data>
> >     </rpc-reply>
> >
> > A.3.2.  <with-defaults> = 'report-all-tagged'
> >
> > [...]
> >
> >     <rpc message-id="102"
> >          xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <get>
> >         <filter type="subtree">
> >           <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>

> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >

> > "/>
> >         </filter>
> >         <with-defaults
> >          xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">
> >           report-all-tagged
> >         </with-defaults>
> >       </get>
> >     </rpc>
> >
> >     <rpc-reply message-id="102"
> >                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
> >                xmlns:wd="urn:ietf:params:xml:ns:netconf:default:1.0">
> >       <data>
> >         <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > ">
> >           <interface>
> >             <name>eth0</name>
> >             <mtu>8192</mtu>
> >             <status wd:default="true">up</status>
> >           </interface>
> >           <interface>
> >             <name>eth1</name>
> >             <mtu wd:default="true">1500</mtu>
> >             <status wd:default="true">up</status>
> >           </interface>
> >           <interface>
> >             <name>eth2</name>
> >             <mtu>9000</mtu>
> >             <status>not feeling so good</status>
> >           </interface>
> >           <interface>
> >             <name>eth3</name>
> >             <mtu wd:default="true">1500</mtu>
> >             <status>waking up</status>
> >           </interface>
> >         </interfaces>
> >       </data>
> >     </rpc-reply>
> >
> > A.3.3.  <with-defaults> = 'trim'
> >
> >    The behavior of the <with-defaults> parameter handling for the value
> >    'trim' is demonstrated in this example.
> >
> >     <rpc message-id="103"
> >          xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <get>
> >         <filter type="subtree">
> >           <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > "/>
> >         </filter>
> >         <with-defaults
> >          xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">
> >           trim
> >         </with-defaults>
> >       </get>
> >     </rpc>
> >
> >     <rpc-reply message-id="103"
> >                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <data>
> >         <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > ">
> >           <interface>
> >             <name>eth0</name>
> >             <mtu>8192</mtu>
> >           </interface>
> >           <interface>
> >             <name>eth1</name>
> >           </interface>
> >           <interface>
> >             <name>eth2</name>
> >             <mtu>9000</mtu>
> >             <status>not feeling so good</status>
> >           </interface>
> >           <interface>
> >             <name>eth3</name>
> >             <status>waking up</status>
> >           </interface>
> >         </interfaces>
> >       </data>
> >     </rpc-reply>
> >
> > A.3.4.  <with-defaults> = 'explicit'
> >
> >    The behavior of the <with-defaults> parameter handling for the value
> >    'explicit' is demonstrated in this example.
> >
> >     <rpc message-id="104"
> >          xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <get>
> >         <filter type="subtree">
> >           <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > "/>
> >         </filter>
> >         <with-defaults
> >          xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">
> >           explicit
> >         </with-defaults>
> >       </get>
> >     </rpc>
> >
> >     <rpc-reply message-id="104"
> >                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <data>
> >         <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > ">
> >           <interface>
> >             <name>eth0</name>
> >             <mtu>8192</mtu>
> >             <status>up</status>
> >           </interface>
> >           <interface>
> >             <name>eth1</name>
> >             <status>up</status>
> >           </interface>
> >           <interface>
> >             <name>eth2</name>
> >             <mtu>9000</mtu>
> >             <status>not feeling so good</status>
> >           </interface>
> >           <interface>
> >             <name>eth3</name>
> >             <mtu>1500</mtu>
> >             <status>waking up</status>
> >           </interface>
> >         </interfaces>
> >       </data>
> >     </rpc-reply>
> >
> > Corrected Text
> > --------------
> > A.2.  Example Data Set
> >
> > [...]
> >
> >   <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >     <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > ">
> >       <interface>
> >         <name>eth0</name>
> >         <mtu>8192</mtu>
> >         <status>up</status>
> >       </interface>
> >       <interface>
> >         <name>eth1</name>
> >         <mtu>1500</mtu>
> >         <status>up</status>
> >       </interface>
> >       <interface>
> >         <name>eth2</name>
> >         <mtu>9000</mtu>
> >         <status>not feeling so good</status>
> >       </interface>
> >       <interface>
> >         <name>eth3</name>
> >         <mtu>1500</mtu>
> >         <status>waking up</status>
> >       </interface>
> >       <interface>
> >         <name>eth4</name>
> >         <mtu>9112</mtu>
> >         <status>better call for help</status>
> >       </interface>
> >     </interfaces>
> >   </data>
> >
> >   In this example, the 'mtu' field for each interface entry is set in
> >    the following manner:
> >
> >               +--------------+--------------+--------------+
> >               | name         | set by       | mtu          |
> >               +--------------+--------------+--------------+
> >               | eth0         | client       | 8192         |
> >               | eth1         | server       | 1500         |
> >               | eth2         | client       | 9000         |
> >               | eth3         | client       | 1500         |
> >               | eth4         | server       | 9112         |
> >               +--------------+--------------+--------------+
> >
> > [...]
> >
> > A.3.1.  <with-defaults> = 'report-all'
> >
> >    The behavior of the <with-defaults> parameter handling for the value
> >    'report-all' is demonstrated in this example.
> >
> >     <rpc message-id="101"
> >          xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <get>
> >         <filter type="subtree">
> >           <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > "/>
> >         </filter>
> >         <with-defaults
> >          xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">
> >           report-all
> >         </with-defaults>
> >       </get>
> >     </rpc>
> >
> >     <rpc-reply message-id="101"
> >                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <data>
> >         <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > ">
> >           <interface>
> >             <name>eth0</name>
> >             <mtu>8192</mtu>
> >             <status>up</status>
> >           </interface>
> >           <interface>
> >             <name>eth1</name>
> >             <mtu>1500</mtu>
> >             <status>up</status>
> >           </interface>
> >           <interface>
> >             <name>eth2</name>
> >             <mtu>9000</mtu>
> >             <status>not feeling so good</status>
> >           </interface>
> >           <interface>
> >             <name>eth3</name>
> >             <mtu>1500</mtu>
> >             <status>waking up</status>
> >           </interface>
> >           <interface>
> >             <name>eth4</name>
> >             <mtu>9112</mtu>
> >             <status>better call for help</status>
> >           </interface>
> >         </interfaces>
> >       </data>
> >     </rpc-reply>
> >
> > A.3.2.  <with-defaults> = 'report-all-tagged'
> >
> > [...]
> >
> >     <rpc message-id="102"
> >          xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <get>
> >         <filter type="subtree">
> >           <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > "/>
> >         </filter>
> >         <with-defaults
> >          xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">
> >           report-all-tagged
> >         </with-defaults>
> >       </get>
> >     </rpc>
> >
> >     <rpc-reply message-id="102"
> >                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
> >                xmlns:wd="urn:ietf:params:xml:ns:netconf:default:1.0">
> >       <data>
> >         <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > ">
> >           <interface>
> >             <name>eth0</name>
> >             <mtu>8192</mtu>
> >             <status wd:default="true">up</status>
> >           </interface>
> >           <interface>
> >             <name>eth1</name>
> >             <mtu wd:default="true">1500</mtu>
> >             <status wd:default="true">up</status>
> >           </interface>
> >           <interface>
> >             <name>eth2</name>
> >             <mtu>9000</mtu>
> >             <status>not feeling so good</status>
> >           </interface>
> >           <interface>
> >             <name>eth3</name>
> >             <mtu wd:default="true">1500</mtu>
> >             <status>waking up</status>
> >           </interface>
> >           <interface>
> >             <name>eth4</name>
> >             <mtu>9112</mtu>
> >             <status>better call for help</status>
> >           </interface>
> >         </interfaces>
> >       </data>
> >     </rpc-reply>
> >
> > A.3.3.  <with-defaults> = 'trim'
> >
> >    The behavior of the <with-defaults> parameter handling for the value
> >    'trim' is demonstrated in this example.
> >
> >     <rpc message-id="103"
> >          xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <get>
> >         <filter type="subtree">
> >           <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > "/>
> >         </filter>
> >         <with-defaults
> >          xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">
> >           trim
> >         </with-defaults>
> >       </get>
> >     </rpc>
> >
> >     <rpc-reply message-id="103"
> >                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <data>
> >         <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > ">
> >           <interface>
> >             <name>eth0</name>
> >             <mtu>8192</mtu>
> >           </interface>
> >           <interface>
> >             <name>eth1</name>
> >           </interface>
> >           <interface>
> >             <name>eth2</name>
> >             <mtu>9000</mtu>
> >             <status>not feeling so good</status>
> >           </interface>
> >           <interface>
> >             <name>eth3</name>
> >             <status>waking up</status>
> >           </interface>
> >           <interface>
> >             <name>eth4</name>
> >             <mtu>9112</mtu>
> >             <status>better call for help</status>
> >           </interface>
> >         </interfaces>
> >       </data>
> >     </rpc-reply>
> >
> > A.3.4.  <with-defaults> = 'explicit'
> >
> >    The behavior of the <with-defaults> parameter handling for the value
> >    'explicit' is demonstrated in this example.
> >
> >     <rpc message-id="104"
> >          xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <get>
> >         <filter type="subtree">
> >           <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > "/>
> >         </filter>
> >         <with-defaults
> >          xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">
> >           explicit
> >         </with-defaults>
> >       </get>
> >     </rpc>
> >
> >     <rpc-reply message-id="104"
> >                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
> >       <data>
> >         <interfaces xmlns="http://example.com/ns/interfaces <http://example.com/ns/interfaces>
> > <http://example.com/ns/interfaces <http://example.com/ns/interfaces> >
> > ">
> >           <interface>
> >             <name>eth0</name>
> >             <mtu>8192</mtu>
> >             <status>up</status>
> >           </interface>
> >           <interface>
> >             <name>eth1</name>
> >             <status>up</status>
> >           </interface>
> >           <interface>
> >             <name>eth2</name>
> >             <mtu>9000</mtu>
> >             <status>not feeling so good</status>
> >           </interface>
> >           <interface>
> >             <name>eth3</name>
> >             <mtu>1500</mtu>
> >             <status>waking up</status>
> >           </interface>
> >           <interface>
> >             <name>eth4</name>
> >             <mtu>9112</mtu>
> >             <status>better call for help</status>
> >           </interface>
> >         </interfaces>
> >       </data>
> >     </rpc-reply>
> >
> > Notes
> > -----
> > This erratum expands existing examples to include the case of a server setting
> > data nodes to values other than their default schema values. This echoes the
> > other errata about sections 2.3.1 and 3.3 and the explicit retrieval mode.
> >
> > Instructions:
> > -------------
> > This erratum is currently posted as "Reported". If necessary, please
> > use "Reply All" to discuss whether it should be verified or
> > rejected. When a decision is reached, the verifying party
> > can log in to change the status and edit the report, if necessary.
> >
> > --------------------------------------
> > RFC6243 (draft-ietf-netconf-with-defaults-14)
> > --------------------------------------
> > Title               : With-defaults Capability for NETCONF
> > Publication Date    : June 2011
> > Author(s)           : A. Bierman, B. Lengyel
> > Category            : PROPOSED STANDARD
> > Source              : Network Configuration
> > Area                : Operations and Management
> > Stream              : IETF
> > Verifying Party     : IESG
> >
> >
>
> > Date: Tue, 18 Apr 2023 19:42:31 +0200
> > From: Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com> <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>> >
> > To: "Rob Wilton (rwilton)" <rwilton@cisco.com<mailto:rwilton@cisco.com> <mailto:rwilton@cisco.com<mailto:rwilton@cisco.com>> >
> > Cc: RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>> >,
> >  balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com> <mailto:balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com>> , warren@kumari.net<mailto:warren@kumari.net> <mailto:warren@kumari.net<mailto:warren@kumari.net>> , mjethanandani@gmail.com<mailto:mjethanandani@gmail.com> <mailto:mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>> ,
> >  kent+ietf@watsen.net<mailto:kent%2Bietf@watsen.net> <mailto:kent%2Bietf@watsen.net<mailto:kent%252Bietf@watsen.net>> , SADOUN Dylan DTSI/DTR <dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> >,
> >  netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>>
> > Subject: Re: [Technical Errata Reported] RFC6243 (7426)
> > Message-ID: <CABCOCHRvVLBaWUqZ88O5iPsfc9bXYOO7tT2Yh0=8ySiPYdZ2Ww@mail.gmail.com<mailto:8ySiPYdZ2Ww@mail.gmail.com> <mailto:8ySiPYdZ2Ww@mail.gmail.com<mailto:8ySiPYdZ2Ww@mail.gmail.com>> >
> > X-Mailer: Microsoft Outlook 16.0
> >
> >
> >
> > On Tue, Apr 18, 2023 at 9:55 AM Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com> <mailto:rwilton@cisco.com<mailto:rwilton@cisco.com>>
> > <mailto:rwilton@cisco.com<mailto:rwilton@cisco.com> <mailto:rwilton@cisco.com<mailto:rwilton@cisco.com>> > > wrote:
> >
> >
> > Hi Andy, Dylan,
> >
> >
> >
> > I don’t think that the proposed text is quite right, but there might be
> > something worth clarifying here.
> >
> >
> >
> > I.e., I believe that I understand what section 2.3.1 is meaning, but it doesn’t
> > define what to do for default values that haven’t been explicit set by the
> > client.  I.e., arguably, it looks servers are free to choose whether to
> > include or not include data nodes with a default value that haven’t been set
> > by the client (which I don’t think is the intent).  Note, the logically
> > equivalent section in 3.3 is more explicit that they MUST NOT be reported:
> >
> >
> >
> > <quote>
> >
> >  <https://www.rfc-editor.org/rfc/rfc6243#section-3.3 <https://www.rfc-editor.org/rfc/rfc6243#section-3.3> >
> > 3.3.  'explicit' Retrieval Mode
> >
> >
> >
> >    When data is retrieved with a <with-defaults> parameter equal to
> >
> >    'explicit', a data node that was set by a client to its schema
> >
> >    default value MUST be reported.  A conceptual data node that would be
> >
> >    set by the server to the schema default value MUST NOT be reported.
> >
> >    Non-configuration data nodes containing the schema default value MUST
> >
> >    be reported.
> >
> > <end quote>
> >
> >
> >
> > Hence, I’m wondering whether section 2.3.1 should take this sentence from
> > section 3.3:  “A conceptual data node that would be
> >
> >    set by the server to the schema default value MUST NOT be reported.”, i.e.,
> > actually read something like:
> >
> >
> >
> > <proposed>
> >
> >  <https://www.rfc-editor.org/rfc/rfc6243#section-2.3.1 <https://www.rfc-editor.org/rfc/rfc6243#section-2.3.1> >
> > 2.3.1.  'explicit' Basic Mode Retrieval
> >
> >    When data is retrieved from a server using the 'explicit' basic mode,
> >    and the <with-defaults> parameter is not present, data nodes MUST be
> >    reported if explicitly set by the client, even if they contain the
> >    schema default value.  A conceptual data node that would be set by
> >    the server to the schema default value MUST NOT be reported.
> >    Non-configuration data nodes containing the schema default value MUST
> >    be reported.
> >
> > <end proposed>
> >
> >
> >
> > Dylan, is this what you were trying to clarify?  Andy, does this change your
> > opinion?
> >
> >
> >
> >
> >
> > Your change to 2.3.1 is consistent with WG intent, so no objection.
> >
> >
> >
> >
> >
> > Thanks,
> >
> > Rob
> >
> >
> > Andy
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com> <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>>  <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com> <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>> > >
> > Sent: 18 April 2023 17:18
> > To: RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>
> > <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>> > >
> > Cc: balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com> <mailto:balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com>>  <mailto:balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com> <mailto:balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com>> > ;
> > warren@kumari.net<mailto:warren@kumari.net> <mailto:warren@kumari.net<mailto:warren@kumari.net>>  <mailto:warren@kumari.net<mailto:warren@kumari.net> <mailto:warren@kumari.net<mailto:warren@kumari.net>> > ; Rob Wilton (rwilton)
> > <rwilton@cisco.com<mailto:rwilton@cisco.com> <mailto:rwilton@cisco.com<mailto:rwilton@cisco.com>>  <mailto:rwilton@cisco.com<mailto:rwilton@cisco.com> <mailto:rwilton@cisco.com<mailto:rwilton@cisco.com>> > >; mjethanandani@gmail.com<mailto:mjethanandani@gmail.com> <mailto:mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>>
> > <mailto:mjethanandani@gmail.com<mailto:mjethanandani@gmail.com> <mailto:mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>> > ; kent+ietf@watsen.net<mailto:kent%2Bietf@watsen.net> <mailto:kent%2Bietf@watsen.net<mailto:kent%252Bietf@watsen.net>>
> > <mailto:kent%2Bietf@watsen.net<mailto:kent%252Bietf@watsen.net> <mailto:kent%252Bietf@watsen.net<mailto:kent%25252Bietf@watsen.net>> > ; dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>
> > <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> > ; netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>>  <mailto:netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>> >
> > Subject: Re: [Technical Errata Reported] RFC6243 (7426)
> >
> >
> >
> > Hi,
> >
> >
> >
> > This Errata should be rejected.
> >
> > The intent in section 2.3.1 is that all explicitly set data is returned.
> >
> > The proposed new text does not reflect this intent.
> >
> >
> >
> > There is a subtle difference between a server using the YANG default value
> > because no instance exists
> >
> > and a server creating an instance that equals the YANG default value.  The
> > server implementation
> >
> > needs to distinguish between them. The "create" and "delete" edit operations
> > are impacted by this distinction.
> >
> >
> >
> >
> >
> > Andy
> >
> >
> >
> >
> >
> > On Tue, Apr 18, 2023 at 5:35 AM RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>
> > <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>> > > wrote:
> >
> > The following errata report has been submitted for RFC6243,
> > "With-defaults Capability for NETCONF".
> >
> > --------------------------------------
> > You may review the report below and at:
> > https://www.rfc-editor.org/errata/eid7426 <https://www.rfc-editor.org/errata/eid7426>
> > <https://www.rfc-editor.org/errata/eid7426 <https://www.rfc-editor.org/errata/eid7426> >
> >
> > --------------------------------------
> > Type: Technical
> > Reported by: Dylan Sadoun <dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>
> > <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> > >
> >
> > Section: 2.3.1
> >
> > Original Text
> > -------------
> > When data is retrieved from a server using the 'explicit' basic mode, and the
> > <with-defaults> parameter is not present, data nodes MUST be reported if
> > explicitly set by the client, even if they contain the schema default value.
> > Non-configuration data nodes containing the schema default value MUST be
> > reported.
> >
> > Corrected Text
> > --------------
> > When data is retrieved from a server using the 'explicit' basic mode, and the
> > <with-defaults> parameter is not present, data nodes MUST be reported if
> > explicitly set. This means that data nodes containing the schema default value
> > MUST be reported if set by a NETCONF client, but MUST NOT be reported if set
> > by the NETCONF server. Data nodes set by the NETCONF server to values other
> > than their schema default values MUST be reported. Non-configuration data
> > nodes containing the schema default value MUST be reported.
> >
> > Notes
> > -----
> > The RFC defines "Explicitly set data" for the sole purpose of defining the
> > explicit retrieval mode. This definition is clear about when data set by the
> > server should be considered "explicitly set" i.e. when not set to the schema
> > default value. However, the 2.3.1 and 3.3 sections are ambiguous and prone to
> > misunderstanding, as they only emphasise the "set by the client" case, which
> > leads to think that data set by the server to a value different from its
> > schema default value should not be reported.
> > This erratum is for the 2.3.1 section.
> >
> > Instructions:
> > -------------
> > This erratum is currently posted as "Reported". If necessary, please
> > use "Reply All" to discuss whether it should be verified or
> > rejected. When a decision is reached, the verifying party
> > can log in to change the status and edit the report, if necessary.
> >
> > --------------------------------------
> > RFC6243 (draft-ietf-netconf-with-defaults-14)
> > --------------------------------------
> > Title               : With-defaults Capability for NETCONF
> > Publication Date    : June 2011
> > Author(s)           : A. Bierman, B. Lengyel
> > Category            : PROPOSED STANDARD
> > Source              : Network Configuration
> > Area                : Operations and Management
> > Stream              : IETF
> > Verifying Party     : IESG
> >
>
> > Date: Tue, 18 Apr 2023 19:11:39 +0200
> > From: "Rob Wilton (rwilton)" <rwilton@cisco.com<mailto:rwilton@cisco.com> <mailto:rwilton@cisco.com<mailto:rwilton@cisco.com>> >
> > To: Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com> <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>> >, RFC Errata System
> >  <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>> >, SADOUN Dylan DTSI/DTR
> >  <dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> >, netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>>
> > Cc: balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com> <mailto:balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com>> , warren@kumari.net<mailto:warren@kumari.net> <mailto:warren@kumari.net<mailto:warren@kumari.net>> ,
> >  mjethanandani@gmail.com<mailto:mjethanandani@gmail.com> <mailto:mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>> , kent+ietf@watsen.net<mailto:kent%2Bietf@watsen.net> <mailto:kent%2Bietf@watsen.net<mailto:kent%252Bietf@watsen.net>>
> > Subject: RE: [Technical Errata Reported] RFC6243 (7427)
> > Message-ID: <BY5PR11MB41966C656A3E40F44C963E5EB59D9@BY5PR11MB4196.namprd11.prod.outlook.com<mailto:BY5PR11MB41966C656A3E40F44C963E5EB59D9@BY5PR11MB4196.namprd11.prod.outlook.com> <mailto:BY5PR11MB41966C656A3E40F44C963E5EB59D9@BY5PR11MB4196.namprd11.prod.outlook.com<mailto:BY5PR11MB41966C656A3E40F44C963E5EB59D9@BY5PR11MB4196.namprd11.prod.outlook.com>> >
> > X-Mailer: Microsoft Outlook 16.0
> >
> > Hi Andy, Dylan,
> >
> >
> >
> > On this one, I agree with Andy, and I propose that we reject this errata.
> >
> >
> >
> > I may be wrong, but I don’t think that the IETF YANG and NETCONF/RESTCONF
> > standards formally define how configuration can be set outside of a client
> > operation (perhaps except bootup or sZTP), except when conceptually set to a
> > default value, which is already covered by the text.
> >
> >
> >
> > Hence, if a server is setting some of the configuration to a non default-value
> > then one could perhaps argue that is out of scope for the IETF drafts, or that
> > logically, the server is also internally acting as a NETCONF/RESTCONF client,
> > and hence Andy’s statement: “It is not possible for a node to have a value
> > other than the YANG default and not be explicitly set.” seems correct.
> >
> >
> >
> > Given that my interpretation may be going out on a limb, are there any other
> > opinions here?
> >
> >
> >
> > Regards,
> >
> > Rob
> >
> >
> >
> >
> >
> > From: Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com> <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>> >
> > Sent: 18 April 2023 17:54
> > To: RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>> >
> > Cc: balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com> <mailto:balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com>> ; warren@kumari.net<mailto:warren@kumari.net> <mailto:warren@kumari.net<mailto:warren@kumari.net>> ; Rob Wilton (rwilton)
> > <rwilton@cisco.com<mailto:rwilton@cisco.com> <mailto:rwilton@cisco.com<mailto:rwilton@cisco.com>> >; mjethanandani@gmail.com<mailto:mjethanandani@gmail.com> <mailto:mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>> ; kent+ietf@watsen.net<mailto:kent%2Bietf@watsen.net> <mailto:kent%2Bietf@watsen.net<mailto:kent%252Bietf@watsen.net>> ;
> > dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> ; netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>>
> > Subject: Re: [Technical Errata Reported] RFC6243 (7427)
> >
> >
> >
> > Hi,
> >
> >
> >
> > This Errata should be rejected.
> >
> > The additional sentence is not needed and was not left out of the original
> > text by error.
> >
> >
> >
> > This sentence refers to a node without an instance so the YANG default is used
> > instead.
> >
> >
> >
> >      A conceptual data node that would be set by the server to the schema
> > default value MUST NOT be reported.
> >
> >
> >
> > The key text is "would be set". A better clarification is "would be used"
> >
> > The intent is that the node is not explicitly set.
> >
> >
> >
> > It is not possible for a node to have a value other than the YANG default and
> > not be explicitly set.
> >
> >
> >
> > Andy
> >
> >
> >
> > On Tue, Apr 18, 2023 at 5:37 AM RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>
> > <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org> <mailto:rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>> > > wrote:
> >
> > The following errata report has been submitted for RFC6243,
> > "With-defaults Capability for NETCONF".
> >
> > --------------------------------------
> > You may review the report below and at:
> > https://www.rfc-editor.org/errata/eid7427 <https://www.rfc-editor.org/errata/eid7427>
> > <https://www.rfc-editor.org/errata/eid7427 <https://www.rfc-editor.org/errata/eid7427> >
> >
> > --------------------------------------
> > Type: Technical
> > Reported by: Dylan Sadoun <dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>
> > <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> > >
> >
> > Section: 3.3
> >
> > Original Text
> > -------------
> > When data is retrieved with a <with-defaults> parameter equal to 'explicit', a
> > data node that was set by a client to its schema default value MUST be
> > reported.  A conceptual data node that would be set by the server to the
> > schema default value MUST NOT be reported. Non-configuration data nodes
> > containing the schema default value MUST be reported.
> >
> > Corrected Text
> > --------------
> > When data is retrieved with a <with-defaults> parameter equal to 'explicit', a
> > data node that was set by a client to its schema default value MUST be
> > reported. A conceptual data node that would be set by the server to the schema
> > default value MUST NOT be reported. A conceptual data node that would be set
> > by the server to a value other than its schema default value MUST be reported.
> > Non-configuration data nodes containing the schema default value MUST be
> > reported.
> >
> > Notes
> > -----
> > The RFC defines "Explicitly set data" for the sole purpose of defining the
> > explicit retrieval mode. This definition is clear about when data set by the
> > server should be considered "explicitly set" i.e. when not set to the schema
> > default value. However, the 2.3.1 and 3.3 sections are ambiguous and prone to
> > misunderstanding, as they only emphasise the "set by the client" case, which
> > leads to think that data set by the server to a value different from its
> > schema default value should not be reported.
> > This erratum is for the 3.3 section.
> >
> > Instructions:
> > -------------
> > This erratum is currently posted as "Reported". If necessary, please
> > use "Reply All" to discuss whether it should be verified or
> > rejected. When a decision is reached, the verifying party
> > can log in to change the status and edit the report, if necessary.
> >
> > --------------------------------------
> > RFC6243 (draft-ietf-netconf-with-defaults-14)
> > --------------------------------------
> > Title               : With-defaults Capability for NETCONF
> > Publication Date    : June 2011
> > Author(s)           : A. Bierman, B. Lengyel
> > Category            : PROPOSED STANDARD
> > Source              : Network Configuration
> > Area                : Operations and Management
> > Stream              : IETF
> > Verifying Party     : IESG
> >
>
> > Date: Tue, 18 Apr 2023 14:52:50 +0200
> > From: dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>
> > To: "Jason Sterne (Nokia)" <jason.sterne@nokia.com<mailto:jason.sterne@nokia.com> <mailto:jason.sterne@nokia.com<mailto:jason.sterne@nokia.com>> >, Andy Bierman
> >  <andy@yumaworks.com<mailto:andy@yumaworks.com> <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>> >
> > Cc: draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org> <mailto:draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org>> , netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>>
> > Subject: RE: [netconf]  Regarding RFC 6243 "With-defaults Capability for
> >  NETCONF" … the devil is in the defaults
> > Message-ID: <AS8PR02MB9626152E13CD6C06A4B051FCF79D9@AS8PR02MB9626.eurprd02.prod.outlook.com<mailto:AS8PR02MB9626152E13CD6C06A4B051FCF79D9@AS8PR02MB9626.eurprd02.prod.outlook.com> <mailto:AS8PR02MB9626152E13CD6C06A4B051FCF79D9@AS8PR02MB9626.eurprd02.prod.outlook.com<mailto:AS8PR02MB9626152E13CD6C06A4B051FCF79D9@AS8PR02MB9626.eurprd02.prod.outlook.com>> >
> > X-Mailer: Microsoft Outlook 16.0
> >
> > I submitted 3 errata just now:
> >
> > 1.    One technical for the 2.3.1 section
> > 2.    One technical for the 3.3 section
> > 3.    One editorial (following advice from https://www.ietf.org/about/groups/iesg/statements/processing-errata-ietf-stream/ <https://www.ietf.org/about/groups/iesg/statements/processing-errata-ietf-stream/> , please change its classification if needed) for providing a supplementary example illustrating the case of a NETCONF server setting data to values other than their schema defaults
> >
> >
> >
> > I remain reachable by e-mail or telephone for any request.
> >
> >
> >
> > Cordialement / Regards.
> >
> >
> >
> > Dylan SADOUN
> >
> > +336 47 53 54 50
> >
> >  <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> > dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>
> >
> >
> >
> >
> >
> > Orange Restricted
> >
> > De : SADOUN Dylan DTSI/DTR
> > Envoyé : mardi 18 avril 2023 10:42
> > À : Jason Sterne (Nokia) <jason.sterne@nokia.com<mailto:jason.sterne@nokia.com> <mailto:jason.sterne@nokia.com<mailto:jason.sterne@nokia.com>> >; Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com> <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>> >
> > Cc : draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org> <mailto:draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org>> ; netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>>
> > Objet : RE: [netconf] Regarding RFC 6243 "With-defaults Capability for NETCONF" … the devil is in the defaults
> >
> >
> >
> > Hello everyone
> >
> >
> >
> > OK, thank you, I am submitting an erratum right now.
> >
> >
> >
> > Cordialement / Regards.
> >
> >
> >
> > Dylan SADOUN
> >
> > +336 47 53 54 50
> >
> >  <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> > dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>
> >
> >
> >
> >
> >
> > Orange Restricted
> >
> > De : Jason Sterne (Nokia) <jason.sterne@nokia.com<mailto:jason.sterne@nokia.com> <mailto:jason.sterne@nokia.com<mailto:jason.sterne@nokia.com>>  <mailto:jason.sterne@nokia.com<mailto:jason.sterne@nokia.com> <mailto:jason.sterne@nokia.com<mailto:jason.sterne@nokia.com>> > >
> > Envoyé : mardi 18 avril 2023 00:57
> > À : Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com> <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>>  <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com> <mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>> > >; SADOUN Dylan DTSI/DTR <dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>  <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> > >
> > Cc : draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org> <mailto:draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org>>  <mailto:draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org> <mailto:draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org>> > ; netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>>  <mailto:netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>> >
> > Objet : RE: [netconf] Regarding RFC 6243 "With-defaults Capability for NETCONF" … the devil is in the defaults
> >
> >
> >
> > I agree that any data that is set should be returned.  (note there is plenty of debate as to whether/how a *server* sets data in its own running, and several associated RFCs/drafts around this topic).
> >
> >
> >
> > From: netconf <netconf-bounces@ietf.org<mailto:netconf-bounces@ietf.org> <mailto:netconf-bounces@ietf.org<mailto:netconf-bounces@ietf.org>>  <mailto:netconf-bounces@ietf.org<mailto:netconf-bounces@ietf.org> <mailto:netconf-bounces@ietf.org<mailto:netconf-bounces@ietf.org>> > > On Behalf Of Andy Bierman
> > Sent: Friday, April 14, 2023 11:08 AM
> > To: dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>  <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> >
> > Cc: draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org> <mailto:draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org>>  <mailto:draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org> <mailto:draft-ietf-netconf-with-defaults@ietf.org<mailto:draft-ietf-netconf-with-defaults@ietf.org>> > ; netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>>  <mailto:netconf@ietf.org<mailto:netconf@ietf.org> <mailto:netconf@ietf.org<mailto:netconf@ietf.org>> >
> > Subject: Re: [netconf] Regarding RFC 6243 "With-defaults Capability for NETCONF" … the devil is in the defaults
> >
> >
> >
> >
> >
> >

> > CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext<http://nok.it/ext> <http://nok.it/ext>  for additional information.

> >
> >
> >
> > Hi,
> >
> >
> >
> > I think the text in 2.3.1 is an omission.
> >
> >
> >
> > "set by client" should be "set by client or server"
> >
> >
> >
> > Andy
> >
> >
> >
> >
> >
> > On Fri, Apr 14, 2023 at 7:53 AM <dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>  <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> > > wrote:
> >
> > Hello
> >
> >
> >

> > I am reaching you about a potential technical erratum in RFC 6243, although I am not accustomed to the IETF process. I read  <https://www.ietf.org/about/groups/iesg/statements/processing-errata-ietf-stream/ <https://www.ietf.org/about/groups/iesg/statements/processing-errata-ietf-stream/> > https://www.ietf.org/about/groups/iesg/statements/processing-errata-ietf-stream/ <https://www.ietf.org/about/groups/iesg/statements/processing-errata-ietf-stream/>  but I am still not sure if that qualifies for an erratum request. Let me share my observations with you, please tell me if I should report an erratum and in that case I will do accordingly.

> >
> >
> >
> > The RFC defines 3 ways for NETCONF servers (most commonly routers for a service provider such as my employer) to deal with default data for "get and set" NETCONF operations. Each router implementation must choose one of the 3 ways as its implicit/default/basic mode, and can also support other modes if asked to by a NETCONF client.
> >
> >
> >
> > My concern is about the explicit mode (when the NETCONF server supports it, with no distinction if it is the router's basic mode or not) and configuration data reports by NETCONF servers.
> >
> >
> >
> > The RFC defines:
> >
> >
> >> >

> > Explicitly set data
> >
> > Data that is set to any value by a NETCONF client or other management application by the way of an explicit management operation, including any data model schema default value.  Any value set by the NETCONF server that is not the schema defined default value is also considered explicitly set data.
> >
> >
> >
> > (emphasis mine. Please refer to the RFC for additional definitions).
> >
> >
> >
> > First, let me dive into the previous drafts to highlight the importance of the highlighted text. In the draft-ietf-netconf-with-defaults-04, the definition was different:
> >
> >
> >
> >
> > Explicitly set default data
> >
> > Is default data that is set by a NETCONF client or other external management application/user by the way of an actual management operation to the value specified as its default in the data model schema.  Some servers MAY treat explicitly set default data as simple default data, as they may not be able to differentiate between them. Data, that is set to a value other then its default value, is not default data, so its handling is outside the scope of this document.
> >
> >
> >
> > but as soon as the draft-ietf-netconf-with-defaults-05, the definition was changed to its final RFC form (except for one word: "actual" instead of "explicit"). Thus we can infer the early importance of the highlighted text:
> >
> > Indeed, if a NETCONF server sets some data that are NOT schema default data, these data are consired explicitly set data.
> >
> >
> >
> > The whole point of this definition and its only purpose is to later define the 'explicit' mode, the term being only used in the 2.3.  'explicit' Basic Mode and the 3.3.  'explicit' Retrieval Mode paragraphs (or in other paragraphs, when refering to the explicit mode).
> >
> > The 2.3.1.  'explicit' Basic Mode Retrieval paragraph states:
> >
> > When data is retrieved from a server using the 'explicit' basic mode, and the <with-defaults> parameter is not present, data nodes MUST be reported if explicitly set by the client, even if they contain the schema default value.  Non-configuration data nodes containing the schema default value MUST be reported.
> >
> >
> >
> > (emphasis mine).
> >
> >
> >
> > This is where I think there is a mistake in the RFC. Why would only data nodes explicitly set by the client be reported? Why not explictly set data by the server as well? There are at least 3 arguments to qualify that as a mistake:
> >
> > 1.    Firstly, what is the point of the definition highlighting that if a NETCONF server defines data (to values that are not the schema default ones) it is also explicitly set data, if that specific case is then excluded from the explicit mode paragraph?
> > 2.    Secondly, if the NETCONF server does not report this data which is not in the YANG schema, where should one be aware of the existence of this data? (other than by using another mode). Having read the RFC multiple times, it seems logical and intuitive to me that, in any mode, one should be able to find all data on the server by combining the NETCONF server report after a get AND the corresponding YANG schema.
> > 3.    Thirdly, in the trim mode, this data would indeed be reported. Isn't it weird and counter-intuitive that the trim mode be more verbose than the explicit mode?
> >
> > Please note that the RFC examples fails to address this particular situation. Maybe they should be expanded as well?
> >
> >
> >
> > To me, a correct and simpler formulation of the paragraph would be to remove "by the client":
> >
> > When data is retrieved from a server using the 'explicit' basic mode, and the <with-defaults> parameter is not present, data nodes MUST be reported if explicitly set.  Non-configuration data nodes containing the schema default value MUST be reported.
> >
> >
> >
> > the reader can then read the definition for precisions.
> >
> >
> >
> > Or, if one wants to be more precise and paraphrase the "explicitly set data" definition:
> >
> > When data is retrieved from a server using the 'explicit' basic mode, and the <with-defaults> parameter is not present, data nodes MUST be reported if explicitly set. Data nodes containing the schema default value MUST be reported if set by the a NETCONF client or other management application by the way of an explicit management operation, and MUST NOT be reported if set by the NETCONF server. Non-configuration data nodes containing the schema default value MUST be reported.
> >> >

> >
> > Additionaly, the 3.3.  'explicit' Retrieval Mode paragraph is also ambiguous:
> >
> > When data is retrieved with a <with-defaults> parameter equal to 'explicit', a data node that was set by a client to its schema default value MUST be reported.  A conceptual data node that would be set by the server to the schema default value MUST NOT be reported. Non-configuration data nodes containing the schema default value MUST be reported.
> >
> >
> >
> > What about data that was set by the NETCONF server to a value other than the schema default value? I believe it should be reported, according to the "explicitly set data" definition, and for the same reasons as the cricicism of the 2.3.1 paragraph. Thus, this part too could be expanded, e.g. to:
> >
> > When data is retrieved with a <with-defaults> parameter equal to 'explicit', a data node that was set by a client to its schema default value MUST be reported.  A conceptual data node that would be set by the server MUST be reported, expect if set to the schema default value, in which case it MUST NOT be reported. Non-configuration data nodes containing the schema default value MUST be reported.
> >
> >
> >
> > I hope I was clear enough in my explanations. Please note that this ambiguity is not only problematic in theory but also in practice, for various reasons that I can detail further if necessary.
> >
> >
> >
> > Best regards,
> >
> >
> >
> >
> >> >

> >
> > Dylan SADOUN
> >
> > +336 47 53 54 50
> >
> >  <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>> > dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com> <mailto:dylan.sadoun@orange.com<mailto:dylan.sadoun@orange.com>>
> >
> >
> >
> > OF/DTSI/DTR/RSB/DIP/TAC CO
> >
> > DTR : Direction Technique des Réseaux
> >
> > RSB : Réseaux et Services Broadband
> >
> > DIP : Département IP
> >
> > TAC CO : TAC Collecte
> >


> --
> Jürgen Schönwälder              Constructor University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://constructor.university/ <https://constructor.university/> >
>>

>
> Orange Restricted
>



--
Jürgen Schönwälder              Constructor University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://constructor.university/>



Orange Restricted