Re: [YANG] new pyang errors

Phil Shafer <phil@juniper.net> Fri, 18 January 2008 21:11 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 1JFyUj-0000uo-22; Fri, 18 Jan 2008 16:11:21 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JFyUh-0000kq-N5 for yang-confirm+ok@megatron.ietf.org; Fri, 18 Jan 2008 16:11:19 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JFyUh-0000hL-87 for yang@ietf.org; Fri, 18 Jan 2008 16:11:19 -0500
Received: from exprod7og106.obsmtp.com ([64.18.2.165]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1JFyUg-0004Xs-Nk for yang@ietf.org; Fri, 18 Jan 2008 16:11:19 -0500
Received: from source ([66.129.224.36]) by exprod7ob106.postini.com ([64.18.6.12]) with SMTP; Fri, 18 Jan 2008 13:11:11 PST
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); Fri, 18 Jan 2008 13:08:38 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id m0IL8c900830; Fri, 18 Jan 2008 13:08:38 -0800 (PST) (envelope-from phil@idle.juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1]) by idle.juniper.net (8.13.8/8.13.8) with ESMTP id m0IL8M38012597; Fri, 18 Jan 2008 21:08:27 GMT (envelope-from phil@idle.juniper.net)
Message-Id: <200801182108.m0IL8M38012597@idle.juniper.net>
To: Andy Bierman <andy@andybierman.com>
Subject: Re: [YANG] new pyang errors
In-reply-to: <4790DD1E.7090807@andybierman.com>
Date: Fri, 18 Jan 2008 16:08:22 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 18 Jan 2008 21:08:38.0917 (UTC) FILETIME=[4BE57B50:01C85A16]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d17f825e43c9aed4fd65b7edddddec89
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 writes:
>Mandatory means it must be present in a
>valid config, not that the manager must set some value.

That's certainly not the way I read mandatory.  Mandatory
means that it must be set, meaning that some{one,thing}
must set it.  If there were a reasonable default, you
shouldn't need to make it mandatory.

Thanks,
 Phil


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