Re: [Netconf] Confirmed commit

Andy Bierman <andy@yumaworks.com> Thu, 19 September 2013 20:39 UTC

Return-Path: <andy@yumaworks.com>
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 60F4921F88B4 for <netconf@ietfa.amsl.com>; Thu, 19 Sep 2013 13:39:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.847
X-Spam-Level:
X-Spam-Status: No, score=-2.847 tagged_above=-999 required=5 tests=[AWL=0.129, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 ugNrIVL3Kh5q for <netconf@ietfa.amsl.com>; Thu, 19 Sep 2013 13:39:29 -0700 (PDT)
Received: from mail-qc0-f177.google.com (mail-qc0-f177.google.com [209.85.216.177]) by ietfa.amsl.com (Postfix) with ESMTP id 311A321F88DD for <netconf@ietf.org>; Thu, 19 Sep 2013 13:39:29 -0700 (PDT)
Received: by mail-qc0-f177.google.com with SMTP id x12so5811093qcv.22 for <netconf@ietf.org>; Thu, 19 Sep 2013 13:39:28 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=76qTqCSmrBSL9fDT2Nzhjmwavl8e0LXOOxHyFmJOenE=; b=YjMYMZJRWlTXMvptKV9im/qo4d4QBUs5oUoiYzqJ9QT7EF1AUEHNNG/TZy/N8eMlow LoQFG7ULp3zeji/vv2cV5gk/L2cLw237bCTlfCFdUvuo5zoJ1uCRzFdQEZoGF+lmMIHS wH6Hlop5HQIxvS8lasalbqpkbvKwA0B+vGXNWJr5V4q3Kp+wpg0gPzxR5AIUO9Ym0vsS y2iN8ZHbOV2/tmx2q62EYabajUUp9Lk39/NMXrMaD08771UCU610IhNFHoBGLbBp4ScY Y84t30doyP+6YRw0hG0PcZL3ZNcOhC6M0eRsS6qRjr7yeL7A9Zb1YCR4SQlwzkt2wMRR bY4A==
X-Gm-Message-State: ALoCoQkPYjEZ1ioV7m6NaMKePBaASkaFYYhFY4v178a9lCgX2K6NtIlWrr2p8waIvlW68Q2B6otn
MIME-Version: 1.0
X-Received: by 10.224.130.72 with SMTP id r8mr1095855qas.32.1379623168481; Thu, 19 Sep 2013 13:39:28 -0700 (PDT)
Received: by 10.140.26.209 with HTTP; Thu, 19 Sep 2013 13:39:28 -0700 (PDT)
In-Reply-To: <20130919201517.GA1886@elstar.local>
References: <76a7f77cfd72c64ce0459f00d430df4d@imap.plus.net> <a6c873ec7bf7ba7766d822c1caf3b3ea@imap.plus.net> <20130919201517.GA1886@elstar.local>
Date: Thu, 19 Sep 2013 13:39:28 -0700
Message-ID: <CABCOCHTOWgn7d=maj-bw7t_PooT9fJwYdoLZKP1ABcvF+=MYFA@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Jonathan Hansford <Jonathan@hansfords.net>, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="001a1132ec70e1ab2504e6c28c11"
Subject: Re: [Netconf] Confirmed commit
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.12
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: <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: Thu, 19 Sep 2013 20:39:34 -0000

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.


Andy



On Thu, Sep 19, 2013 at 1:15 PM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Thu, Sep 19, 2013 at 09:07:17PM +0100, Jonathan Hansford wrote:
> >
> >
> > After about two hours digging around in the NETCONF archive and then
> > a Google search on "confirmed commit", I've come to the conclusion
> > confirmed commit has come out of the JUNOS "commit confirmed" command.
> > My guess is the JUNOS command is shorthand for "revert this commit after
> > the timeout unless it is confirmed"; not exactly clear. Indeed, I would
> > have thought "commit confirmed" would be the command to confirm the
> > previous commit, though obviously that would overload the meaning of the
> > original "commit" command since it would not persist without the
> > confirmation.
> >
> > But "confirmed commit" implies the commit has been
> > confirmed, not that it needs to be confirmed. Isn't this confusing to
> > anyone else?
>
> There is the ':confirmed-commit' capability, there is the 'confirming
> commit' and there is the initial commit which is sometimes called the
> 'confirmed commit'. I assume it is this last one term you believe is
> confusing since it is the 'to be confirmed commit'. Perhaps we could
> have picked a better term - but as long as the description is clear
> (section 8.4 of RFC 6241), I think we are in a good enough state.
>
> /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/>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>