Re: [Netconf] Does NMDA support synchronous configuration operation?

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 22 June 2018 22:47 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 42AA6130F0D for <netconf@ietfa.amsl.com>; Fri, 22 Jun 2018 15:47:34 -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 JK1cog5nehPW for <netconf@ietfa.amsl.com>; Fri, 22 Jun 2018 15:47:32 -0700 (PDT)
Received: from anna.localdomain (anna.eecs.jacobs-university.de [IPv6:2001:638:709:5::7]) by ietfa.amsl.com (Postfix) with ESMTP id 5B32F130F08 for <netconf@ietf.org>; Fri, 22 Jun 2018 15:47:32 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id 5A1F1228A9B4; Sat, 23 Jun 2018 00:47:31 +0200 (CEST)
Date: Sat, 23 Jun 2018 00:47:31 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Henry Yu <hyu2010b@gmail.com>
Cc: netconf@ietf.org
Message-ID: <20180622224731.dvjo3vzcxkc46ggl@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Henry Yu <hyu2010b@gmail.com>, netconf@ietf.org
References: <CAFsbzLmF+=x7Uiru8mT_17gGxmPwaLn_k735JMDVyo3OTumZRQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAFsbzLmF+=x7Uiru8mT_17gGxmPwaLn_k735JMDVyo3OTumZRQ@mail.gmail.com>
User-Agent: NeoMutt/20180512
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Wp0zM9uxrojBcpsXkgUREUtrnb4>
Subject: Re: [Netconf] Does NMDA support synchronous configuration operation?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
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, 22 Jun 2018 22:47:34 -0000

This is not really a question of NMDA as defined in RFC 8341 since RFC
8341 does not detail the protocol operations.

The edit-data operation defined in draft-ietf-netconf-nmda-netconf-06
is, in the sense of draft-ietf-netmod-opstate-reqs-04, basically
synchronous. There is no option to force it to be synchronous, i.e.,
to block until all affected components and the server's applied
configuration have been updated.

Some servers may have the property that all edit-data operations
effectively are synchronous - but then you may see errors (and perhaps
noticable delays) if you want to configure hardware that currently is
not present or slow to get updated.

/js

On Fri, Jun 22, 2018 at 04:33:04PM -0400, Henry Yu wrote:
> Hi all,
> 
> Does NMDA (RFC 8341) support the synchronous configuration operation,
> defined in [draft-ietf-netmod-opstate-reqs-04]?
> 
>  [draft-ietf-netmod-opstate-reqs-04] and its solution
> [draft-kwatsen-netmod-opstate-02] have been replaced by RFC 8341.
> However, it seems that RFC 8341 only requires asynchronous config
> operations. i.e., When an intended configuration is received by the
> sever, it is written to <intended> once it passes the schematic
> validation, and applying the configuration to devices is a separate
> action. Is that a correct understanding?  (I read some discussions [3]
> from the archive, but I am still not quite certain. Any clarification
> is appreciated.)
> 
> Thanks,
> Henry
> 
>  [draft-ietf-netmod-opstate-reqs-04]
> https://tools.ietf.org/html/draft-ietf-netmod-opstate-reqs-04
> [draft-kwatsen-netmod-opstate-02]
> https://www.ietf.org/archive/id/draft-kwatsen-netmod-opstate-02.txt
> [3] https://www.ietf.org/mail-archive/web/netmod/current/msg15113.html
> 
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf

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