[netmod] validity of instance-data

Ladislav Lhotka <lhotka@nic.cz> Tue, 06 November 2018 09:59 UTC

Return-Path: <lhotka@nic.cz>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id 0ED7B128A5C for <netmod@ietfa.amsl.com>; Tue, 6 Nov 2018 01:59:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id ndajGX0O8ash for <netmod@ietfa.amsl.com>; Tue, 6 Nov 2018 01:59:36 -0800 (PST)
Received: from trail.lhotka.name (trail.lhotka.name []) by ietfa.amsl.com (Postfix) with ESMTP id 25DF61277C8 for <netmod@ietf.org>; Tue, 6 Nov 2018 01:59:36 -0800 (PST)
Received: by trail.lhotka.name (Postfix, from userid 109) id 9779C182113C; Tue, 6 Nov 2018 11:07:24 +0100 (CET)
Received: from localhost (dhcp-9cfe.meeting.ietf.org []) by trail.lhotka.name (Postfix) with ESMTPSA id 7157C1821139 for <netmod@ietf.org>; Tue, 6 Nov 2018 11:07:22 +0100 (CET)
From: Ladislav Lhotka <lhotka@nic.cz>
To: netmod@ietf.org
Mail-Followup-To: netmod@ietf.org
Date: Tue, 06 Nov 2018 16:59:28 +0700
Message-ID: <87sh0eil1b.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/nCaRpaxl_3uwnyRFD3OOWiiOpLs>
Subject: [netmod] validity of instance-data
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: Tue, 06 Nov 2018 09:59:38 -0000


the second bullet of Appendix A in
draft-ietf-netmod-yang-instance-file-format-00 talks about
validity. This would make sense if we have a complete schema - YANG
modules, even with revisions, is not enough. The schema can be provided
off-line but it can also be specified as a part of the metadata.

I would suggest to extend the metadata with the following two optional
methods of specifying the schema:

1. the schema can be specified in-line, for example in the format of the
   new YANG library, i.e. as a list of module-sets

2. A URL specifying the location of the schema.


Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67