Re: [netmod] [Netconf] Alternative YANG library structure for 7895bis

Martin Bjorklund <mbj@tail-f.com> Wed, 15 November 2017 12:20 UTC

Return-Path: <mbj@tail-f.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 DDF8D129436 for <netmod@ietfa.amsl.com>; Wed, 15 Nov 2017 04:20:13 -0800 (PST)
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_PASS=-0.001, URIBL_BLOCKED=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 GSlV39fMbM1a for <netmod@ietfa.amsl.com>; Wed, 15 Nov 2017 04:20:12 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id A640B129401 for <netmod@ietf.org>; Wed, 15 Nov 2017 04:20:12 -0800 (PST)
Received: from localhost (h-40-225.A165.priv.bahnhof.se [94.254.40.225]) by mail.tail-f.com (Postfix) with ESMTPSA id D1A441AE0311; Wed, 15 Nov 2017 13:20:11 +0100 (CET)
Date: Wed, 15 Nov 2017 13:20:11 +0100
Message-Id: <20171115.132011.1461354023659143851.mbj@tail-f.com>
To: vladimir@transpacket.com
Cc: rwilton@cisco.com, netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <3706518a-af15-1427-2660-f357824132f9@transpacket.com>
References: <cdc778b5-76f3-f0b2-71e3-1df5da49a2e3@transpacket.com> <47e8298b-20bb-fdbb-4181-9609a489a312@cisco.com> <3706518a-af15-1427-2660-f357824132f9@transpacket.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/dseKyj0k2isQ819CZuU8NaFIlk0>
Subject: Re: [netmod] [Netconf] Alternative YANG library structure for 7895bis
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 15 Nov 2017 12:20:14 -0000

Vladimir Vassilev <vladimir@transpacket.com> wrote:

[...]

> It is clear that datastores with non-identical models can not be
> supported with yang-library:1.0. However for the many usecases that do
> not require the complexity of having different datastore models
> (variation of the set of modules and the relevant deviations e.g. more
> complex datastore centric conformance model) one can implement NMDA
> with yang-library:1.0.
> 
> My initial proposal was a change to draft-ietf-netconf-nmda-netconf-01
> sec. 2.4. 'YANG Library Capability' to allow that usecase:
> 
> OLD:
> Support for NMDA requires the server to implement at least revision
> 201X-XX-XX of the "ietf-yang-library"
> ...
> NEW:
> Support for NMDA with datastores with non-identical models requires
> the server to implement at least revision 201X-XX-XX of the
> "ietf-yang-library"

But that would imply that we keep two versions of ietf-yang-library
around, and "current".

Also note that the new proposed version is very similar in structure
to the old yang library.  And if the server implements "identicial
models", then the "not-implemented-in" will be empty, and so the
contents of yang-library 1.1 is more or less the same as yang-library
1.0.


/martin