Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04

Andy Bierman <andy@yumaworks.com> Sun, 17 November 2019 16:58 UTC

Return-Path: <andy@yumaworks.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 679401201A3 for <netmod@ietfa.amsl.com>; Sun, 17 Nov 2019 08:58:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 qlmwHbh-Zpq1 for <netmod@ietfa.amsl.com>; Sun, 17 Nov 2019 08:58:03 -0800 (PST)
Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1276F120019 for <netmod@ietf.org>; Sun, 17 Nov 2019 08:58:03 -0800 (PST)
Received: by mail-lj1-x233.google.com with SMTP id p18so16079217ljc.6 for <netmod@ietf.org>; Sun, 17 Nov 2019 08:58:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BBE06wVZOcucacNdM3HcIjiZ75blSfgweioyecOYBl0=; b=e99vtaqpJbogCTI1/vgmhcFOubEeSiBYCLVJSQbjdph5CMJCMS3jbbAU6WlzP7KPs4 8MM7NTR51vyQG0mpVa35SL5YVd+Wrr5sWJkGTBFJYBomuuEj7ahZ1lhKqg8SJtIkz0PQ Bq/kef73NpdFFC2ZTNZEoMUsP72B2rsNvcU+EZCtEycKMBuM/gKpee0hs/7ASCM6lWUE bFXgrSjHhRc6HBzi+147TTqZPn8PjktzryLQ6lxf1G0j/DLyMkDA9e9sLI792TUfWDWi RN4lvV3frFEDWSEbIDxFbpVtZqIy+G+L7GrWk81ezzcFcgc4eHWlv/auq5Tpf7wqTELn 7NkQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BBE06wVZOcucacNdM3HcIjiZ75blSfgweioyecOYBl0=; b=eXFYQsfuXj4LNy5wKPI7m+DTMM+y6ixdx1blmJSXkuIGvdcoQkl8Yj83pRfEnpiGl1 k416ryrQ8njAZ40qjVEaHBXgzug890AVtrd7n0TTslvJO36ulH+t3a1ZSHH0QPOXOQNL h0M0opW778UwNxDGm+i1l4vNfmImOgaTv/ToT4FBgGfusKzc6AnPq4eCNnx/XlmyUwz7 wSdzudF8TaIUM+o6LjeQ7GN2YABECactFbzBE6A4g/F6l/V5rCJJfhTiagGwu5/T1MYn CtF2+gEiic8tDGn9jeyqGKSOfObEUnmpTXXKHZe+ZGFWda6mcycL+BUpmVmYlu6Y5snJ f9xA==
X-Gm-Message-State: APjAAAVWIQuNEy144/jsJvJdTnsyFXJsFNLtRBdMxSKVaZk8xk4ahd1L PdmNNqClhWZttorkgJZFIcGnNRArAwZADH22Sg+B2w==
X-Google-Smtp-Source: APXvYqyTPi6utTbl6mqbQeMqVGeI7QhLKFsV8bigYxyNwHgOOcgaiPPpvc2DGg9RSP4F77MyH7D1p8RkMVRdkP36T4E=
X-Received: by 2002:a05:651c:1127:: with SMTP id e7mr17605396ljo.70.1574009881229; Sun, 17 Nov 2019 08:58:01 -0800 (PST)
MIME-Version: 1.0
References: <CABCOCHShFd41gcGLTSjJQMWCA4Ak_QX2iHpng_6DBqLRf23vqw@mail.gmail.com> <AM7PR07MB62148A605167BD4D046A2E3DF0790@AM7PR07MB6214.eurprd07.prod.outlook.com> <CABCOCHT0G+4zT2ApvRA1rgO3j4BR0gEbeiP4XDWV0nq4rxjxGQ@mail.gmail.com> <20191107.092440.1454377708605915338.mbj@tail-f.com> <CABCOCHSmknTvCXK4e+3Oz2JRR6SNi7zQgj9L3=fxgK2KEBmTOg@mail.gmail.com> <AM7PR07MB62148270F4ABAC0B19050A0EF0720@AM7PR07MB6214.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB62148270F4ABAC0B19050A0EF0720@AM7PR07MB6214.eurprd07.prod.outlook.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Sun, 17 Nov 2019 08:57:50 -0800
Message-ID: <CABCOCHS_BKp3JxucfhWqYPdOP-+5=uOFBymWW5OvDAvgF+3tug@mail.gmail.com>
To: =?UTF-8?Q?Bal=C3=A1zs_Lengyel?= <balazs.lengyel@ericsson.com>
Cc: Martin Bjorklund <mbj@tail-f.com>, NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d8160205978dbb9a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/tL6E1gOM_abQ1SNkWWRXfS_pMJE>
Subject: Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04
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: Sun, 17 Nov 2019 16:58:05 -0000

On Sun, Nov 17, 2019 at 6:19 AM Balázs Lengyel <balazs.lengyel@ericsson.com>
wrote:

>
>
>
>
> *From:* Andy Bierman <andy@yumaworks.com>
> *Sent:* 2019. november 7., csütörtök 23:58
> *To:* Martin Bjorklund <mbj@tail-f.com>
> *Cc:* Balázs Lengyel <balazs.lengyel@ericsson.com>om>; NetMod WG <
> netmod@ietf.org>
> *Subject:* Re: [netmod] comments on
> draft-ietf-netmod-yang-instance-file-format-04
>
>
>
> It seems strange that the details that don't matter at all (like the
> filename) have lots
>
> of rules that MUST be followed and the details that actually add standards
> value are left unspecified.
>
>
>
> Andy
>
>
>
> BALAZS2: Actually what is missing, unspecified?
>

The inline-schema is under-specified.
There is no way for the file reader to know what to expect as the child
nodes of inline-schema.
The file writer can put anything there and a 3rd party reader tool is
expected to support it.

           anydata inline-schema {
             mandatory true;
             description
               "Instance data corresponding to the YANG modules
                specified in the inline-module nodes defining the set
                of content defining YANG modules for this
                instance-data-set.";

           }


Andy