Re: [netmod] YAng-Tree for a YANG structure

Jan Lindblad <janl@tail-f.com> Wed, 03 April 2019 15:30 UTC

Return-Path: <janl@tail-f.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C55041205EA for <netmod@ietfa.amsl.com>; Wed, 3 Apr 2019 08:30:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.854
X-Spam-Level: *
X-Spam-Status: No, score=1.854 tagged_above=-999 required=5 tests=[HTML_IMAGE_ONLY_16=1.048, HTML_IMAGE_RATIO_02=0.805, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BR0zb-hQemTy for <netmod@ietfa.amsl.com>; Wed, 3 Apr 2019 08:30:39 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id DCF3E12008B for <netmod@ietf.org>; Wed, 3 Apr 2019 08:30:36 -0700 (PDT)
Received: from [172.20.10.4] (host-95-199-2-121.mobileonline.telia.com [95.199.2.121]) by mail.tail-f.com (Postfix) with ESMTPSA id A34B01AE02BD; Wed, 3 Apr 2019 17:30:33 +0200 (CEST)
From: Jan Lindblad <janl@tail-f.com>
Message-Id: <5ED7D3B5-F393-4C85-8294-6B3CD4CF351A@tail-f.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_891158C5-733A-4A7D-8C3D-813148FB3B68"
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
Date: Wed, 03 Apr 2019 17:30:31 +0200
In-Reply-To: <92454923-211d-ffad-88e9-a23fb9bae8f2@ericsson.com>
Cc: "netmod@ietf.org" <netmod@ietf.org>
To: Balázs Lengyel <balazs.lengyel@ericsson.com>
References: <92454923-211d-ffad-88e9-a23fb9bae8f2@ericsson.com>
X-Mailer: Apple Mail (2.3445.102.3)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/-W0S_ObbKGV7bLQAnIltFqVOar4>
Subject: Re: [netmod] YAng-Tree for a YANG structure
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Apr 2019 15:30:45 -0000

Balazs,
> In draft-ietf-netmod-yang-data-ext <https://tools.ietf.org/wg/netmod/draft-ietf-netmod-yang-data-ext/> the extension structure is defined. In my draft about instance data format I plan to use this in a YANG model. Kent raised the question about providing a YANG Tree description of the model. 
> 
> Is there any idea how the data nodes inside a yang "structure" should be represented in a tree? Any idea when pyang will be prepared for that?
> 
FWIW, here is a format I have used:



Best Regards,
/jan