Re: [netmod] questions about draft-rtgyangdt-rtgwg-device-model-00

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 19 August 2015 18:40 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E407B1A87F1; Wed, 19 Aug 2015 11:40:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.86
X-Spam-Level:
X-Spam-Status: No, score=-3.86 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-2.3, 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 GfjM7LGa9rsw; Wed, 19 Aug 2015 11:40:53 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C7891A8845; Wed, 19 Aug 2015 11:40:53 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id E06181594; Wed, 19 Aug 2015 20:40:51 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id 0qzOxErbbnD2; Wed, 19 Aug 2015 20:40:50 +0200 (CEST)
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 atlas3.jacobs-university.de (Postfix) with ESMTPS; Wed, 19 Aug 2015 20:40:50 +0200 (CEST)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id C2F5C2004E; Wed, 19 Aug 2015 20:40:50 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id Vilcu9wPw7HA; Wed, 19 Aug 2015 20:40:50 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 2CCE220048; Wed, 19 Aug 2015 20:40:48 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 789D3365591F; Wed, 19 Aug 2015 20:40:44 +0200 (CEST)
Date: Wed, 19 Aug 2015 20:40:43 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Lou Berger <lberger@labn.net>
Subject: Re: [netmod] questions about draft-rtgyangdt-rtgwg-device-model-00
Message-ID: <20150819184043.GA69779@elstar.local>
Mail-Followup-To: Lou Berger <lberger@labn.net>, Andy Bierman <andy@yumaworks.com>, netmod WG <netmod@ietf.org>, draft-rtgyangdt-rtgwg-device-model@ietf.org, Routing WG <rtgwg@ietf.org>
References: <CABCOCHQRAMscWbHbg0CrsiHNOD09XjjJqwsyTBoD9AuZXgj6MQ@mail.gmail.com> <55D3DDFC.2080107@labn.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <55D3DDFC.2080107@labn.net>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtgwg/bUJ0YfaNiJ494-sA7sSxQPQsFsA>
X-Mailman-Approved-At: Wed, 19 Aug 2015 11:41:53 -0700
Cc: Routing WG <rtgwg@ietf.org>, Andy Bierman <andy@yumaworks.com>, netmod WG <netmod@ietf.org>, draft-rtgyangdt-rtgwg-device-model@ietf.org
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Aug 2015 18:40:56 -0000

On Tue, Aug 18, 2015 at 09:38:04PM -0400, Lou Berger wrote:

> > Why is this a meta-model?

> because the aim to to show how other models inter-relate rather than
> define the details of all models. As stated in the intro:
> 
>    This document aims to provide an extensible structure that can be
>    used to tie together other models. It allows for existing, emerging,
>    and future models. The overall structure can be constructed using
>    YANG augmentation and imports.
>

You can easily extract relationships between YANG data models out of
YANG language constructs such as import relationships, leafref path
restrictions, augment references, etc.

- Why do you think relying on language constructs does not work?

- Why do you believe that relying on a certain hierarchy that several
  independent SDOs and vendors have to augment and fill consistently
  is going to be lead to a robust solution?

If YANG adoption continues as it looks right now, we will count
modules in the thousands in a couple of years originating from many
different organizations. I would trust tools that are able to
interpret YANG language constructs to scale up to such a scenario. I
doubt a simple hierarchy of containers (which will essentially become
unmaintainable once it is used by several standards) will be of much
value in 10+ years.

Andy's early work on YANG packages that provide machine readable
meta-data is a useful direction to explore further.

/js

PS: As a spare-time Unix system administrator, I recall several fancy
    proposals back in the 1990's how to best organize your /usr/local
    to make software installation and sharing easy. It seems none of
    these approaches that are essentially relying on naming
    conventions succeeded in the long run. Instead, we got software
    package systems that have sufficient machine readable
    meta-information to make software management easy and reliable.

-- 
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/>