Re: [Netconf] What to check in cndidate config?

Martin Bjorklund <mbj@tail-f.com> Mon, 16 September 2013 08:30 UTC

Return-Path: <mbj@tail-f.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 4A35821F8421 for <netconf@ietfa.amsl.com>; Mon, 16 Sep 2013 01:30:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.046
X-Spam-Level:
X-Spam-Status: No, score=-2.046 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
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 Noby02RYLi56 for <netconf@ietfa.amsl.com>; Mon, 16 Sep 2013 01:30:03 -0700 (PDT)
Received: from mail.tail-f.com (de-2007.d.ipeer.se [213.180.74.102]) by ietfa.amsl.com (Postfix) with ESMTP id 2644011E81EB for <netconf@ietf.org>; Mon, 16 Sep 2013 01:19:35 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 729231200434; Mon, 16 Sep 2013 10:19:01 +0200 (CEST)
Date: Mon, 16 Sep 2013 10:19:01 +0200
Message-Id: <20130916.101901.1139180237571657090.mbj@tail-f.com>
To: balazs.lengyel@ericsson.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <5236BDC6.3050006@ericsson.com>
References: <5236BDC6.3050006@ericsson.com>
X-Mailer: Mew version 6.5rc2 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] What to check in cndidate config?
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: Mon, 16 Sep 2013 08:31:50 -0000

Hi,

Balazs Lengyel <balazs.lengyel@ericsson.com> wrote:
> Hello,
> When editing a candidate config some model constraints may be violated
> temporarily. E.g. mandatory leafs might be added in a later separate
> edit-config. However some constraints are probably checked
> immediately, e.g. the string "XYZ" is not accepted if a leaf's type is
> int32.
> Is there somewhere a list describing which type of checks should or
> should not be checked at edit-config to the candidate, and which
> should only be checked at a validate or commit operation. Ideally this
> list of constraints/checks should be part of the YANG RFC.

See Section 8.3 in RFC 6020.


/martin