Re: [YANG] 7.8.3 unique statement
Balazs Lengyel <balazs.lengyel@ericsson.com> Fri, 11 January 2008 17:27 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 1JDNfE-0005Sh-2n; Fri, 11 Jan 2008 12:27:28 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43)
id 1JDNfD-0005Sb-5W
for yang-confirm+ok@megatron.ietf.org; Fri, 11 Jan 2008 12:27:27 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1JDNfC-0005ST-SA
for yang@ietf.org; Fri, 11 Jan 2008 12:27:26 -0500
Received: from mailgw3.ericsson.se ([193.180.251.60])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1JDNfC-0001Mu-Et
for yang@ietf.org; Fri, 11 Jan 2008 12:27:26 -0500
Received: from mailgw3.ericsson.se (unknown [127.0.0.1])
by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id
BF6F420845; Fri, 11 Jan 2008 18:27:25 +0100 (CET)
X-AuditID: c1b4fb3c-aef95bb0000030cf-8e-4787a6fdece5
Received: from esealmw127.eemea.ericsson.se (unknown [153.88.254.122])
by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id
A063B20479; Fri, 11 Jan 2008 18:27:25 +0100 (CET)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by
esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);
Fri, 11 Jan 2008 18:27:25 +0100
Received: from [159.107.197.224] ([159.107.197.224]) by
esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);
Fri, 11 Jan 2008 18:27:25 +0100
Message-ID: <4787B188.5010301@ericsson.com>
Date: Fri, 11 Jan 2008 19:12:24 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
Subject: Re: [YANG] 7.8.3 unique statement
References: <47879832.8020201@andybierman.com> <20080111.174410.174968555.mbj@tail-f.com> <4787A152.4030104@andybierman.com>
<20080111.181307.139544515.mbj@tail-f.com>
In-Reply-To: <20080111.181307.139544515.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 11 Jan 2008 17:27:25.0147 (UTC)
FILETIME=[3B38AAB0:01C85477]
X-Brightmail-Tracker: AAAAAA==
X-Spam-Score: -1.0 (-)
X-Scan-Signature: 79899194edc4f33a41f49410777972f8
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
Martin Bjorklund wrote: > Andy Bierman <ietf@andybierman.com> wrote: >> Martin Bjorklund wrote: >>>> It is also OK to apply the default once. >>> So you would allow one instance with the default, and the rest has to >>> have values set? >>> >> no -- the value specified by the default can be used once. >> If the leaf is not provided, and its value has not been used >> yet, then it is OK to apply the default and still be unique. > > I think that this translates to treating a leaf that has its default > the same way as a non-existing leaf (in the unique test). > > I don't understand the difference between Martin's original proposal and Andy's. Can you give me an example please ? Can I create two such leafs without specifying the value i.e. using the default? That sounds a strange kind of unique to me. Balazs _______________________________________________ YANG mailing list YANG@ietf.org https://www1.ietf.org/mailman/listinfo/yang
- [YANG] 7.8.3 unique statement Andy Bierman
- Re: [YANG] 7.8.3 unique statement Martin Bjorklund
- Re: [YANG] 7.8.3 unique statement Andy Bierman
- Re: [YANG] 7.8.3 unique statement Martin Bjorklund
- Re: [YANG] 7.8.3 unique statement Andy Bierman
- Re: [YANG] 7.8.3 unique statement Martin Bjorklund
- Re: [YANG] 7.8.3 unique statement Balazs Lengyel