Re: [YANG] default values

Ladislav Lhotka <lhotka@cesnet.cz> Thu, 17 January 2008 16:57 UTC

Return-path: <yang-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1JFY3D-0000i4-PK; Thu, 17 Jan 2008 11:57:11 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JFY3C-0000hr-Du for yang-confirm+ok@megatron.ietf.org; Thu, 17 Jan 2008 11:57:10 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JFY3C-0000hb-3a for yang@ietf.org; Thu, 17 Jan 2008 11:57:10 -0500
Received: from office2.cesnet.cz ([195.113.144.244]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1JFY3B-00066y-O4 for yang@ietf.org; Thu, 17 Jan 2008 11:57:10 -0500
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 50A39D800C5; Thu, 17 Jan 2008 17:57:09 +0100 (CET)
Subject: Re: [YANG] default values
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Andy Bierman <ietf@andybierman.com>
In-Reply-To: <478F7766.4080905@andybierman.com>
References: <DCABA351-3933-4AED-A6E6-80C5F85E3F9C@jdscons.com> <1200501131.7029.151.camel@missotis> <49B89097-B9C1-44FE-A59E-FA12B2D546F2@jdscons.com> <1200556619.10666.16.camel@missotis> <478F17B4.7060500@ericsson.com> <1200565743.10666.64.camel@missotis> <20080117112702.GA29235@elstar.local> <1200571644.10666.91.camel@missotis> <20080117135724.GC29301@elstar.local> <1200582110.19372.43.camel@missotis> <20080117152200.GA29447@elstar.local> <478F7766.4080905@andybierman.com>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Thu, 17 Jan 2008 17:57:09 +0100
Message-Id: <1200589029.19372.100.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.1
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: ffa9dfbbe7cc58b3fa6b8ae3e57b0aa3
Cc: yang@ietf.org
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=subscribe>
Errors-To: yang-bounces@ietf.org

Andy Bierman píše v Čt 17. 01. 2008 v 07:42 -0800:
> I strongly object to removing the default-stmt.
> As Balazs pointed out, if a WG does not agree on a suitable
> default value, they do not have to define one.  This clause
> is needed to support NETCONF, not only to provide as much
> machine-readable info about the data model characteristics,
> but to simplify NETCONF tasks for operators and applications.

Operators should only be concerned with the defaults used by their front
ends - and these would typically include much more than just the MUST
defaults that YANG can handle.

> 
> There are likely to be many knobs in a real config file that are optional
> and have suitable agent-supplied default values.  It is very useful

How many of them could possibly be of the MUST sort? I don't know many.
The default is a weak concept, it's not like a fixed constant.

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



_______________________________________________
YANG mailing list
YANG@ietf.org
https://www1.ietf.org/mailman/listinfo/yang