Re: [Netconf] Confirmed commit

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 20 September 2013 05:13 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 EE4B321F86B2 for <netconf@ietfa.amsl.com>; Thu, 19 Sep 2013 22:13:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.172
X-Spam-Level:
X-Spam-Status: No, score=-103.172 tagged_above=-999 required=5 tests=[AWL=0.077, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bOBGVfO4xu54 for <netconf@ietfa.amsl.com>; Thu, 19 Sep 2013 22:13:23 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by ietfa.amsl.com (Postfix) with ESMTP id BFBC621F856A for <netconf@ietf.org>; Thu, 19 Sep 2013 22:13:22 -0700 (PDT)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id A84AB20C14; Fri, 20 Sep 2013 07:13:21 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 4-28Z9L1NtUK; Fri, 20 Sep 2013 07:13:21 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 15E9720C11; Fri, 20 Sep 2013 07:13:20 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id A2CAD2873AB3; Fri, 20 Sep 2013 07:13:15 +0200 (CEST)
Date: Fri, 20 Sep 2013 07:13:15 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@yumaworks.com>
Message-ID: <20130920051315.GA2835@elstar.local>
Mail-Followup-To: Andy Bierman <andy@yumaworks.com>, Jonathan Hansford <Jonathan@hansfords.net>, Netconf <netconf@ietf.org>
References: <76a7f77cfd72c64ce0459f00d430df4d@imap.plus.net> <a6c873ec7bf7ba7766d822c1caf3b3ea@imap.plus.net> <20130919201517.GA1886@elstar.local> <CABCOCHTOWgn7d=maj-bw7t_PooT9fJwYdoLZKP1ABcvF+=MYFA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CABCOCHTOWgn7d=maj-bw7t_PooT9fJwYdoLZKP1ABcvF+=MYFA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] Confirmed commit
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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: <http://www.ietf.org/mail-archive/web/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, 20 Sep 2013 05:13:29 -0000

On Thu, Sep 19, 2013 at 01:39:28PM -0700, Andy Bierman wrote:
> Hi,
> 
> I always found section 8.4.1, para 2 confusing.
> 
> T0: /int8.1 does not exist
> 
>    > merge /int8.1 value=20
>    > commit confirmed confirm-timeout=60
> 
> T1: /int8.1 = 20
> 
>    merge /int8.1 value=30
>    commit confirmed confirm-timeout=60
> 
> T2: /int8.1 = 30
> 
> T3: timeout occurs:
> 
> para 6 says:
> 
>    If a confirming commit is not issued, the device will revert its
>    configuration to the state prior to the issuance of the confirmed
>    commit.
> 
> 
> The problem is that there are 2 confirmed commit operations.
> At time T3 does the server go back to state T1 or T0?
> (Our server goes back to T0).
> 
> The 2nd commit contains a confirmed parameter, and para 2
> sentence 2 clearly says this is not a confirming commit.
> The text does not actually define a "confirmed commit",
> but I assume it is a commit with a confirmed parameter.
> Therefore, paragraphs 5 - 7 are wrong where they refer
> to "the confirmed commit", because there are 2 of them.
> 

Yes, this corner case where multiple confirmed commits are issued is
not described well. Your interpretation that subsequent confirmed
commits effectively extend the first one makes sense to me.

/js

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