[Netconf] 4741bis - validate

Martin Bjorklund <mbj@tail-f.com> Thu, 30 April 2009 13:56 UTC

Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost []) by core3.amsl.com (Postfix) with ESMTP id CE1FA3A6919 for <netconf@core3.amsl.com>; Thu, 30 Apr 2009 06:56:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.182
X-Spam-Status: No, score=-1.182 tagged_above=-999 required=5 tests=[AWL=-0.625, BAYES_05=-1.11, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([]) by localhost (core3.amsl.com []) (amavisd-new, port 10024) with ESMTP id kxfIluw-s8rQ for <netconf@core3.amsl.com>; Thu, 30 Apr 2009 06:56:47 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se []) by core3.amsl.com (Postfix) with ESMTP id 4CBC53A6CDD for <netconf@ietf.org>; Thu, 30 Apr 2009 06:55:46 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se []) by mail.tail-f.com (Postfix) with ESMTPSA id 77E9B61603A for <netconf@ietf.org>; Thu, 30 Apr 2009 15:57:07 +0200 (CEST)
Date: Thu, 30 Apr 2009 15:57:07 +0200
Message-Id: <20090430.155707.34413266.mbj@tail-f.com>
To: netconf@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: [Netconf] 4741bis - validate
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 30 Apr 2009 13:56:47 -0000


This is the first of a couple of emails identifying some open issues
for 4741 bis.  I will do more some other day.

The problem is that it is unclear if <validate> with inline config
must be a complete config or some kind of "partial" config.  As has
been discussed earlier on the list and most recently in S.F., the way
it is defined, it must be a complete config.

A related problem is that inline validation of a complete config is
not very useful in real life (see
e.g. http://ops.ietf.org/lists/netconf/netconf.2006/msg01229.html).

Because of this, some implementations support a 'test-only' option to
(http://ops.ietf.org/lists/netconf/netconf.2006/msg01206.html), which
can be used to validate partial edits to a given data store.

There are a couple of alternatives:

  1.  Keep :validate 1.0 as it is, and clarify that inline config must be
      a complete config.

  2.  As 1 + add a :validate 1.1 which adds the 'test-only' option.
      A server can advertise both 1.0 and 1.1 if it wants to.

  3.  Just describe a :validate 1.1 which adds the 'test-only' option
      and removes the inline config option.

If 1 is choosen, 'test-only' could be added in a separate capability
in another document.