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

Andy Bierman <andy@yumaworks.com> Tue, 10 March 2015 03:09 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 61FA21A008F for <netmod@ietfa.amsl.com>; Mon, 9 Mar 2015 20:09:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.979
X-Spam-Level:
X-Spam-Status: No, score=-1.979 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, 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 fPrLxePfcQYw for <netmod@ietfa.amsl.com>; Mon, 9 Mar 2015 20:09:08 -0700 (PDT)
Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) (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 1064D1A00E5 for <netmod@ietf.org>; Mon, 9 Mar 2015 20:09:06 -0700 (PDT)
Received: by labge10 with SMTP id ge10so8112605lab.7 for <netmod@ietf.org>; Mon, 09 Mar 2015 20:09:04 -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:cc:content-type :content-transfer-encoding; bh=WddIXL75ajqo3R+DLFjfH5R/7OvvEihasTwg2O38U64=; b=Yxv8PbK5LW5V3bp3Ol1oCp3llPO/fXDqg+/g9WyM5dOj7la1W1o7dpXV589X5+5afO xG+GNR0pvkYImCUPqtoqI3YUlSKqUZdrQhsNpOiHLQ3JzSoegTKgRgmDUh8bdnZpSET5 ic/xuqP2vQ7ubik4E0Q6RdCKHEgd2neio9ihqkwxXZCoJSxCmU15j5a/b+2wGKS7u4mW NdgYAIDUa5Y2XRg3PJzUhjbdQYPezBV6N094QP8yMbXJD+wfanxzWH22UG1YIQqS6rbo qDFX4j207W0er6nBIFPQTkMDpH1aCG5gbObdISvLJV3n4jDGwP5SvFqQ6MlBwdXcvQ53 WYQA==
X-Gm-Message-State: ALoCoQkbkpAWnvaEFYM0UMZ69YyAbY5J06mnaxvf9rrpNpiSC3jWe5x4k0xIyKwB4+e06lg6KI7c
MIME-Version: 1.0
X-Received: by 10.112.133.225 with SMTP id pf1mr28692529lbb.33.1425956944398; Mon, 09 Mar 2015 20:09:04 -0700 (PDT)
Received: by 10.112.144.36 with HTTP; Mon, 9 Mar 2015 20:09:04 -0700 (PDT)
In-Reply-To: <76CD132C3ADEF848BD84D028D243C92733851CD7@nkgeml512-mbx.china.huawei.com>
References: <54F985E2.6020304@cisco.com> <20150306110536.GA73575@elstar.local> <20150308190837.GA12948@pfrc> <20150308202910.GA2276@elstar.local> <CABCOCHTS_t3A1Uyv2pAsNiOEnMOb9KiRYYVa8jiR5ZVSBsO4yQ@mail.gmail.com> <76CD132C3ADEF848BD84D028D243C92733851CD7@nkgeml512-mbx.china.huawei.com>
Date: Mon, 09 Mar 2015 20:09:04 -0700
Message-ID: <CABCOCHQMTthQ59-yhqAaKzxY3OMoKFUkHQ_5t6xHgE4NtrQvcQ@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: "Dongjie (Jimmy)" <jie.dong@huawei.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/xP4VfG87POsZWg1u6Fd8To3jvjs>
Cc: NETMOD Working Group <netmod@ietf.org>, "draft-dong-i2rs-network-inventory@tools.ietf.org" <draft-dong-i2rs-network-inventory@tools.ietf.org>, "i2rs-chairs@tools.ietf.org" <i2rs-chairs@tools.ietf.org>
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: Tue, 10 Mar 2015 03:09:10 -0000

On Mon, Mar 9, 2015 at 7:44 PM, Dongjie (Jimmy) <jie.dong@huawei.com> wrote:
> Hi Andy,
>
> Thanks for your feedback. Please see my replies inline:
>....
>>
>> I start to worry about I2RS boiling the ocean when I see inventory data models
>> in that WG. I question the value of converting every OID to a YANG identity, or
>> making gratuitous name changes to every leaf.
>
> The inventory model was motivated by some discussion in the I2RS interim, and we are open to move this work to Netmod if people are more interested to do this work here.
> As Jeff said, simple conversion of MIB to Yang is not exactly our goal. Hopefully we can make good use of Yang to build a base inventory model, which is extensible with augmentation to build more specific models.
>


I am not that concerned where the work gets done, but rather with
SNMP integration.  Some vendors have invested quite a lot of resources
supporting that particular classification system.  The overhead and complexity
of supporting 2 inventory systems seems rather unjustified.


>> Perhaps an SMI to YANG translation of the ENTITY-MIB will be a good enough
>> starting point. I prefer to see IETF YANG work focus on configuration, rather
>> than reinvent monitoring solutions that have been deployed for many years.
>
> To my understanding, SMI to Yang translation gives you read-only models, while with Yang we can do both read and write. I'd agree that the inventory yang model should not limit its scope for monitoring, and we need to discuss what configurations should be considered as part of the inventory model. We'd appreciate your contributions on both aspects. Thanks.
>

Inventory is usually read-only.
Annotations can be added with indexing (not directly within the
operational data).

I would suggest starting by explaining why the
existing SMIv2 data cannot be used (via SMI to YANG translation)
and explain what new features that are needed by I2RS
in order to write to the RIB.

> Best regards,
> Jie

Andy

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