[yang-doctors] tree documentation for YANG modules composed of groupings only.

Benoit Claise <bclaise@cisco.com> Mon, 11 July 2016 14:23 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C38C12D18D for <yang-doctors@ietfa.amsl.com>; Mon, 11 Jul 2016 07:23:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.808
X-Spam-Level:
X-Spam-Status: No, score=-15.808 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, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 8qPq_O8wUp4B for <yang-doctors@ietfa.amsl.com>; Mon, 11 Jul 2016 07:23:42 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF7D012D149 for <yang-doctors@ietf.org>; Mon, 11 Jul 2016 07:23:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=380; q=dns/txt; s=iport; t=1468247022; x=1469456622; h=to:from:subject:message-id:date:mime-version: content-transfer-encoding; bh=wQd8cFup02HHxZGOeN9hsF3wNna++27a75q+IqIPWjA=; b=d1n0rNmMB2b5b1BW253hWbaLgGv+QNhsf98QiIRtJmnPNv0hOr/6+ACc Pyi8AdSqarIleP2KZQzVdVOqCoM1FP9L/SVFEjDQTIsRRYkOOYzekpJRZ 7GCQgUkqBY5b1/V/JZEniI65rGwilTzzKsC9Y0xv8F2a8y5qJ09ZfryUC Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DABACiqoNX/xbLJq1chBQqt1yECSKHbQEBAQEBAWYnhQYVdgImAl8NCAEBiCwOoGCPYo5gAQEBAQYBAQEBHgWBAYUmgXiKF4I9HQEEmRiGDYhFgVQBh3iFX5APVINzOolxAQEB
X-IronPort-AV: E=Sophos;i="5.28,346,1464652800"; d="scan'208";a="636665061"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jul 2016 14:23:39 +0000
Received: from [10.60.67.84] (ams-bclaise-8913.cisco.com [10.60.67.84]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id u6BENdNP030928 for <yang-doctors@ietf.org>; Mon, 11 Jul 2016 14:23:39 GMT
To: YANG Doctors <yang-doctors@ietf.org>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <adcb7417-a7bd-15b9-d632-6a8f522b7763@cisco.com>
Date: Mon, 11 Jul 2016 16:23:37 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/zGoZTWY5unnWqgUh7qEZllX2NkA>
Subject: [yang-doctors] tree documentation for YANG modules composed of groupings only.
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Jul 2016 14:23:43 -0000

YANG-doctors,

Should pyang provide a tree for YANG modules composed of groupings only?
For example, how should the tree be documented in 
https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-10 ?

pyang doesn't produce anything:
$ pyang -f tree ietf-yang-patch@2016-07-07.yang
$

btw, same thing for pyang -f tree ietf-restconf@2016-07-07.yang

Regards, benoit