Re: [netmod] Fw: New Version Notification for draft-bjorklund-netmod-snmp-cfg-00

Jon Saperia <saperia@jdscons.com> Fri, 22 October 2010 17:34 UTC

Return-Path: <saperia@jdscons.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 55DDD3A68E7 for <netmod@core3.amsl.com>; Fri, 22 Oct 2010 10:34:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.469
X-Spam-Level:
X-Spam-Status: No, score=-2.469 tagged_above=-999 required=5 tests=[AWL=0.130, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2YwutPm1TWaN for <netmod@core3.amsl.com>; Fri, 22 Oct 2010 10:34:26 -0700 (PDT)
Received: from rs69.luxsci.com (rs69.luxsci.com [64.49.254.154]) by core3.amsl.com (Postfix) with ESMTP id 0E7E23A691B for <netmod@ietf.org>; Fri, 22 Oct 2010 10:34:26 -0700 (PDT)
Received: from [10.0.1.2] (c-98-229-133-101.hsd1.ma.comcast.net [98.229.133.101]) (authenticated bits=0) by rs69.luxsci.com (8.13.8/8.13.8) with ESMTP id o9MHa1xB014601 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 22 Oct 2010 12:36:01 -0500
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset="us-ascii"
From: Jon Saperia <saperia@jdscons.com>
In-Reply-To: <B11AB91666F22D498EEC66410EB3D3C4F412BEC7F0@HQ1-EXCH01.corp.brocade.com>
Date: Fri, 22 Oct 2010 13:36:00 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <0CCDC32D-54A8-4443-9E93-6A8229E15C0A@jdscons.com>
References: <sdd3r3se5r.fsf@wjh.hardakers.net> <4CC09A7C.6020506@andybierman.com> <Pine.GSU.4.58.1010211717010.1644@adminfs> <20101022.111104.235838872.mbj@tail-f.com> <B11AB91666F22D498EEC66410EB3D3C4F412BEC7F0@HQ1-EXCH01.corp.brocade.com>
To: Andy Bierman <biermana@brocade.com>
X-Mailer: Apple Mail (2.1081)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Fw: New Version Notification for draft-bjorklund-netmod-snmp-cfg-00
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 22 Oct 2010 17:34:27 -0000

The point Martin made about relating the SNMP Model with the YANG based one is important.  The issue is, at least in the SNMP universe, interface naming is not static/stable and not always predictable.  This has always been an issue for management applications even when not attempting to map to an alternate name space such as YANG so mapping counters for an interface with it's YANG based configuration information could be problematic.  Beyond this, most management systems will not keep the core data in either model (SNMP or YANG) they will have an internal data base that is based on their own internal model.  It is not clear to me based on applications I know that this extra mapping is all that helpful since it will have to be redone in the management software application.
/jon
On Oct 22, 2010, at 11:55 AM, Andy Bierman wrote:

> Hi,
> 
> I agree with Martin.
> There should be a new interfaces table that contains a mapping to ifIndex
> so monitoring MIBs like RMON-MIB can be used with SNMP, even though the
> config may be done through NETCONF.  RMON is an example that supports complete
> self-configuration through SNMP, but vendors has decided to configure it through
> CLI anyway.
> 
> To understand the framework, we have to understand (at least) how an individual
> feature would be realized within that framework.
> 
> Some requirements (IMO):
>  1) Ability to support easy to use YANG module for any service or feature.
>     Global and per-interface inter-related components are the norm.
>     This must be clear in the data model.
>  2) Ability to continue retrieving interface-related operational data with SNMP
>  3) Ability to also retrieve operational data with NETCONF
>     - mapping algorithm automatically translates any SMIv2 read-only
>       OBJECT-TYPE macro into functionally equivalent YANG module, such that
>       predictable top-level YANG data nodes, suitable for <get> retrieval,
>       are defined.
>  4) Ability to let vendors continue using their own interface identification strings
>     - Provide optional YANG extension to let vendors describe identifier string components
>  5) Ability to identify/configure parent and child interface relationships, 
>     if there is some hierarchy within the interfaces. 
>     - other interface relationships such as hot-standby, load-balancing, trunking 
>       should also be supported
>  6) Ability to pre-provision interfaces which are not currently present.
>  7) Ability to enable or disable an interface
>  8) Ability to move child nodes from one interface to another
>     (e.g., move a service, replicate a service, line-card changes slot)
> 
> 
> Andy
> 
> -----Original Message-----
> From: netmod-bounces@ietf.org [mailto:netmod-bounces@ietf.org] On Behalf Of Martin Bjorklund
> Sent: Friday, October 22, 2010 2:11 AM
> To: netmod@ietf.org; spakes@snmp.com
> Subject: Re: [netmod] Fw: New Version Notification for draft-bjorklund-netmod-snmp-cfg-00
> 
> Hi,
> 
> David Spakes <spakes@snmp.com> wrote:
>> At the very least, the working group should
>> produce a document that is the YANG equivalent to RFC 2863.  IMHO,
>> it should exactly mirror the existing objects, at least the ones
>> that are not deprecated.
> 
> I disagree.  If all we do is put YANG syntax around existing MIB
> objects, we haven't achieved anything.  We should concentrate on
> interface configuration.  It is not important to duplicate all
> interface counters etc.  One thing that *is* important though is how a
> YANG interface configuration model relates to the MIB.  (For example, 
> how the interface name maps to ifIndex.)
> 
> 
> /martin
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>