Re: [netmod] Comment on draft-clacla-netmod-yang-model-update-02

Ladislav Lhotka <lhotka@nic.cz> Wed, 15 November 2017 13:05 UTC

Return-Path: <lhotka@nic.cz>
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 324BE126DCA for <netmod@ietfa.amsl.com>; Wed, 15 Nov 2017 05:05:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.999
X-Spam-Level:
X-Spam-Status: No, score=-6.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 CkUWDAfeCuwu for <netmod@ietfa.amsl.com>; Wed, 15 Nov 2017 05:05:30 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0DCA41270A7 for <netmod@ietf.org>; Wed, 15 Nov 2017 05:05:30 -0800 (PST)
Received: from birdie (unknown [IPv6:2001:67c:1232:144:1a4f:a84b:2bfd:c611]) by mail.nic.cz (Postfix) with ESMTPSA id 060EA643EF for <netmod@ietf.org>; Wed, 15 Nov 2017 14:05:27 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1510751128; bh=mmvDEs48wCQZpJSuSKRlwMz91K+r3Bjw0yOJzV9DcoU=; h=From:To:Date; b=fHHyPnaiwNGqHFOTcGsWW7P3J+qxbq3ZX1yd4ME005QbwablMVI/BxSiJCll33ct4 ieGClGhQK0HkktxwFS66jMlfgXBP8AwKXBw7v8JkODh3Dfpp98Ivz+UMim0KlV52RE VhzfNjWvdZaHgDE531YdseJgQLLEkqiUSfA9PRas=
Message-ID: <1510751195.21877.25.camel@nic.cz>
From: Ladislav Lhotka <lhotka@nic.cz>
To: netmod@ietf.org
Date: Wed, 15 Nov 2017 21:06:35 +0800
In-Reply-To: <20171115.121716.454716475078719607.mbj@tail-f.com>
References: <9094b945-366f-145d-fbc1-5cf116f4a3bc@cisco.com> <20171115.095341.1585161898755400575.mbj@tail-f.com> <55fcf67e-6e27-4bd9-cdd6-62f3fbe11bff@ericsson.com> <20171115.121716.454716475078719607.mbj@tail-f.com>
Organization: CZ.NIC
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.26.2
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/NdyrkdPIBPfN5Ek7aZPlsBHq6bA>
Subject: Re: [netmod] Comment on draft-clacla-netmod-yang-model-update-02
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 13:05:35 -0000

On Wed, 2017-11-15 at 12:17 +0100, Martin Bjorklund wrote:
> Balazs Lengyel <balazs.lengyel@ericsson.com> wrote:
> > The server MAY implement obsoleted nodes or MAY NOT. This may or may
> > not  is not good enough as a contract for the management client.  My
> > problem is that the current solution is just not good enough. IMHO we
> > need to change it.
> 
> Note that if a server implements version 1 of a module, and then the
> module doesn't change, but the server in the next sw version drops
> support for the module, the client will also be unhappy.  We (the
> IETF) can't have rules for these kinds of things.

If the server drops support for a module, then that module has to disappear from
YANG library, so it is a priori known that it happened. With deprecated/obsolete
nodes, a server may drop their support without any notice, within the same
module&revision. 

> 
> > Even after semver you can still obsolete the old stuff and provide the
> > new stuff with a new name, although that might not be the common
> > practice.  Which is a good thing, as I believe it is sometimes better
> > to correct existing definitions then to replace them.
> 
> But you still want to require servers to implement even obsolete
> nodes?

I think with semver support there will be no need for the "status" statement -
the nodes just get removed and version number bumped.

Lada

> 
> 
> /martin
> 
> 
> > 
> > regards Balazs
> > 
> > 
> > On 2017-11-15 16:53, Martin Bjorklund wrote:
> > > Exactly.  With the current solution, the sever can still implement the
> > > deprecated or obsolete nodes in order to support old clients.
> > > 
> > > With a MAJOR update in a semver world, it means that the old nodes are
> > > removed (or rather, possibly, that the old nodes have new syntax
> > > and/or semantics).
> > > 
> > > 
> > > 
> > 
> > -- 
> > Balazs Lengyel                       Ericsson Hungary Ltd.
> > Senior Specialist
> > Mobile: +36-70-330-7909 email: Balazs.Lengyel@ericsson.com
> > 
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67