Re: [netmod] Motivations for Structuring Models

Ladislav Lhotka <lhotka@nic.cz> Fri, 28 August 2015 12:05 UTC

Return-Path: <lhotka@nic.cz>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A647A1A8825 for <netmod@ietfa.amsl.com>; Fri, 28 Aug 2015 05:05:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.661
X-Spam-Level:
X-Spam-Status: No, score=-5.661 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 CD-Ti7iID5hu for <netmod@ietfa.amsl.com>; Fri, 28 Aug 2015 05:05:50 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E0971A8A5F for <netmod@ietf.org>; Fri, 28 Aug 2015 05:05:47 -0700 (PDT)
Received: from birdie.labs.nic.cz (unknown [195.113.220.110]) by mail.nic.cz (Postfix) with ESMTPSA id B9849181770; Fri, 28 Aug 2015 14:05:45 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nic.cz; s=default; t=1440763545; bh=Y1VZ9s16DRs/0Q04R5j6bf9FKgqffnNokUMRspx7/pk=; h=From:Date:To; b=NQxigzoOd1NCC4nL2lvLRmwOOsmasFgMId5Hoo6D9xeKermBATAlsAiP//X8m0qJj xlrIT9NHP+alFGumUGgGel/LZLnkdAMlvvHwdoNFFbVCsdapPxJdF/S6jXpNspiE0G UD2zSdBu0oguKWCBBBejZkltMQldOAnLDdqSOpvc=
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <etPan.55df4da2.2df263ea.1ef8@corretto>
Date: Fri, 28 Aug 2015 14:05:49 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <8F9B5BA0-7A88-428A-9F04-6E36BE5EDB06@nic.cz>
References: <etPan.55df172a.4f663465.1ef8@corretto.local> <m2oahssqoz.fsf@birdie.labs.nic.cz> <etPan.55df2d24.79a00675.1ef8@corretto> <8539636D-F2CC-49D5-A103-7A20AABB2843@nic.cz> <etPan.55df4da2.2df263ea.1ef8@corretto>
To: Rob Shakir <rjs@rob.sh>
X-Mailer: Apple Mail (2.2102)
X-Virus-Scanned: clamav-milter 0.98.7 at mail
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/Qk04dPMfW5-8I-C_2ZvUhfdSR0M>
Cc: netmod@ietf.org
Subject: Re: [netmod] Motivations for Structuring Models
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 28 Aug 2015 12:05:53 -0000

> On 27 Aug 2015, at 19:49, Rob Shakir <rjs@rob.sh> wrote:
> 
> Lada,
> 
> 
> 
> On August 27, 2015 at 12:54:39, Ladislav Lhotka (lhotka@nic.cz) wrote:
> 
>> We certainly need *some* structure, and since there was a requirement to support multiple routing instances, a list of them seems natural. 
> Great, we agree that we need some structure like we have for routing elsewhere.
> 
> Can you point me towards any proposal other than draft-openconfig-netmod-model-structure or draft-rtgyangdt-rtgwg-device-model–00 for this structure?

The current structure was pretty much a direct consequence of the previous NETMOD charter:

http://datatracker.ietf.org/doc/charter-ietf-netmod/06/

And as I said, we did consider having some universal top-level structure but we rejected this idea, mainly because every other module would then have to be an augment.

> 
> Already, implementors are having problems with this - because existing modules that are pretty mature (ietf-bgp for example), need more functionality than is in ietf-routing to make usable multi-VRF systems, let alone multi-routing-instance. If there were some structure, we could understand how these models need to be augmented to support the use cases. I’ll come back to the case of how I configure something that is a L2 virtual forwarding instance, that uses has a L3 IP interface within it.

ietf-routing is still open for any changes, but I think it has nothing to do with the presence or absence of /device.

> 
> On the latter comments in your mail, I place little importance on obsoleting existing RFCs, I care about:

I would concur that the rules for updating published modules are too strict for this stage, and that more flexibility is needed atleast until the YANG landscape stabilises.

> 
> 	• Primarily: whether the existing models let me configure things that I need to on my network (or form a suitable base for doing so).
> 	• Secondary: impact to existing implementations where these models are actually usable to some external consumer.

What I and others don’t understand is how the /device container helps, or the current flat structure prevents, reaching these aims.

Cheers, Lada

> Kind regards,
> r.
> 
> 

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C