Re: [netmod] Inventory YANG model (entity-MIB)

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Sun, 08 March 2015 20:29 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 070601A00FA for <netmod@ietfa.amsl.com>; Sun, 8 Mar 2015 13:29:21 -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 l-ALVZsXT3ED for <netmod@ietfa.amsl.com>; Sun, 8 Mar 2015 13:29:18 -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 1B8FC1A00D8 for <netmod@ietf.org>; Sun, 8 Mar 2015 13:29:18 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 62D4AAC1; Sun, 8 Mar 2015 21:29:16 +0100 (CET)
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 oLdFBFjtR726; Sun, 8 Mar 2015 21:29:06 +0100 (CET)
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; Sun, 8 Mar 2015 21:29:15 +0100 (CET)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 095332003D; Sun, 8 Mar 2015 21:29:15 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id WcvzTFAqn1t2; Sun, 8 Mar 2015 21:29:12 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 694092003C; Sun, 8 Mar 2015 21:29:12 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 6D28D32734B7; Sun, 8 Mar 2015 21:29:11 +0100 (CET)
Date: Sun, 08 Mar 2015 21:29:10 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Jeffrey Haas <jhaas@pfrc.org>
Message-ID: <20150308202910.GA2276@elstar.local>
Mail-Followup-To: Jeffrey Haas <jhaas@pfrc.org>, Benoit Claise <bclaise@cisco.com>, NETMOD Working Group <netmod@ietf.org>, draft-dong-i2rs-network-inventory@tools.ietf.org, "i2rs-chairs@tools.ietf.org" <i2rs-chairs@tools.ietf.org>
References: <54F985E2.6020304@cisco.com> <20150306110536.GA73575@elstar.local> <20150308190837.GA12948@pfrc>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20150308190837.GA12948@pfrc>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/cBm3DgZWTdQRGKgIZNaiKJykiaQ>
Cc: draft-dong-i2rs-network-inventory@tools.ietf.org, "i2rs-chairs@tools.ietf.org" <i2rs-chairs@tools.ietf.org>, NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] Inventory YANG model (entity-MIB)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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: <http://www.ietf.org/mail-archive/web/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: Sun, 08 Mar 2015 20:29:21 -0000

On Sun, Mar 08, 2015 at 03:08:37PM -0400, Jeffrey Haas wrote:
> [speaking largely as a contributor and not i2rs-chair]
> 
> On Fri, Mar 06, 2015 at 12:05:36PM +0100, Juergen Schoenwaelder wrote:
> > My first question is (perhaps not surprising) whether inventory falls
> > into the I2RS charter, I2RS = interface to the routing system. That
> > said, RFC 6643 gives you a read-only translation. There are not many
> > read-write objects in the ENTITY-MIB so perhaps this is good enough
> > for now. I guess it would help what I2RS needs to know in order to
> > make the interface to the routing system work.
> 
> As discussed later in thread, having this work owned by netmod is fine with
> I2RS.
> 
> The structure of the generic topology draft is leading to interesting
> questions about how information present in that model can link to higher and
> lower layers.  As seen in the I2RS presentations at the most recent interim,
> this eventually leads to questions like "inventory".  I also raised the
> question about tunnels which will lead to other models as well.
> 
> The fact that the IETF already has good models for some of these things, the
> ENTITY-MIB as an example, is good.  However, simple conversion of MIBs to
> yang modules are likely to result in models that are good MIB replacements,
> but might not be well tailored to re-use elsewhere.  Since much of the
> motivation is for re-use, re-use is the discussion I would suggest is most
> important.
> 
> As an example, SNMP tables probably should be converted into yang groupings.
> There's also the matter of indexing of such conversions may not be fully
> appropriate for such re-use and alternate indexes may be helpful.

Nobody is insisting on an SNMP translation but whatever is done better
allows export via the ENTITY-MIB as well - things need to be aligned
at least. I note that many of the things you mention are not part of
draft-dong-i2rs-network-inventory-00.txt either.

> > PS: I personally would have preferred if generic topology and perhaps
> >     inventory would have split off into a short-lived targeted WG
> >     instead of doing all of this in I2RS but it seems leadership has
> >     already decided that I2RS is the home for all of this.
> 
> [speaking as one of the i2rs-chairs]
> 
> Topology was one of the use cases that was in-charter and we're not looking
> to significantly expand our charter work.  But one thing we've noted over
> the life of the group is that there has been a lot of push for micro-WG to
> be formed for various yang efforts.  I personally believe we're better off
> with some owning WG taking on the task but handling it within the context of
> a design team.  The overhead of a full WG is likely not merited.
> 
> Which WG the design team reports to is, of course, up for discussion.
>

What was in the original I2RS charter was routing topology export
(read-only). Going from there to a generic topology model (which
likely should not be limited to config false) is quite a step. I
personally find it sub-optimal to do the generic model in WG A and
several extensions of the generic model in WG B plus some more
extensions in WG C, most likely crossing IETF areas. The coordination
resulting from this will most likely slow things down.

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