[Netconf] What to check in cndidate config?

Balazs Lengyel <balazs.lengyel@ericsson.com> Mon, 16 September 2013 08:16 UTC

Return-Path: <balazs.lengyel@ericsson.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 E42F811E8146 for <netconf@ietfa.amsl.com>; Mon, 16 Sep 2013 01:16:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level:
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 FLYA0q5QihDT for <netconf@ietfa.amsl.com>; Mon, 16 Sep 2013 01:16:11 -0700 (PDT)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id 669A311E8227 for <netconf@ietf.org>; Mon, 16 Sep 2013 01:14:32 -0700 (PDT)
X-AuditID: c1b4fb2d-b7f738e000003ee3-bb-5236bdc63735
Received: from ESESSHC017.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 18.69.16099.6CDB6325; Mon, 16 Sep 2013 10:13:59 +0200 (CEST)
Received: from [159.107.197.46] (153.88.183.147) by smtp.internal.ericsson.com (153.88.183.71) with Microsoft SMTP Server id 14.2.328.9; Mon, 16 Sep 2013 10:13:58 +0200
Message-ID: <5236BDC6.3050006@ericsson.com>
Date: Mon, 16 Sep 2013 10:13:58 +0200
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: "netconf@ietf.org" <netconf@ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOJMWRmVeSWpSXmKPExsUyM+Jvje7xvWZBBkeuMFtM3XSb1YHRY8mS n0wBjFFcNimpOZllqUX6dglcGeu3rWAumMtWseT3Q+YGxlssXYycHBICJhIt9xawQdhiEhfu rQeyuTiEBA4zSvzrPcUI4axhlFjQ2MkIUsUroC1xcnczmM0ioCqx5WYjE4jNJmAkMbX/PNhU UYEoiQ3bL7BA1AtKnJz5BMwWEdCUaJz1gRXEFhbQkmhd+gmsl1nAVuLCnOssELa8xPa3c5hB bCEBDYmHF/6yTmDkm4Vk1CwkLbOQtCxgZF7FyJ6bmJmTXm64iREYOAe3/NbdwXjqnMghRmkO FiVx3k16ZwKFBNITS1KzU1MLUovii0pzUosPMTJxcEo1MPJ9Dbz08ve0E7f6PNp/dTk1frcu KF3bkMe9gmt724EjVqLW0WXO7BedJ7OknssNzJ5j0eg1YcKqZ3vzN88/kG58IkdB+v/VvCUX FiRcS2dYl2K591rf/F7rZX94pDpXvZn1zWDdCf9g99n7v7LOD82+bH80UHtupuSbi0xczgdk zS+0N2ZOrVJiKc5INNRiLipOBABRcT6R6gEAAA==
Subject: [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:16:25 -0000

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.

regards Balazs

-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
System Manager
ECN: 831 7320                        Tel: +36-1-437-7320
Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com