[netmod] Client validation text [was RE: YANG Versioning Weekly Call Minutes - 2021-04-06]

"Rob Wilton (rwilton)" <rwilton@cisco.com> Wed, 07 April 2021 09:19 UTC

Return-Path: <rwilton@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 003A83A1355 for <netmod@ietfa.amsl.com>; Wed, 7 Apr 2021 02:19:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.617
X-Spam-Level:
X-Spam-Status: No, score=-9.617 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_NONE=0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=i+SKbqNP; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=MwCcYyZU
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lza-z6ubXUOA for <netmod@ietfa.amsl.com>; Wed, 7 Apr 2021 02:19:24 -0700 (PDT)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 326543A1354 for <netmod@ietf.org>; Wed, 7 Apr 2021 02:19:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=21838; q=dns/txt; s=iport; t=1617787164; x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unZelr3n6k9wa3/1RTMPVllq9YJ6DmjIoXB1zKuCYbeyyXKYbh8YzvgaKy ytW0pbHip+g9S23gWSgjCMCDEvwYgvJPXUCN0YAsfu82LoLI2DjqcdGfBIuJ5jKdD1q+cOFe aSYRWcIj+9C+Qn3WWu1z8YETgxrHkvivXz3hL5qGC+wX4kGPLXZE18WKtzGaDo00H0A/KTlJ lph9M8uuW9dm33d96d0KnSKzpOMAnar2K6R/whwKok9p4apf92Bd3WQDHI3HZI0FElIMD4mF gXTa577LrCU7UfCPA6amZc5B4khd6PJEwkvkjqGec4Z0gqlGKeMNWT4bbEwIBfSHGptU/1Ix 2Y/CJc9fueAHfG2r4eFq4qIWNZLEI7829v+eued4vWTAWmHtszj2aSIzu4avtaTqPABLAb6h B96NuMl/WMdyX51BvL1AELVp5m4iKiW4eqHAmIGeRU6NS0NlSHn7uy7KeI/UfKYCr+b15dmJ ZMekMRZNlSkzUujIU41S6pV6z8y3hV4Wd28HVgjV7i2o+v/WfdEwVHKGTi8+RrYQU=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.82,203,1613433600"; d="scan'208,217";a="690703507"
Received: from rcdn-core-12.cisco.com ([173.37.93.148]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 07 Apr 2021 09:19:17 +0000
Received: from mail.cisco.com (xbe-aln-004.cisco.com [173.36.7.19]) by rcdn-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id 1379JHmg014462 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Wed, 7 Apr 2021 09:19:17 GMT
Received: from xfe-aln-004.cisco.com (173.37.135.124) by xbe-aln-004.cisco.com (173.36.7.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Wed, 7 Apr 2021 04:19:17 -0500
Received: from xfe-aln-003.cisco.com (173.37.135.123) by xfe-aln-004.cisco.com (173.37.135.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Wed, 7 Apr 2021 04:19:16 -0500
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (173.37.151.57) by xfe-aln-003.cisco.com (173.37.135.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3 via Frontend Transport; Wed, 7 Apr 2021 04:19:16 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QxBj67Yu/Vb/3fY6wv2C7JS359oz+Ibf9eKl6IeildeJs1Brlz6eXFJaV20VabBdbMKLQ8bCIHL0EZOEbg1iMEqlqx4rfEmQI7iN7/Hk7mkP2nTfiToWPCytb8SKjMRoCsJQyI7cYLow7NNfxJ8Ng00VNxSV9vWU7ZghFeirnSdrz/GQP6BetUIMpc0EzQwS8lcP33Mz+DfxV0trZT+Z77mKwRYFJcMs0Re6Xm674GpB64XZkgLgN9mgcIRpgonnbid8n8S+1lKzi6h/g2F8fob1xCL2x5KnmiP3iF7NnmGzJdxX7sH8SWo0UocTnIfR0DJEIgOOlTd6Dhk17CJXYg==
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-SenderADCheck; bh=FGs97D0e8k+PlLctBpgXVJ7kK9IbmivSJZMpfj65+cY=; b=e/hB5cLhYbmm5uvNUm3jzcrIi+MFBzfkPYGUQmYspCOvseNl5llFlnEjOE9dmcG3kLgPCs1JLFTmEiS3G4F5Fn7TZhSWriblBp7d/5TUqlX5Ud0ZknZ9wJDfOzFBcwGJD8orWlfWfbVBWVMPabggmG9mcKZC4fw+BRHbUQUhDaKDmxAfcWVbLt0VyEpS3hnh4olcV6JSQi7VhJwyIYAvpXPNX4p6AopNBgMEqbGtcdgS0AIz//Yx9SBU3RlB2EBK8/q/qbyHDWFmVWCkIAbCBnru5CZZGdgUzQjab5eyuEbt7p4Jb4gOqLQ/8BfOEy9UYPcxHiQRTGXsze3EUybD1g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FGs97D0e8k+PlLctBpgXVJ7kK9IbmivSJZMpfj65+cY=; b=MwCcYyZU1s/8M92uQLCU1MOyZ++kTc0chZ8m5fw7veR9+YlbJMTimDtffQLQKVN1kDOE5wjnIx0ydKYQ9rmHSKUrddJNJwYppJ53DJe/RzbO5En47qlDh+CkiSxsx+mjiLYTcvMpO8V5ud+sD5bs1E9zCVuSv1hsMOYE9osOftQ=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (2603:10b6:208:190::17) by BL0PR11MB3169.namprd11.prod.outlook.com (2603:10b6:208:69::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Wed, 7 Apr 2021 09:19:15 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::24c4:4c09:f6f0:5510]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::24c4:4c09:f6f0:5510%2]) with mapi id 15.20.3999.032; Wed, 7 Apr 2021 09:19:15 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: Client validation text [was RE: YANG Versioning Weekly Call Minutes - 2021-04-06]
Thread-Index: Adcrjvs0u1Y2kX7cTWaMCLlk2EmADg==
Date: Wed, 07 Apr 2021 09:19:15 +0000
Message-ID: <MN2PR11MB4366255A77C76D9004360169B5759@MN2PR11MB4366.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: nokia.com; dkim=none (message not signed) header.d=none;nokia.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [82.12.233.180]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: fcdccdf6-d46d-4e6e-0abe-08d8f9a636e5
x-ms-traffictypediagnostic: BL0PR11MB3169:
x-microsoft-antispam-prvs: <BL0PR11MB3169D1F36B8787470387721CB5759@BL0PR11MB3169.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Q6Cgpaypsj4YKEINf2FsYeOI049kXO+Xf9cd6qUPDGSBkviUUO+gpZRbevSJSkEJDSotuoLbLpFIAIf73zVxW9gRxwDpryG972muoVcKxSDBxIEHzyciOopiM7Yo0a0cZvEM393Zq1jR8CyaDW3s3L2yOFIr3KWq1xoFer12/vRBp6BjJTF19Xev9OHlXka/DVHDLEQFVfmmELHvI//ZwxId2JnRBTRscATNhSFUYl2wZB7WEYWlvUl7RqQLAq6YiLQsKq35MyBSKPJClGVZVNsNjEk+pcdppB+vpPVlfS3m7KbREeuNPrqtPHTQZeHDbrVZWEk3LdXK1WlHWwyZIdH3fywIin4KPoVRlQpLHUxTdrfMw36jaSH4AIaCat1AteYB4uGJtElJhMzU98HDkr0/O0nyCancKOzUQ5XCpwLZHPmbfQ9qyON4aAOBM4o9aN4a5x+1PNP0+3KjObbb/mlH1Zgzn98nWvPJDUycwGlJZ08n+9e9TEi+aiL0zAkp2VVrwUaOpTEnG8bjZKk6o7peuby3K3GeCWpnLsbf0iFBAU/PkbRouv44oOORiVwbEcjC07wAfLJdgIvtfxjBJUywsUcd48+YUSSI5h9EnSoMHSLTsrhoLiKpEAIb9RpPdxN8o/dgSMn04SaWpuOwkEusKMyiaTp/wRB5JjPz5a1lNlQF1es4jM/EfoIphVuSMwYH1rVC6ogRh5bPbDqrMToBIh0MBwSn8Q/Wty5cU88=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4366.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(396003)(136003)(346002)(376002)(366004)(66446008)(66556008)(64756008)(66946007)(2906002)(296002)(66476007)(53546011)(86362001)(6506007)(966005)(8936002)(55016002)(9686003)(52536014)(316002)(8676002)(83380400001)(26005)(478600001)(16799955002)(186003)(38100700001)(110136005)(7696005)(5660300002)(71200400001)(33656002)(166002)(76116006); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: RHP01BloBUfbCNDMuDh6NljPVRcod/f7ELyb2m7InkOIrNnMcU++S8hoMAYhR8Zls9s+Umsr06+F5D9ua06tznPN5RldAVlYdLK+RcGEBaFLvVMmLdN3k3NRY/Uf4OBhdVuHNYcs/o/JqF8YXRfhyPY2te+nco20g55cDrdm1NqhmyeCo2LziT74bZa0bC6/rX7MNsZVIlBFmJF8A4gmFu+JQy7kv0/EuqrwO+h48zORPj7WKv1K1/YJ6s0KTeLEUTXpb8ClZ7v+ogqlknlsWDaNHQFznVPecQRw2WahZYiCeSeudTTaoFB2N/+CDUyCHiTp5GNmGV/RUFUWP6glXvjJ7+zt8i5bQCCPMy2O01lmJvV9CnlncFXUyBSlqO+87sRJtVIU4N+tx6TvszN0WI8yf4/g3XuTGpTW+NQvBCQR2EXCfI5JQ/fz1Gs2RTXmgin6mqTm4NFlcdja7UByLxMeoXjYvzgiktIj4CQ8zhUn6vuJqxGZPSnoa6qTKPxJ/+qHr8TgOGkChWiz6cLUhR8nskR8711ileebfeHdS7I+KaMxSK/zafxl5dmGlG5yKRXh6MaAy6t/LBF4KErYCvu9a+z8lzHH68uA17NAAahyOOHY92vecUllJ4mQys3I+57Ggn0u8PcPb0OzrEMAFLaJJLRJatHq60Kxu29oSrtqrI5DS9tLXSd8RqkQbohVW3D61wqft/fxGp5QKKdMOIJFZv/pZ05c2qymAMrx+X3P90cOIuLGytQRixvQxuKrrQ5etWKwmdj+2Q5bQnFlV1r5oYneXMzfT/W/1x4jClDw4Y8sFMhR15Qvcv+E7TF8+en93eXDaNEYbv3B6yWk2MIgwbO6cXVYp5pnXTSTwfvNkFf37FriQ+YrRfIjtxAdKx7dvWApB/81qtUf5mXEHmozWxExag4k494mx7ZVLaDRSJOjSAaUZR1e13KUUjt6XDIAeMtdjONp2igCHJvAtXL8lmdEQiWW/yPqh7DdwD01rGlrEGMVh4vMaCrDaAL5h7k3KRysqyKd6SkpyRVmao30NR7mhKk2G/0r7eljLIBDtrqyUy0mi4UgotU69mVEvq8vflbciHTgeb/CT0kIeLqSgQ84vLNSB7WHlxqCtl7Ais0jXljdBBH3RQoFVIWepwfxaTaxZ2xpiHrrqQOGo4mcpTtj/jOqNFPlJzY2U1NivybzCVSTloQETCRTC6rjNpHh5dAEfwqc6W23lfJsTzGCKEUafgsbJBNTbJBaJcRQY4CoBIhpcC5oIVcG5JDDMjRMvDho5c4cs7PpCSwi+ULEMm0oyuLegjrlGc/lQv0IhWzRn58/ZhQt7MJxRJwP
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR11MB4366255A77C76D9004360169B5759MN2PR11MB4366namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4366.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: fcdccdf6-d46d-4e6e-0abe-08d8f9a636e5
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2021 09:19:15.1793 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: y+LFluhiCyqd04IZN7jdprcYVdoteVSs6UxbTb/ZmX3bSoLvoNJBtFCqVfDWA71RULbVOIX5pX07WFXXmJitOg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3169
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.19, xbe-aln-004.cisco.com
X-Outbound-Node: rcdn-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/m7sHmcI_J8iYG-ukoZFyEj3F7dE>
Subject: [netmod] Client validation text [was RE: YANG Versioning Weekly Call Minutes - 2021-04-06]
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Apr 2021 09:19:29 -0000

// As a contributor

Hi Jason, all,

In yesterday's meeting there was a discussion on this text, and Joe pointed out that any sensible client must validate its input.

   While incoming configuration data is checked according to YANG
   constraints, constraints on state data sent by the server MAY or MAY
   NOT be enforced.  The following guidelines are provided for client
   application designers to allow a smooth interworking with servers.

   o  A client MUST tolerate any data received (or not received) without
      crashing.

   o  A client MUST be able to discard any data that is not part of the
      model but is sent by the server additionally (e.g.  XML elements
      or attributes, JSON properties).

   o  A client SHOULD be able to handle valid parts of a received data
      set even if it discards other parts as invalid.

   o  A client SHOULD be able to handle data that is outside the
      valuespace defined, as long as it is of the same basic type.

   o  A client SHOULD be prepared to handle more items for a list or
      leaf-list than what is defined by the model.

Based on Joe's comments, I suggest that this text could potentially be written as something like:




   Client applications are expected to perform sanity checking of data

   received from a server and to handle unexpected or missing data

   gracefully, e.g., this could include ignoring unexpected data, or

   logging unexpected values for further analysis.  Clients SHOULD NOT

   discard an entire response from a server because some data contained

   within the response is not expected.  Examples of well-encoded but

   unexpected data received from a server may include:



   o  Values that are outside the value space of a data node defined

      in the YANG schema, but that are within the value space of the

      underlying base type, e.g., if the value represents an unexpected

      error condition on the server.



   o  Additional data nodes, e.g., if the server implements a

      different, but compatible, version of a YANG module.



   o  A greater or lesser number of list or leaf-list items than the

      permitted range defined in the YANG module.



   o  Non mandatory data nodes that are sometimes missing from the

      response.  Noting that the server is expected to deviate any data

      nodes for which it will never return values for.



   o  Values that do not conform to the semantic constraints of the schema.



   o  Additional YANG meta data in the encoding (e.g., XML elements or

      attributes, JSON properties).



   NMDA [RFC 8342], section 5.3, provides additional constraints on the

   data that a server can return from the operational state datastore.


Thanks,
Rob



From: netmod <netmod-bounces@ietf.org> On Behalf Of Sterne, Jason (Nokia - CA/Ottawa)
Sent: 06 April 2021 15:10
To: netmod@ietf.org
Subject: [netmod] YANG Versioning Weekly Call Minutes - 2021-04-06

YANG Versioning Weekly Call Minutes - 2021-04-06

Focus for this meeting was going through Jason's review comments for section "3.1.2 Backwards-compatibility rules for config false and output data" of https://tools.ietf.org/html/draft-ietf-netmod-yang-module-versioning-02.

(A)
Valuespace:
- value space (with a space between the words): use 7950 meaning/definition (remove the definition in our draft)
- make "must" its own bullet
- don't particularly address "description"
- Balazs propose updated text

(B)
replace this:

"an additional state leaf can easily be discarded"

with this:

"the presence of an unexpected state leaf is not typically a problem and may be ignored by the client"

(C)
replace "config=false data" in the 1st paragraph with the following (and keep the quotes - that is how RFC8342 presents it):
                "config false" data

(D)
Lots of debate about the "client" bullets in 3.1.2.  Didn't conclude.  Perhaps just summarize and say clients need to sanitize data (give examples of data they might get, values outside range)

ACTION: focus on reviewing section 3.1.2

----------------------------------------------
Weekly webex call details:
Meeting number (access code): 171 069 0374
Meeting password: semver?
Occurs every Tuesday effective Tuesday, September 1, 2020 until Tuesday, August 24, 2021 from 9:00 AM to 10:00 AM, (UTC-04:00) Eastern Time (US & Canada)
9:00 am  |  (UTC-04:00) Eastern Time (US & Canada)  |  1 hr
https://ietf.webex.com/ietf/j.php?MTID=ma7627a2ae7b770537cff5f5b89293c70
Tap to join from a mobile device (attendees only)
+1-650-479-3208,,1710690374## Call-in toll number (US/Canada)