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

Benoit Claise <bclaise@cisco.com> Fri, 06 March 2015 12:05 UTC

Return-Path: <bclaise@cisco.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 0A5A81ACDB4 for <netmod@ietfa.amsl.com>; Fri, 6 Mar 2015 04:05:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5, WEIRD_PORT=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 9b9EkhdO98CZ for <netmod@ietfa.amsl.com>; Fri, 6 Mar 2015 04:05:14 -0800 (PST)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AC7321ACDAF for <netmod@ietf.org>; Fri, 6 Mar 2015 04:05:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3356; q=dns/txt; s=iport; t=1425643513; x=1426853113; h=message-id:date:from:mime-version:to:subject:references: in-reply-to:content-transfer-encoding; bh=sY5/ccvFY/IfkG2kNEgyLpqV+3F+MzqhaYVJUQUDyY4=; b=GpBz18RGe0qYC3yQIJakEYsSXLjzjcIxliQwEnz/F5QdQSvRk7DC33A5 vFbK22M0Ep4nE4dwyyARZX/EKnQ2Yfv1CljhjQnTJEg/B5NrTyt6XJ6ZT iYQC83LhkVTuJXIvKk5mej3zGl71Lnji5xQF0K1PIsSNDTO3uLoLC/EYY s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B5CAAQl/lU/xbLJq1cg1hau3GDNYJLhW4CggoBAQEBAQF8hA8BAQEDATIBBUAGCwsYCRYPCQMCAQIBRQYBDAgBAYgjCA3PLgEBAQEBAQEDAQEBAQEBHIsXhAwRAVeEKwEEk2qCGIFXgXuBGhEohSAhjFsjggIcgVE9MoEKgTgBAQE
X-IronPort-AV: E=Sophos;i="5.11,352,1422921600"; d="scan'208";a="371833849"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP; 06 Mar 2015 12:05:12 +0000
Received: from [10.60.67.85] (ams-bclaise-8914.cisco.com [10.60.67.85]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id t26C5Br6027249; Fri, 6 Mar 2015 12:05:11 GMT
Message-ID: <54F997F5.8080500@cisco.com>
Date: Fri, 06 Mar 2015 13:05:09 +0100
From: Benoit Claise <bclaise@cisco.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: 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>
In-Reply-To: <20150306110536.GA73575@elstar.local>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/aRuED6wpS6Yh0c5Ttx6fg3dDmlU>
Subject: Re: [netmod] Inventory YANG model (entity-MIB)
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: <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: Fri, 06 Mar 2015 12:05:16 -0000

Hi Jürgen,
> On Fri, Mar 06, 2015 at 11:48:02AM +0100, Benoit Claise wrote:
>> Dear all,
>>
>> The I2RS interim meeting yesterday focused on topology.
>> Let me cut/paste a high level slide, with pointers to the relevant drafts.
>>
>>
>> If interested, the meeting minutes are at
>> http://etherpad.tools.ietf.org:9000/p/i2rs-interim-march-5-2015-v-bluesheets
>>
>> Part of the inventory draft
>> (http://datatracker.ietf.org/doc/draft-dong-i2rs-network-inventory/)
>> discussion, the overlap with the ENTITY-MIB RFC 6933 was discussed (and
>> RFC 7223 btw).
>>
>>
>> The message was that I2RS should not re-invent something similar to the
>> ENTITY-MIB
>> So, are you aware of any initiatives to "YANGify" the ENTITY-MIB?
>> It's true that there is a way to translate MIB into YANG with RFC 6643.
>> This could be a good start. However, I wonder if a hand-written YANG
>> model that closely follows the entPhysical would not be more beneficial.
>> Is this something we should take on board in NETMOD?
>>
>> What do you think?
>>
>> Note: As commented by the I2RS people, indexing is appropriate in the
>> MIB module for its original purpose, but may not be for the topology.
>> I'm not sure we want to change the indexing just for the topology, but
>> the integration within the topology draft should be thought of.
>>
> My first question is (perhaps not surprising) whether inventory falls
> into the I2RS charter, I2RS = interface to the routing system.
No it doesn't.
As mentioned during the interim yesterday by the I2RS people, they would 
be happy if the inventory work be done somewhere else. Hence this email 
thread. I believe this work should be picked up by NETMOD .

> 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.
>
> Anyway, if YANG models overlapping the ENTITY-MIB are done, they they
> should at least allow implementation of both in a predictable manner.
> Looking at draft-dong-i2rs-network-inventory-00, it seems the whole
> interface list is already covered by RFC 7223 and interfaces should be
> references not repeated (this is what the ENTITY-MIB does).
Yes, I made that point.
Similarly, this draft should reference a inventory YANG model

> So what is
> left is essentially a (not yet hierarchy) of 'cards' that seem to more
> or less match the entPhysicalTable of the ENTITY-MIB (but then the
> ENTITY-MIB has a more flexible model that distinguishes between
> different kind of hardware components).
> I also notice that the model
> in draft-dong-i2rs-network-inventory-00 is config true - so I am not
> sure how this is supposed to use.
> Is the idea that this model is an
> interface to an inventory database where I configure what I have
> instead of a model sitting on a device where I can query what the
> device actually has?
>
> /js
Regards, Benoit
>
> 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.
>