Re: [YANG] keyref

Andy Bierman <ietf@andybierman.com> Wed, 23 January 2008 06:10 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 1JHYou-0007iT-G6; Wed, 23 Jan 2008 01:10:44 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JHYot-0007iL-EJ for yang-confirm+ok@megatron.ietf.org; Wed, 23 Jan 2008 01:10:43 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JHYos-0007hr-7O for yang@ietf.org; Wed, 23 Jan 2008 01:10:42 -0500
Received: from smtp119.sbc.mail.sp1.yahoo.com ([69.147.64.92]) by ietf-mx.ietf.org with smtp (Exim 4.43) id 1JHYor-0003UU-Dd for yang@ietf.org; Wed, 23 Jan 2008 01:10:41 -0500
Received: (qmail 33475 invoked from network); 23 Jan 2008 06:10:40 -0000
Received: from unknown (HELO ?192.168.0.10?) (andybierman@att.net@67.126.240.103 with plain) by smtp119.sbc.mail.sp1.yahoo.com with SMTP; 23 Jan 2008 06:10:40 -0000
X-YMail-OSG: j1Br06MVM1nOrg5_96wVtD.3PPmyy7FAc_JguR3gM93k26oU
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4796DA75.7090106@andybierman.com>
Date: Tue, 22 Jan 2008 22:11:01 -0800
From: Andy Bierman <ietf@andybierman.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
Subject: Re: [YANG] keyref
References: <200801230521.m0N5LFGR019757@idle.juniper.net>
In-Reply-To: <200801230521.m0N5LFGR019757@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b19722fc8d3865b147c75ae2495625f2
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

Phil Shafer wrote:
> Andy Bierman writes:
>> Phil Shafer wrote:
>>> Andy Bierman writes:
>>>> IMO, leafref as a documentation clause does the same thing
>>>> but way simpler.  The DM reader should not have to be an expert
>>>> in Xpath, and need to hunt down the relevant documentation,
>>>> just to find out a leaf's data type.
>>> Are you saying you prefer this relationship to be defined in English
>>> words instead of a formal language?  The "description" statement
>>> for the leaf can provide the words, but we hope to provide something
>>> that a generic manager implementation can use to process module
>>> contents.
>> I already made a proposal -- instead of a builtin type called keyref
>> there would be an optional clause for a leaf of leaf-list called
>> leafref that has the path-stmt from the keyref as its argument.
> 
> Your proposal called this a "documentation clause", which implies
> something targeted to humans and not usable by software.  This
> would be bad, but I would live with a distinct statement for the
> ref target that is a formal target.

Yes -- only used like like an optional documentation clause,
but the argument would be the same path-stmt from keyref-stmt.


> 
> Thanks,
>  Phil
> 
> 

Andy


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