Re: [Netconf] Comments on draft-lhotka-netconf-restconf-transactions-00

Ladislav Lhotka <lhotka@nic.cz> Fri, 13 July 2018 13:30 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 D9376130DF1 for <netconf@ietfa.amsl.com>; Fri, 13 Jul 2018 06:30:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
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 h8dRRN5oSFlU for <netconf@ietfa.amsl.com>; Fri, 13 Jul 2018 06:30:05 -0700 (PDT)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id B477C130DFC for <netconf@ietf.org>; Fri, 13 Jul 2018 06:30:04 -0700 (PDT)
Received: by trail.lhotka.name (Postfix, from userid 109) id A35B01820CBC; Fri, 13 Jul 2018 15:36:38 +0200 (CEST)
Received: from localhost (nat-2.nic.cz [217.31.205.2]) by trail.lhotka.name (Postfix) with ESMTPSA id 3722D18202E0; Fri, 13 Jul 2018 15:36:37 +0200 (CEST)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Cc: Robert Wilton <rwilton@cisco.com>, "netconf@ietf.org" <netconf@ietf.org>
In-Reply-To: <20180712214252.ukoe43tzxxf75bfz@anna.jacobs.jacobs-university.de>
References: <b26d88fe-2797-a8f8-a2e3-a5aed2fae6d7@cisco.com> <87sh4ofjyd.fsf@nic.cz> <20180712214252.ukoe43tzxxf75bfz@anna.jacobs.jacobs-university.de>
Date: Fri, 13 Jul 2018 15:30:01 +0200
Message-ID: <87zhyvmffq.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/XYXlQcLRsvh3F3fC5PYc_Su7Z_I>
Subject: Re: [Netconf] Comments on draft-lhotka-netconf-restconf-transactions-00
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.27
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: Fri, 13 Jul 2018 13:30:08 -0000

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> writes:

> On Thu, Jul 12, 2018 at 07:22:02PM +0200, Ladislav Lhotka wrote:
>> > 2) I don't think that this draft needs to mention <intended> at all.  
>> > Instead, everywhere you mention <intended> then you should be saying 
>> > <running>.  I.e. your staging datastores should update <running> on a 
>> > commit operation, just like a commit of <candidate> updates <running>.  
>> > <intended> is always just updated as a side effect of a write to 
>> > <running>, and as such is a tangential consideration.
>> 
>> The main reason for using <intended> is that the target datastore into
>> which staging datastores are merged has to be valid at all
>> times. <running> has somewhat fuzzy semantics both in NETCONF and under
>> NMDA. But yes, the text also says that essentially we have <running> and
>> <intended> being the same. NMDA explicitly permits this simplification.
>
> I think NMDA says that <running> and <intented> in general are _not_
> the same but that for _some_ implementations they may be de factor the
> same or indistinguishable. If your proposal assumes <running> equals
> <intended>, then your proposal is only applicable to _some_
> implementations.

It is indeed <intended> what is intended in my draft, I can easily avoid
mentioning <running>. The only minor deviation is that RFC 8432
says that <intended> doesn't survive reboots, which is not desirable in
this case.

Lada

>
> /js
>
> -- 
> 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/>

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