Re: [netmod] WGLC - Comparison of NMDA datastores - draft-ietf-netmod-nmda-diff-03

Schönwälder, Jürgen <J.Schoenwaelder@jacobs-university.de> Wed, 19 February 2020 16:57 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
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 B228712022D; Wed, 19 Feb 2020 08:57:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.435
X-Spam-Level: *
X-Spam-Status: No, score=1.435 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SBL_CSS=3.335, SPF_NONE=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jacobsuniversity.onmicrosoft.com
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 yg0IfPV2aDJm; Wed, 19 Feb 2020 08:57:31 -0800 (PST)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2054.outbound.protection.outlook.com [40.107.22.54]) (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 020F8120241; Wed, 19 Feb 2020 08:57:30 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KxioloKiH9WxMygWsYDF489WFKfcRaHSAItHTvXiu0SakySxsW7vQZMp5qX5xQbzYi8PQZhXL3+pdYWXJNIYrDltz0+3y1QIWD0DwEEsBMBG9LJn3s6CsyacDjVhhN9r+TCpIxErEx41z8OKDOh0Enh6V2zasEjI3yGZAC/giuGzsfXjo894xkOKWZk9HFfV7z7QtxQKVM+ryo0N6OF76YSworFh+QhmdqyisqXKb+ZRQmYNQKeOb4LDbQ64y/puWBcHtsqIIwmxLpWwwiYTpWlNIeWqyLbOdS8M1n1R8xXylFr5WAIdS7GGVHceuqojRaeVZ2BSr6/sSG7AiVu6Tg==
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=HL5vUl8fMYsySDVLv0fRJtQByCica6smjCPSIxw9RHY=; b=Q/bME7n2CCphr0q7Fnv6ZSu05VUEHatJdkyjthw+4FEVsiimd/ToD3C6zE2+vgJGUXwCBMNn1RB9S0nvGd4TDlnQaKZuPifF4TGRU0QpEk+E3bBf9u+o+WmHl1gOxAWO0SAPKHzKVNZrdqBs7g9wnDtk7OSj60pa9cv5W3HhDk6gSArZwkxhfvT0atrgQ8QG0+6iT7uumq+FdgfIA6eYDvsURzw8SHdM7a4nPClcMknvjBfsCgnM/3Bus+tE9NAvy1XsYreNsgmWboAfDdkP1jBvmhKGDdnkiDQ18Kxk+f2bYzj1BpO1cWiX8wfq2XWrMKxSizbH7qeJBDLpDDlefQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HL5vUl8fMYsySDVLv0fRJtQByCica6smjCPSIxw9RHY=; b=SjEeqLx8nrGXPjksB1IIWWeacQSuJzwMvPwxB1P5SdpK3Fi4JS5ums0WeXDIhk8Y4xJKsnB3/NHjcJRbMG1O0yHdqe4Mh7RpO3js2o1V4ZxRqxPbFuCFPHZy7hHLoblWZ7LZGXfUazUowj4FcgfIl06kFbBKdG62DJWT6l7SbKY=
Received: from DB6P190MB0312.EURP190.PROD.OUTLOOK.COM (10.165.140.31) by DB6P190MB0327.EURP190.PROD.OUTLOOK.COM (10.175.242.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.29; Wed, 19 Feb 2020 16:57:28 +0000
Received: from DB6P190MB0312.EURP190.PROD.OUTLOOK.COM ([fe80::2cda:e754:4835:c579]) by DB6P190MB0312.EURP190.PROD.OUTLOOK.COM ([fe80::2cda:e754:4835:c579%3]) with mapi id 15.20.2729.032; Wed, 19 Feb 2020 16:57:28 +0000
Received: from localhost (212.201.44.247) by AM3PR05CA0122.eurprd05.prod.outlook.com (2603:10a6:207:2::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.25 via Frontend Transport; Wed, 19 Feb 2020 16:57:28 +0000
From: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
To: Joel Jaeggli <joelja@bogus.com>
CC: "netmod@ietf.org" <netmod@ietf.org>, "netmod-chairs@ietf.org" <netmod-chairs@ietf.org>
Thread-Topic: [netmod] WGLC - Comparison of NMDA datastores - draft-ietf-netmod-nmda-diff-03
Thread-Index: AQHV5cpjTZuQg6TmkkSwH9n+2ZnT06giv7+A
Date: Wed, 19 Feb 2020 16:57:28 +0000
Message-ID: <20200219165727.ha6hhu5onoueznvw@anna.jacobs.jacobs-university.de>
References: <687b863b-4d54-db67-e3af-b08588c85360@bogus.com>
In-Reply-To: <687b863b-4d54-db67-e3af-b08588c85360@bogus.com>
Reply-To: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: AM3PR05CA0122.eurprd05.prod.outlook.com (2603:10a6:207:2::24) To DB6P190MB0312.EURP190.PROD.OUTLOOK.COM (2603:10a6:6:34::31)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=J.Schoenwaelder@jacobs-university.de;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [212.201.44.247]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 72b9ad87-a512-4edb-a8c1-08d7b55ccd38
x-ms-traffictypediagnostic: DB6P190MB0327:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <DB6P190MB03277931170EC2827DDC4514DE100@DB6P190MB0327.EURP190.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0318501FAE
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(366004)(376002)(396003)(39850400004)(136003)(199004)(189003)(71200400001)(8936002)(6916009)(66556008)(6486002)(5660300002)(4326008)(3450700001)(66446008)(66946007)(66476007)(64756008)(2906002)(956004)(54906003)(478600001)(6496006)(186003)(81156014)(786003)(81166006)(316002)(26005)(8676002)(966005)(86362001)(1076003)(52116002)(16526019); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6P190MB0327; H:DB6P190MB0312.EURP190.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: jacobs-university.de does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: h4annwbHzkjEyeSUS0CIiTngQc3M0TQojPwB1jozYDLx8XHAmmRm+mfdVnHYZngbIjw5xq1u7/ZWvfTk0E+XTTTybMcdydCycSIdeHw5Ngn+xUtDT2ym11wr8dnii+F8e4g8ZgauW3xVpF8PyFjm2oPOsZ0XWD0BUrgg5/irZqwer/AbobAzs6P+pnjYdJuKSXijwtmfOgtG70C6ZtHAdPLqK89efFLyiaCQkuVWEwMa9IfciHXpPDd4BRgWBCfGKgr283nYvVV8/MPYFwsgiscXQ7G3VeEgybeWbNrzwjv7rvi4DbQ1GvR1UUZJFCWRMS4kap6oHsf5936J5uQ2RTj9ARO76Tvaz8vpvxljePV/FT3ShWpEXlt7OfzF6i+YGpe+qtwN5G5u6Xc/hEDVmPtP6LOLE8AsxBAzUFXqlfa+QJCjBjqLAw55QOPO0n1PZmuKVPvqcFhBDKLBOmZ4oCB8SHJssswLishqCI/W693hpO59VAvy6nDJGbcmad313b1cC481Rmu6mp94sF+Jqg==
x-ms-exchange-antispam-messagedata: zR5Nk3zk/2IHL+6y0RObmTFSfJwTLnq3PQRkZSgGuf2GzPkEa1vY7f9WqVGJRCOJzFBijhe35ZcN5XvYMv9fh1c0pzrzSI7qNv2bnxJLnXbJZwPxQQl5DwhJpxOKJEtoczfY9P0VnNTLvAJUUUg5FA==
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <E65B757F6E4AA849A26153211BDEF747@EURP190.PROD.OUTLOOK.COM>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 72b9ad87-a512-4edb-a8c1-08d7b55ccd38
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Feb 2020 16:57:28.3124 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ghR3Nhcp9bF64s2KMUwOkSo3i/Zk3mJYvTsVobw9fk/ZFtbovJyu51qtDbnJKvQ9gdRVLGPsKGNX707U5U4U+9hjeWVmoHhaE4SCvVw1B6k=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6P190MB0327
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/tFamR1ofCMaonVA4S_1TZBHe_Dc>
Subject: Re: [netmod] WGLC - Comparison of NMDA datastores - draft-ietf-netmod-nmda-diff-03
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, 19 Feb 2020 16:57:34 -0000

Hi,

this is a good document that deserves to go forward. Some comments...

- In the introduction, you may want to mention that applied config
  often differs from config because applied config includes stuff that
  was learned or generated by the system (e.g., IP addresses obtained
  via DHCP or generated by the kernel itself). This applies to systems
  that otherwise implement NC or RC in a synchronous update manner,
  i.e., a difference between <intended> and <applied> is for many
  operational systems likely the normal situation and not an
  exceptional one.

- I do not understand this:

      [...]  (The filter dow not contain expressions that
      would match values data nodes, as this is not required by most use
      cases and would complicate the scheme, from implementation to
      dealing with race conditions.)

  Despite the wording nits, I fail to understand the race condition
  argument. It seems the filters are the same as we have them in other
  places and this is good and a strong argument by itself. Reusing
  concepts is a good thing. Just state that and remove potentially
  hand-waving arguments about race conditions created by filtering on
  values. (And subtree filters can filter out certain interfaces by
  matching the <name/> element.)

- I think you should import the term 'schema node' (and if necessary
  also other terms) from RFC 7950. Perhaps merge section 2+3 into a
  section Terminology that has the RFC2119 blurb and states that this
  specification uses the terminology defined in RFC 7950 and RFC 8342.

- Given that the applied configuration includes learned and system
  provided data, it may make a lot of sense to filter on origin so
  that learned or system generated config is not part of the
  comparison. I think this is really missing. Of course, one can
  filter the result to get rid of all 'learned' items but the whole
  point of the compare RPC is to avoid long responses that are not
  needed. The get-data operation defined in RFC 8526 has an origin
  filter that may be reused. (Perhaps it makes sense to align the
  parameters with RFC 8526 get-data even further.)

- Why do we need the 'no-matches' leaf? Why not simply return an empty
  'differences' container?

- Nit

  OLD

   RPC request to compare <operational< (source of the comparison) with
   <intended>(target of the comparison):

  NEW

   RPC request to compare <operational> (source of the comparison) with
   <intended> (target of the comparison):

- I have not validated the examples.

- Section 7 talks about rejecting frequent requests. It may be useful
  to specify which error response is returned in this case so that
  coders implement the same behavior.

- Perhaps the document should spell out how compare interacts with
  NACM. I kind of assume that NACM rules are applied before the
  content is compared, i.e., data that is not accessible won't get
  compared. Well, whatever the correct behavior is, I think this
  deserves to be spelled out.

- I would probably have picked in ietf-interfaces example to avoid a
  reference to a work in progress but this does not really matter
  much.

/js

On Mon, Feb 17, 2020 at 11:42:01AM -0800, Joel Jaeggli wrote:
> Greetings,
> 
> This was supposed to get processed shortly after IETF 106, however I lost track of it. We are therefore running a 2 week WGLC on draft-ietf-netmod-nmda-diff-03.
> 
> https://datatracker.ietf.org/doc/draft-ietf-netmod-nmda-diff/
> 
> the 02 - 03 diff is available here:
> 
> https://www.ietf.org/rfcdiff?url1=draft-ietf-netmod-nmda-diff-02&url2=draft-ietf-netmod-nmda-diff-03
> 
> Please send email to the list indicating your support or concerns.
> 
> This WGLC will conclude Monday March 2nd.
> 
> 
> Thank you,
> NETMOD WG Chairs
> 


> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>