Re: [netmod] Y34 - root node

Andy Bierman <andy@yumaworks.com> Thu, 27 August 2015 12:23 UTC

Return-Path: <andy@yumaworks.com>
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 6751A1A88BD for <netmod@ietfa.amsl.com>; Thu, 27 Aug 2015 05:23:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level:
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 7UEHqTxz9EoM for <netmod@ietfa.amsl.com>; Thu, 27 Aug 2015 05:23:37 -0700 (PDT)
Received: from mail-la0-f53.google.com (mail-la0-f53.google.com [209.85.215.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 64EDE1A19E3 for <netmod@ietf.org>; Thu, 27 Aug 2015 05:23:36 -0700 (PDT)
Received: by labns7 with SMTP id ns7so11282593lab.0 for <netmod@ietf.org>; Thu, 27 Aug 2015 05:23:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=dCXt3sc1gVLmKOFaG77rFEOWa+9ekjbqpErBYDTar1A=; b=YnKHrmFXY1aKGbWbUjcx5PEoUZhGOg4trGzVg8DbtrbaVB6KprGtpwRfP14Lo+CiON IhoXMM0YmXKuPXtCno4pMaQ82RNuvW2RjBnjToI7DsntASWR/AzOWjwi36XjQtB1FMYA Qnt1B7QQ8WGU1zPRYMiJjxLB1sCt/Xm7esr2tfMCcz08N0EkrEo23XLtygNDFuLERVTF rd/jXGima/gYMCBwGluOg6Xfvx/xH5E7KcE4nM51U07B/TtzQ3mXc2Ub9RmNPO2SGF97 TH2q1ui3cPCSKzabifoHQREyHGqf0dAx4fLaCl3aunFE5pcU4RwpD9JAXL/8Y36ugNSu P0TA==
X-Gm-Message-State: ALoCoQk53ZIsF54Q3tPQ9snukCOrcDuLKTKMvaYL+bChRQAq4XH62C3QMTnW9F6K1Mr3ws7wLJT7
MIME-Version: 1.0
X-Received: by 10.112.85.3 with SMTP id d3mr2048064lbz.33.1440678214618; Thu, 27 Aug 2015 05:23:34 -0700 (PDT)
Received: by 10.112.200.104 with HTTP; Thu, 27 Aug 2015 05:23:34 -0700 (PDT)
In-Reply-To: <20150827064240.GB87367@elstar.local>
References: <55D36473.90609@cisco.com> <CABCOCHRP3omx37XmEJfPwg6eELuSKF=YL8pgpnvLh9PQxgV62A@mail.gmail.com> <55D45CAF.2070605@cisco.com> <20150819.132555.871710491924929960.mbj@tail-f.com> <013601d0da9b$907f6b00$4001a8c0@gateway.2wire.net> <20150823170415.GA77197@elstar.local> <012901d0e01e$12c22b20$4001a8c0@gateway.2wire.net> <20150827064240.GB87367@elstar.local>
Date: Thu, 27 Aug 2015 05:23:34 -0700
Message-ID: <CABCOCHQYhUp95AmfSvkF8YF3uUUF4swhU8542o9F-5qHBa7sog@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "t. petch" <ietfc@btconnect.com>, Martin Bjorklund <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="001a1134946c37e75d051e4a09f4"
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/JYaideqfdnSv0YpUs6uFDaD6jNw>
Subject: Re: [netmod] Y34 - root node
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: Thu, 27 Aug 2015 12:23:39 -0000

On Wed, Aug 26, 2015 at 11:42 PM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Wed, Aug 26, 2015 at 05:41:29PM +0100, t. petch wrote:
> > ----- Original Message -----
> > From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
> > To: "t. petch" <ietfc@btconnect.com>
> > Cc: <rwilton@cisco.com>; "Martin Bjorklund" <mbj@tail-f.com>;
> > <netmod@ietf.org>
> > Sent: Sunday, August 23, 2015 6:04 PM
> >
> > > On Wed, Aug 19, 2015 at 05:24:41PM +0100, t. petch wrote:
> > >
> > > > The current model is a flat architecture of hundreds (or thousands)
> > of
> > > > modules each with their own top level nodes, namespace, namespace
> > name,
> > > > prefix etc.  (This is quite different to SMI with its hierarchy but
> > that
> > > > probably is only significant to those who have spent 20 years with
> > SMI).
> > >
> > > This is most likely a wrong perception. There are basically only two
> > > locations where SNMP modules are registered in the IETF: under mib-2
> > > and under transmission (yes there are a few exceptions but overall in
> > > number they do not matter). There are close to 240 MIB modules below
> > > mib-2 and about 50 MIB modules below transmission.
> >
> > Juergen
> >
> > I know what you mean, that the MIB module tree is somewhat fasciated,
> > but there is still one root, from which an obvious, absolute OID can be
> > used to identify uniquely any MIB module (or in some contexts a
> > relative one, relative to transmission or mib 2).  If SMI did have
> > constraints, then there would not be an issue of how to express them,
> > nor would there be any question of mounting a module elsewhere for
> > whatever
> > reason (which then creates problems for the references in the
> > constraints).
>
> While SMIv2 does not have something like MUST and WHEN expressions, it
> still does have references between model elements. Prime example:
> ifTabel got augmented by ifXTable registered in a very different
> location. It is a major mis-conception that the OID tree is relevant;
> what is relevant are relationships between conceptual tables.
>
> > A flat sea of YANG modules is different; I haven't counted lately
> > how many top level nodes I have seen but it is a lot and when I see
> > people wanting to organise YANG modules into a tree, I wonder if
> > they are trying to recreate an SMI-like tree and my reaction is that
> > this is not SMI!
>
> There is no point in organizing them into a tree. There simply is no
> universal forever stable tree. When SMIv2 started, people thought such
> a tree would evolve and it was later recognized that this is an
> illusion and we ended up registering almost everything under mib-2 or
> transmission.
>
> > The flat sea of YANG modules brings a different set of issues and I
> > am unsure what they are;
>
> This is main problem I have. What the heck is the problem we are trying
> to fix?
>
> > I understand what is involved with the references in constraints, I
> > can see that there will be a lot of namespaces and prefixes and can
> > speculate about what that will bring but what it means to have so
> > many top level nodes, I do not know.
>
> Having 200+ MIB modules registered below mib-2 has not been a problem
> as far as I know.
>
>

The only thing the same between SMIv2 and YANG here is age-old question
of how should we care about "dumb" tools that are not very schema-aware.

With YANG, the data related to "foo" can actually be located
under /some/path/to/foo.

I agree with you that for a programmatic interface, the location is not
at all important, but to a human typing URLs into a browser,
it will be important.

I don't see the 6 modules that have already been published so far in RFCs
as the problem.  I suggest focusing on the 194 modules that have not
been published.  Should the IETF spend a year or two debating the ONE TRUE
PERFECT uber-tree? 6 months?  How long will it take for all interested
vendors to agree where every little thing goes, before starting on any of
it.



> /js
>
>
Andy


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