[YANG] 2 more naming issues
Andy Bierman <ietf@andybierman.com> Sun, 06 April 2008 20:05 UTC
Return-Path: <yang-bounces@ietf.org>
X-Original-To: yang-archive@optimus.ietf.org
Delivered-To: ietfarch-yang-archive@core3.amsl.com
Received: from core3.amsl.com (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 674123A6872; Sun, 6 Apr 2008 13:05:32 -0700 (PDT)
X-Original-To: yang@core3.amsl.com
Delivered-To: yang@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4B5E93A6CF8 for <yang@core3.amsl.com>; Sun, 6 Apr 2008 13:05:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.543
X-Spam-Level:
X-Spam-Status: No, score=-2.543 tagged_above=-999 required=5 tests=[AWL=0.056, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iGCymov5RDMo for <yang@core3.amsl.com>; Sun, 6 Apr 2008 13:05:27 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id 2049528C13D for <yang@ietf.org>; Sun, 6 Apr 2008 13:04:58 -0700 (PDT)
Received: (qmail 40232 invoked from network); 6 Apr 2008 20:05:09 -0000
Received: from unknown (HELO ?127.0.0.1?) (andybierman@att.net@67.125.158.234 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 6 Apr 2008 20:05:07 -0000
X-YMail-OSG: I0nBk5IVM1kZ2_lTFeon7p.rXTVLJC1a2Ufz13Aq5zPu86Oq
X-Yahoo-Newman-Property: ymail-3
Message-ID: <47F92CEC.6050500@andybierman.com>
Date: Sun, 06 Apr 2008 13:05:00 -0700
From: Andy Bierman <ietf@andybierman.com>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
To: yang <yang@ietf.org>
Subject: [YANG] 2 more naming issues
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: yang-bounces@ietf.org
Errors-To: yang-bounces@ietf.org
Hi, 1) named augment Is there any value in adding user-assigned identifiers to augment-stmt instances? SMIv2 has this feature. The entire issue of augments, including augment of an augment, should be reconsidered, and if so, augment-by-name instead of augment-by-target may work better. 2) named uses Is there any value in adding user-assigned identifiers to uses-stmt instances? This is relevant because a uses-stmt can contain refinements, making it (in effect) a '1-off' grouping definition. It may be useful to refer to specific uses-stmts in normative RFC text, outside the YANG module. An identifier may be easier to read than an Xpath expression. IMO, YANG naming would be a lot cleaner if: 1) all groupings and objects shared the same naming scope 2) all object nodes had a name [object = data, rpc, or notification] Andy _______________________________________________ YANG mailing list YANG@ietf.org https://www.ietf.org/mailman/listinfo/yang
- [YANG] 2 more naming issues Andy Bierman