Re: [Netconf] {+restconf}/data vs <running>

Ladislav Lhotka <lhotka@nic.cz> Wed, 26 September 2018 11:10 UTC

Return-Path: <lhotka@nic.cz>
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 780CB130E7F for <netconf@ietfa.amsl.com>; Wed, 26 Sep 2018 04:10:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7
X-Spam-Level:
X-Spam-Status: No, score=-7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 gpPzdyn3eQ8L for <netconf@ietfa.amsl.com>; Wed, 26 Sep 2018 04:10:55 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (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 62396130E53 for <netconf@ietf.org>; Wed, 26 Sep 2018 04:10:55 -0700 (PDT)
Received: from birdie (unknown [IPv6:2001:718:1a02:1::404]) by mail.nic.cz (Postfix) with ESMTPSA id 98F3062995; Wed, 26 Sep 2018 13:10:53 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1537960253; bh=YRAZMhwyAOvv159Gf13ki7p1cx7rjUh4qbk0cg5oLGU=; h=From:To:Date; b=EhrJH7hORvE7r4Gn/+kjgkcixGbADvvt/EO2oj3+tU2sj3VQO8YWotdN3dE34foZT JiEtC5tp00CtnLO5pT+bEtnPlqgxZL4aHrAAjTFFxCtg7HeFvqa4my150vVKLqhL3S rowgffVGFevOkOKC49c6N9tFDsng5WDOXz2GSfHc=
Message-ID: <620e0bb5a40c29809e7a47a0fd69b694db76d3db.camel@nic.cz>
From: Ladislav Lhotka <lhotka@nic.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Cc: Netconf <netconf@ietf.org>
Date: Wed, 26 Sep 2018 13:10:53 +0200
In-Reply-To: <20180926105813.5o47jfszwefzwloa@anna.jacobs.jacobs-university.de>
References: <87lg7osfjt.fsf@nic.cz> <20180926105813.5o47jfszwefzwloa@anna.jacobs.jacobs-university.de>
Organization: CZ.NIC
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.30.1
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/IpgE8vLlkSVRidvaa21qYdpX84g>
Subject: Re: [Netconf] {+restconf}/data vs <running>
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Configuration WG mailing 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: Wed, 26 Sep 2018 11:10:58 -0000

On Wed, 2018-09-26 at 12:58 +0200, Juergen Schoenwaelder wrote:
> On Wed, Sep 26, 2018 at 12:45:26PM +0200, Ladislav Lhotka wrote:
> > Hi,
> > 
> > draft-ietf-netconf-nmda-restconf is silent about the relationship
> > between the {+restconf}/data and the <running> datastore, and it cannot
> > be deduced from RFC 8040 either, because it only says in sec. 3.3.1:
> > 
> >    This mandatory resource [{+restconf}/data] represents the combined
> >    configuration and state data resources that can be accessed by a
> >    client.
> > 
> > I think this is a serious omission.
> 
> We are not changing {+restconf}/data.

My point is that it is unclear what {+restconf}/data really is: "the combined
configuration and state data resources" is too vague given that several
configuration datastores may be present.

>  
> > Regarding draft-lhotka-netconf-restconf-transactions-00, I received a
> > lot of criticism for changing the semantics of
> > {+restconf}/data. However, I don't think it was the case: according to
> > the above definition, it seems perfectly OK if {+restconf}/data
> > represents combined configuration **from <staging>** and state data.
> 
> Perhaps people had the impression that your proposal changes
> {+restconf}/data or that it should work with the NMDA solution.

I am arguing that I did NOT change {+restconf}/data, I just made its definition
more precise.

If configuration resources under {+restconf}/data are expected to be identical
to those under {+restconf}/ds/ietf-datastores:running, then draft-ietf-netconf-
nmda-restconf should say so.

Lada

> 
> /js
> 
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67