Re: [Lsr] When to augment LSR base YANG modules...
Kristian Larsson <kristian@spritelink.net> Fri, 05 April 2019 21:20 UTC
Return-Path: <kristian@spritelink.net>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0E3D312016D for <lsr@ietfa.amsl.com>; Fri, 5 Apr 2019 14:20:16 -0700 (PDT)
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 UrcAYRpHw7JL for <lsr@ietfa.amsl.com>; Fri, 5 Apr 2019 14:20:13 -0700 (PDT)
Received: from Mail1.SpriteLink.NET (Mail1.SpriteLink.NET [195.182.5.127]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CBFF41200B2 for <lsr@ietf.org>; Fri, 5 Apr 2019 14:20:12 -0700 (PDT)
Received: from mbp.local (c-bb9de253.014-82-73746f13.bbcust.telenor.se [83.226.157.187]) by Mail1.SpriteLink.NET (Postfix) with ESMTPSA id 27A443F6C7 for <lsr@ietf.org>; Fri, 5 Apr 2019 23:20:09 +0200 (CEST)
To: lsr@ietf.org
References: <sa6wokiayd9.fsf@chopps.org> <2E6CA4AD-AD65-4A20-9545-1C81ED8B8968@tony.li> <B838962D-BDEA-46C9-9B9A-587484819784@cisco.com> <alpine.DEB.2.20.1903310903140.3161@uplift.swm.pp.se> <051b01d4e93b$93fc1320$4001a8c0@gateway.2wire.net>
From: Kristian Larsson <kristian@spritelink.net>
Message-ID: <6d58d110-183d-e7e0-aa65-9d80856944bf@spritelink.net>
Date: Fri, 05 Apr 2019 23:20:08 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.3
MIME-Version: 1.0
In-Reply-To: <051b01d4e93b$93fc1320$4001a8c0@gateway.2wire.net>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/L7OByUSdpy5AbjbQsKP0c7g2r8E>
Subject: Re: [Lsr] When to augment LSR base YANG modules...
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Apr 2019 21:20:16 -0000
On 2019-04-02 12:08, tom petch wrote: > ----- Original Message ----- > From: "Mikael Abrahamsson" <swmike@swm.pp.se> > Sent: Sunday, March 31, 2019 8:07 AM > >> On Sat, 30 Mar 2019, Acee Lindem (acee) wrote: >> >>> Additionally, I agree with Yingzhen's comment that it is not clear > that >>> we want a separate YANG module for every OSPF/IS-IS feature. >> >> As an operator, I expect to manage my routers using YANG modules. > Thus, >> every feature that is introduced that would provide requirement for >> management and/or provide operational data needs to have an YANG > module >> come with it, otherwise this new feature isn't useful. >> >> I don't want YANG to be second class citizen compared to CLI the way > SNMP >> has been. I also want to avoid having vendor-specific YANG modules if >> possible. Thus it makes sense to require YANG module with every new > work. >> >> If this is in the same document or an accompanying document is not of >> importance to me, as long as it gets the YANG module shows up in > roughly >> the same timeframe as the feature. > > Mikael > > Do you have any concern about the number of modules involved i.e. in the > practical management on Internet routers, does it matter whether the > management comes in the form of 100 or 1000 or ... modules? I don't have any real concerns about that. From a technical perspective I have a hard time seeing this being an issue. From a softer point of view, it might be difficult for a human to overlook many models but similarly it is difficult to overlook very large models (and in particular ones with many features). Thus far I think the models that have been published and the ones that are being worked on, usually have a rather reasonable scope, quite often they encompass a piece of technology. Since we do have a great number of different technologies it does mean quite a few models but it isn't conceptually harder for a human to overlook since the technologies are already there. > I have a nagging concern, based on experience with older technologies, > that difficulties can arise, and that they are not linear with the > number of modules. Is management with YANG more difficult if you have > 1000 arbitrary prefixes (or module names or module revision dates) > floating around or do the tools hide such details and present a coherent > picture to an operator? We have devices today that have in excess of 300 models and I don't really think it affects the way they are being managed versus a device that has one model. Working with multiple revisions could perhaps be challenging. Most of the time I find that we look at a given device type and the models it supports, which will be one given revision of a model and thus we can ignore all else at that point in time. > Likewise, does it matter how many features there are, with a Cartesian > explosion leading to a five or six digit number of combinations? I don't think the combination means much at all. We try not to deal with features in that way but rather individually which then avoids the combinatorial effect. If anything, my concern would be, not as an operator that would operate a network but rather as a YANG model writer that writing a huge model with a very large number of features probably means I'll never finish writing the model and it will likely become unwieldy. Better to split it up into multiple models using augmentations. Kind regards, Kristian.
- [Lsr] When to augment LSR base YANG modules... Christian Hopps
- Re: [Lsr] When to augment LSR base YANG modules... tony.li
- Re: [Lsr] When to augment LSR base YANG modules... Acee Lindem (acee)
- Re: [Lsr] When to augment LSR base YANG modules... Rob Shakir
- Re: [Lsr] When to augment LSR base YANG modules... Christian Hopps
- Re: [Lsr] When to augment LSR base YANG modules... Mikael Abrahamsson
- Re: [Lsr] When to augment LSR base YANG modules... Mikael Abrahamsson
- Re: [Lsr] When to augment LSR base YANG modules... Christian Hopps
- Re: [Lsr] When to augment LSR base YANG modules... Susan Hares
- Re: [Lsr] When to augment LSR base YANG modules... Yingzhen Qu
- Re: [Lsr] When to augment LSR base YANG modules... Christian Hopps
- Re: [Lsr] When to augment LSR base YANG modules... Acee Lindem (acee)
- Re: [Lsr] When to augment LSR base YANG modules... tom petch
- Re: [Lsr] When to augment LSR base YANG modules... Kristian Larsson
- Re: [Lsr] When to augment LSR base YANG modules... stephane.litkowski
- Re: [Lsr] When to augment LSR base YANG modules... bruno.decraene