Re: [netmod] Proposal to enhance the YANG tree output

Robert Wilton <> Fri, 15 September 2017 13:51 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 378D312421A for <>; Fri, 15 Sep 2017 06:51:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id tWj5ygS8ZKyz for <>; Fri, 15 Sep 2017 06:51:01 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 96D1E1332E1 for <>; Fri, 15 Sep 2017 06:51:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;;; l=1045; q=dns/txt; s=iport; t=1505483460; x=1506693060; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=omCo2OZNYZnlSb96bBLznryOJ8qa6YuHcJHJJbK3l18=; b=jkcnH6qWQKB3l/+ncCSOwhApWtulYo07XFIscBhidPR0KlvDrrXEB3L/ dacTlsVQBFQbrP8YR+xqvd5ZqB+mjbnf5NeQEvXn+JwE+70EDW1W2IeP/ FfnBgbx/Yk432X8XMTkF3RMCBwVnGDIBIXrUhBZYIQrrJUguJz+hgl/fb E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0C+AQD52btZ/xbLJq1dGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBhSyEHIsUkEgrmDkKhTwChG0UAQIBAQEBAQEBayiFGQEFIw8BBVE?= =?us-ascii?q?LDgoCAiYCAlcGAQwIAQGKL6wFgieLMgEBAQEBAQEDAQEBAQEBIoEOgh2DUoIOC?= =?us-ascii?q?4JyhESDR4JgBYc/mUWPD4VGi1eHIY1dh1WBOTYhgQ0yIQgcFYdmP4lHAQEB?=
X-IronPort-AV: E=Sophos;i="5.42,397,1500940800"; d="scan'208";a="655666180"
Received: from (HELO ([]) by with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Sep 2017 13:50:58 +0000
Received: from [] ( []) by (8.14.5/8.14.5) with ESMTP id v8FDowwa003493; Fri, 15 Sep 2017 13:50:58 GMT
To: Martin Bjorklund <>,
References: <> <> <> <> <20170915121552.7hjqodubjgkvvr7i@elstar.local> <> <20170915134156.vlq7o2qzyafzje5v@elstar.local>
From: Robert Wilton <>
Message-ID: <>
Date: Fri, 15 Sep 2017 14:50:58 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <20170915134156.vlq7o2qzyafzje5v@elstar.local>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <>
Subject: Re: [netmod] Proposal to enhance the YANG tree output
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 15 Sep 2017 13:51:02 -0000

On 15/09/2017 14:41, Juergen Schoenwaelder wrote:
> On Fri, Sep 15, 2017 at 02:33:57PM +0100, Robert Wilton wrote:
>> Perhaps "-X" could be used for "execute" instead?
> A single uppercase letter? Looks ugly to my eyes. This is all very
> subjective and perhaps things were easier as long as there was just
> a tool. ;-)
My rational was that there aren't too many RPCs or Actions defined hence 
changing it would be OK. :-)

I thought about suggesting "X" and "O" for deprecated and obsolete, but 
that would seem to draw attention to those nodes, which is probably the 
reverse of what is wanted.

I guess another alternative could be to leave deprecated and obsolete 
nodes out of the YANG tree output all together ... Personally, I like 
the idea of leaving out obsolete nodes since they are just noise, but 
I'm less sure about leaving out the deprecated nodes.  However, I know 
that Martin has left out the deprecated -state tree in 7223bis to make 
the tree diagram more concise.


> /js