Re: [Netconf] I-D Action: draft-ietf-netconf-rfc7895bis-05.txt

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 06 March 2018 15:50 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7AF51120454 for <netconf@ietfa.amsl.com>; Tue, 6 Mar 2018 07:50:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01] 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 aTfuseudSaZ0 for <netconf@ietfa.amsl.com>; Tue, 6 Mar 2018 07:50:57 -0800 (PST)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7F421124E15 for <netconf@ietf.org>; Tue, 6 Mar 2018 07:50:57 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 43B9AD03; Tue, 6 Mar 2018 16:50:56 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id DE2Z_8764-4y; Tue, 6 Mar 2018 16:50:55 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Tue, 6 Mar 2018 16:50:56 +0100 (CET)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 1DC652015B; Tue, 6 Mar 2018 16:50:56 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id ysj6JX2PGUaF; Tue, 6 Mar 2018 16:50:55 +0100 (CET)
Received: from elstar.local (unknown [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id C4D3220158; Tue, 6 Mar 2018 16:50:55 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id B636642651F3; Tue, 6 Mar 2018 16:50:54 +0100 (CET)
Date: Tue, 06 Mar 2018 16:50:54 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@nic.cz>
Cc: Robert Wilton <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, netconf@ietf.org
Message-ID: <20180306155054.ceihk5e2yg7a5ucu@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Ladislav Lhotka <lhotka@nic.cz>, Robert Wilton <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, netconf@ietf.org
References: <151974422911.28529.17468772806691724854@ietfa.amsl.com> <20180227.161434.1039409215522320595.mbj@tail-f.com> <87woyqmwdp.fsf@nic.cz> <d18163c2-be3f-3807-aa47-fdc9a1d17b40@cisco.com> <1520265051.7198.56.camel@nic.cz> <20180305160104.2fn7v2cdrdl6f54f@elstar.local> <1520266329.7198.60.camel@nic.cz> <20180305161745.jvv2q3bswsf2t5ju@elstar.local> <874llt2one.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <874llt2one.fsf@nic.cz>
User-Agent: NeoMutt/20171215
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/FJCITVKJ5HdoCGRuVGH-MtOXJiM>
Subject: Re: [Netconf] I-D Action: draft-ietf-netconf-rfc7895bis-05.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Mar 2018 15:50:59 -0000

On Tue, Mar 06, 2018 at 04:45:57PM +0100, Ladislav Lhotka wrote:
> 
> The server can include deviation modules in the YLbis "module" list. Now, the
> question is whether this is enough, no matter what the "deviation"
> leaf-lists say. It makes no sense to propose any text before we agree on
> the answer to this question.
>

The server is expected to list _all_ deviation modules that apply to a
given module. You do not agree with this?

> Note that one module can possibly include deviations for multiple target
> modules. An implementor may then decide to apply deviations only to some
> modules, and this can be effectively done through the "deviation"
> leaf-lists.

No, this is not how YANG works. There is no notion of a conditional
deviation depending on some external information.

The deviation leaf-list is a fast lookup mechanism so that a client
does not have to parse a potentially large set of modules for any
deviations. It does not change YANG semantics.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>