Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04
Andy Bierman <andy@yumaworks.com> Sun, 17 November 2019 23:12 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 7E575120116 for <netmod@ietfa.amsl.com>; Sun, 17 Nov 2019 15:12:42 -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 nowBYKV4Xm2b for <netmod@ietfa.amsl.com>; Sun, 17 Nov 2019 15:12:40 -0800 (PST)
Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (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 5E5C912010F for <netmod@ietf.org>; Sun, 17 Nov 2019 15:12:40 -0800 (PST)
Received: by mail-lf1-x129.google.com with SMTP id v24so1324741lfi.7 for <netmod@ietf.org>; Sun, 17 Nov 2019 15:12:40 -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=qsxTjOeQY207nUt/2HKhF0p/VgFbwlflUubvbVngeME=; b=ufU1kyD6h2Jhqf73/5GwsUf27ebs86HiOMAox331q5kSdiqkvkczI7pcVHo22n96HP qGBdNa0vr+z4WJ58aiaax+yW6HfnFMyQEPAXeIEIHZS1kL13XcCMmlpcgG9ZUdZhJ2wd TZlQpsVahYauHZq4vKk53r6PVZvTNARQ1yc1kaK7JEmveucuD/Y1tFmAkAXxlNjqlduR HHAabyV0BCL2iRgMS8IhXyXK633yxv1XXEoD5Z6V6N12AStiKs9N3N2x0YKEpfIyHWXq m3qp//5LeOZOXNsxSxGZSkX6CB9z/nTL2dV+6CsIG8pjJlUXMpcLI75+aB8bkS/q/7I7 gaFA==
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=qsxTjOeQY207nUt/2HKhF0p/VgFbwlflUubvbVngeME=; b=HYAAmCsnuTfiPz1/zEpTIq5hDcKHx6Dvy6YzClp44rrxv3jqtmDN1XaGmmgTXAj4em T9LJUovt4oZnLsUj5uIh8Hh4rABbu/p+KDhcRSC/v8fXF1hbg0GdGI0KJinxXfHSUH6p +zwq1+M1fc+2gR00HBpTTb1fy8f8lZr9C3foSkfYJ8L5W34xVKX4soy9RPNLHvUVEef+ 6B//IAlYTrl8hL7V84FkJSo/GiaG5Dir11YeGwrGfNdt0ufe5k9gxucwVfl4Hc0cEfBE aP2cvGTS6mOXsQkDX8ac1LdJURsz4lBAIpBopQPkD69rxw+W/LdOHIOjx5UNn4Z5CExQ Kswg==
X-Gm-Message-State: APjAAAXBUAE4895y9WFEwWm9FhblPhBgJm6y3vbrKx1IghlW2durzNqt 7z9Np7pSj/3TYAGWlquAooFxd1ftuiEuhdqH6AHo0w==
X-Google-Smtp-Source: APXvYqxjs1Y1PQ5UvwTn1+vU7YdBpkE7UzuA+sQv4N+wkV1+tjXYYqNs2uGCtakqe7j5PZII2R59kM50wJ/kKx2QfZI=
X-Received: by 2002:ac2:5685:: with SMTP id 5mr7119335lfr.32.1574032358555; Sun, 17 Nov 2019 15:12:38 -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> <CABCOCHS_BKp3JxucfhWqYPdOP-+5=uOFBymWW5OvDAvgF+3tug@mail.gmail.com> <AM7PR07MB6214BF5FAE135FE35DD2FF81F0720@AM7PR07MB6214.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB6214BF5FAE135FE35DD2FF81F0720@AM7PR07MB6214.eurprd07.prod.outlook.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Sun, 17 Nov 2019 15:12:27 -0800
Message-ID: <CABCOCHTToR1wtKg2XRuNTbLL0e=jzqMKR31dR+ue+8OqzmSURg@mail.gmail.com>
To: Balázs Lengyel <balazs.lengyel@ericsson.com>
Cc: Martin Bjorklund <mbj@tail-f.com>, NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000098dbb3059792f78a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ogfpdzLcd3-FMjJZlTjARcS0OMU>
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 23:12:42 -0000
On Sun, Nov 17, 2019 at 10:01 AM Balázs Lengyel <balazs.lengyel@ericsson.com> wrote: > See below BALAZS3. > > > > *From:* Andy Bierman <andy@yumaworks.com> > *Sent:* 2019. november 18., hétfő 0:58 > *To:* Balázs Lengyel <balazs.lengyel@ericsson.com> > *Cc:* Martin Bjorklund <mbj@tail-f.com>; NetMod WG <netmod@ietf.org> > *Subject:* Re: [netmod] comments on > draft-ietf-netmod-yang-instance-file-format-04 > > > > 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>; 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 > > > > BALAZS3: > > IMO the anydata is specified. The leaf-list inline-module defines the > modules that define how anydata inline-schema should look like. > > anydata inline-schema { > > mandatory true; > > description > > "*Instance data corresponding to the YANG modules* > > * specified in the inline-module* ... > > > > The fileReader/fileWriter shall look at the ‘*leaf-list inline-module*’ > and from that it knows what to read/write. > > > > I wanted to state that inline-schema anydata always follows the > ietf-yang-library and maybe some YAMs augmenting it. However Juergen > insisted in a more flexible solution. > I think the following text (or similar) should be added to the description-stmt above This node SHOULD contain a single container instance which represents either the /yang-library or /modules-state subtree. This allows for exceptions but still provides interoperability instructions. Andy > >
- [netmod] comments on draft-ietf-netmod-yang-insta… Martin Bjorklund
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Andy Bierman
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Andy Bierman
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Andy Bierman
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Andy Bierman
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Martin Bjorklund
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Martin Bjorklund
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Martin Bjorklund
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Andy Bierman
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Martin Bjorklund
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Andy Bierman
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Andy Bierman
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Andy Bierman
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Martin Bjorklund
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Rob Wilton (rwilton)
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Andy Bierman
- Re: [netmod] comments on draft-ietf-netmod-yang-i… Balázs Lengyel