Re: [netmod] Y34

Ladislav Lhotka <lhotka@nic.cz> Mon, 03 August 2015 13:43 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 D89741A1AAE for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2015 06:43:20 -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] 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 UXOBFaL_rccv for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2015 06:43:13 -0700 (PDT)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id 08BD51A88A6 for <netmod@ietf.org>; Mon, 3 Aug 2015 06:43:13 -0700 (PDT)
Received: from localhost (unknown [195.113.220.110]) by trail.lhotka.name (Postfix) with ESMTPSA id 041091CC0397; Mon, 3 Aug 2015 15:43:12 +0200 (CEST)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "Acee Lindem (acee)" <acee@cisco.com>
In-Reply-To: <20150801172325.GA68312@elstar.local>
References: <20150720210041.GA17614@elstar.local> <D1D917F8.29821%acee@cisco.com> <CABCOCHSm=VCMqoMJRAstV-FwZqkitKVoAjkVMGHxKcKB_RdpGQ@mail.gmail.com> <14ecceb6dd0.2818.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <CABCOCHQ-XOJMXfZfijd1OJcgvx4wkRuY0P7UhF5zej_Q36GHYg@mail.gmail.com> <14ed0338068.2818.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <CABCOCHQAc310ZwScEN=BFEzHUj3uY3HBQjo131J6yigGEW9Yrw@mail.gmail.com> <55BBA679.7070508@labn.net> <20150801065150.GA67416@elstar.local> <D1E270C7.29F82%acee@cisco.com> <20150801172325.GA68312@elstar.local>
User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.4.51.2 (x86_64-apple-darwin14.0.0)
Date: Mon, 03 Aug 2015 15:43:09 +0200
Message-ID: <m2twsgfpxu.fsf@birdie.labs.nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/gZzlGXfCwn5eXkTHRofKsQlNNys>
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] Y34
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: Mon, 03 Aug 2015 13:43:21 -0000

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> writes:

> On Sat, Aug 01, 2015 at 04:51:28PM +0000, Acee Lindem (acee) wrote:
>> 
>> Section 1.1 in 
>> https://www.ietf.org/id/draft-openconfig-netmod-model-structure-00.txt
>> lists the goals of a generic model structure that will accommodate most
>> modern network devices. I guess you don’t agree that these are desirable?
>
>    o  a common schema to access data related to all aspects of a device
>
> This is why we produce standards. They are a common schema.
>
>    o  an extensible structure that makes it clear where additional
>       models or data should be fit (e.g., using YANG augmentation or
>       imports)
>
> This is why we have /interfaces. Interface related stuff goes here.
> It is easy to reference.

But it is only suitable for a single device with its set of
interfaces. So the ietf-interfaces module isn't broken but doesn't allow
for typical generalizations, e.g. a device comprising a number of
virtual devices, each with its own set of interfaces.

Lada

>
>    o  a place for including metadata that provides useful information
>       about the corresponding individual models, such as which
>       organization provides them, which vendors support them, or which
>       version of the model is deployed
>
> Not really sure what this means. YANG modules have meta data. A
> NETCONF or RESTCONF server exposes which data models it implements. A
> list of which vendor supports what is clearly outside the scope of
> IETF work.
>
>    o  a common infrastructure model layer on which higher layer service
>       models can be built, for example by specifying which models are
>       needed to provide the service
>
> Not sure what this means exactly but I also do not see why any of the
> existing RFCs breaks this.
>
>    o  an ability to express an instance of the structure consisting of
>       models that have been validated to work together (i.e., with
>       information about sources of the models, their versions, etc.), so
>       that operators can easily identify a set of models that is known
>       to be mutually consistent
>
> Not sure what this means exactly but YANG modules published by the
> IETF are supposed to work together. YANG 1.1 has even clearer rules
> what imports mean etc.
>
> Bottom line is that I do not get out of these bullets what is _broken_
> with the existing RFCs. I like to see text of the sort
>
>   - RFC 7223 is broken because ...
>   - RFC 7277 is broken because ...
>   [...]
>
> This text is not in section 1.1 as far as I can tell.
>
> Bottom line is that I do not understand why /interfaces is broken such
> that this needs to be redone while /device/interfaces is golden. What do
> we do if in two years some group of people find /device/network/interfaces
> a brilliant idea?
>
> /js
>
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

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