Re: [netmod] [Anima] looking for practical advice on managing YANG source in XML format RFCs

Carsten Bormann <cabo@tzi.org> Mon, 14 June 2021 15:57 UTC

Return-Path: <cabo@tzi.org>
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 A31973A28F4; Mon, 14 Jun 2021 08:57:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham 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 Y-CqFS0jQXo8; Mon, 14 Jun 2021 08:57:09 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [134.102.50.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A807E3A28EF; Mon, 14 Jun 2021 08:57:08 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G3bg36wPqz2xGV; Mon, 14 Jun 2021 17:57:03 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <73347.1623685013@dooku>
Date: Mon, 14 Jun 2021 17:57:03 +0200
Cc: netmod@ietf.org, tools-discuss@ietf.org, anima@ietf.org
X-Mao-Original-Outgoing-Id: 645379023.395463-411fa978bdf2c1252e12286f1d8b4ae1
Content-Transfer-Encoding: quoted-printable
Message-Id: <43902CCE-95BC-49FD-8637-2D975B364E82@tzi.org>
References: <6795.1623632992@localhost> <D907A27E-2A70-4292-ADFA-5D8B350E676C@tzi.org> <73347.1623685013@dooku>
To: Michael Richardson <mcr@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/2fpWDuOsfnt5JySj3EzFZxJTwKc>
Subject: Re: [netmod] [Anima] looking for practical advice on managing YANG source in XML format RFCs
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: Mon, 14 Jun 2021 15:57:12 -0000

I can’t help you with your dark desires to use XML, but I would propose the following fix for that:

— use xi:include or src= for the XML source (I forget which one works), with a static name
— simply generate a symlink from the most recent .yang to the static name in the Makefile
— use --expand for generating the submission XML.

Grüße, Carsten