Re: [YANG] mandatory & default
Balazs Lengyel <balazs.lengyel@ericsson.com> Mon, 28 January 2008 08:24 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 1JJPIK-0004ER-VB; Mon, 28 Jan 2008 03:24:44 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43)
id 1JJPIJ-0004EK-Ic
for yang-confirm+ok@megatron.ietf.org; Mon, 28 Jan 2008 03:24:43 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1JJPII-0004EB-UI
for yang@ietf.org; Mon, 28 Jan 2008 03:24:42 -0500
Received: from mailgw4.ericsson.se ([193.180.251.62])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1JJPIH-0001HL-HY
for yang@ietf.org; Mon, 28 Jan 2008 03:24:42 -0500
Received: from mailgw4.ericsson.se (unknown [127.0.0.1])
by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id
E56E42148D; Mon, 28 Jan 2008 09:24:40 +0100 (CET)
X-AuditID: c1b4fb3e-abdeabb0000007e1-53-479d9148b074
Received: from esealmw127.eemea.ericsson.se (unknown [153.88.254.122])
by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id
D457221461; Mon, 28 Jan 2008 09:24:40 +0100 (CET)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by
esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);
Mon, 28 Jan 2008 09:24:40 +0100
Received: from [159.107.197.224] ([159.107.197.224]) by
esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);
Mon, 28 Jan 2008 09:24:40 +0100
Message-ID: <479D9148.1090905@ericsson.com>
Date: Mon, 28 Jan 2008 09:24:40 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: Andy Bierman <ietf@andybierman.com>
Subject: Re: [YANG] mandatory & default
References: <4799FD8F.1090402@andybierman.com> <479A002E.3070708@ericsson.com>
<479A1918.2040203@andybierman.com>
In-Reply-To: <479A1918.2040203@andybierman.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 28 Jan 2008 08:24:40.0403 (UTC)
FILETIME=[3A24D230:01C86187]
X-Brightmail-Tracker: AAAAAA==
X-Spam-Score: -1.0 (-)
X-Scan-Signature: de4f315c9369b71d7dd5909b42224370
Cc: yang <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
See below! Andy Bierman wrote: > - default-value: means if the leaf does not exist, the server will use > this value internally, but the leaf really does not exist. Can not be > used with mandatory. "Must" statements consider the leaf not-existing but > we introduce a special hasDefault() function. Or alternatively as a > CLR "must" considers the leaf existing.) > > ------ > [BALAZS]: Using the with-defaults statement you will get back the non-existing default even though the leaf "set" only by the default value does not exist. Balazs > IMO, this 'default-value' is unacceptable. > A manager application may need to retrieve all the nodes that > exist in the database. _______________________________________________ YANG mailing list YANG@ietf.org https://www1.ietf.org/mailman/listinfo/yang
- [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Balazs Lengyel
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Ladislav Lhotka
- Re: [YANG] mandatory & default Martin Bjorklund
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Martin Bjorklund
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Martin Bjorklund
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Phil Shafer
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Randy Presuhn
- Re: [YANG] mandatory & default Phil Shafer
- Re: [YANG] mandatory & default Phil Shafer
- Re: [YANG] mandatory & default Ladislav Lhotka
- Re: [YANG] mandatory & default Balazs Lengyel
- Re: [YANG] mandatory & default Juergen Schoenwaelder
- Re: [YANG] mandatory & default Ladislav Lhotka
- Re: [YANG] mandatory & default Juergen Schoenwaelder
- Re: [YANG] mandatory & default Ladislav Lhotka
- Re: [YANG] mandatory & default Juergen Schoenwaelder
- Re: [YANG] mandatory & default Balazs Lengyel
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Ladislav Lhotka
- Re: [YANG] mandatory & default tom.petch
- Re: [YANG] mandatory & default Andy Bierman