Re: [netmod] Last Call: draft-ietf-netmod-snmp-cfg-03 (20131220)
Martin Bjorklund <mbj@tail-f.com> Mon, 03 February 2014 20:20 UTC
Return-Path: <mbj@tail-f.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 E7C0C1A020C for <netmod@ietfa.amsl.com>; Mon, 3 Feb 2014 12:20:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.436
X-Spam-Level:
X-Spam-Status: No, score=-2.436 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.535, 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 BxdC3c245foP for <netmod@ietfa.amsl.com>; Mon, 3 Feb 2014 12:20:00 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [109.74.15.94]) by ietfa.amsl.com (Postfix) with ESMTP id 885EA1A015A for <netmod@ietf.org>; Mon, 3 Feb 2014 12:20:00 -0800 (PST)
Received: from localhost (unknown [193.12.32.88]) by mail.tail-f.com (Postfix) with ESMTPSA id B3E5E37C1AB; Mon, 3 Feb 2014 21:19:59 +0100 (CET)
Date: Mon, 03 Feb 2014 21:19:58 +0100
Message-Id: <20140203.211958.484352430.mbj@tail-f.com>
To: blukovic@ndt-inc.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <52EFC452.2000406@ndt-inc.com>
References: <52D9B9CF.5010605@ndt-inc.com> <20140202.220948.230573655.mbj@tail-f.com> <52EFC452.2000406@ndt-inc.com>
X-Mailer: Mew version 6.5rc2 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Last Call: draft-ietf-netmod-snmp-cfg-03 (20131220)
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: Mon, 03 Feb 2014 20:20:03 -0000
Hi, B Lukovic <blukovic@ndt-inc.com> wrote: > The point is that if the data is created over SNMP there is no way with > proposed yang module > to preserve all info in the configuration. > When the agent is restarted (or new config committed), agent would "invent > indices" and > this is, in my opinion, the problem (not functionally, agent would still > function correctly). > But for SNMP manager monitoring the agent: > - index change would indicate change in configuration. > - getnext order could be different > > A few examples: > Lets say target address table has N entries, all using the same set of > parameters ( = one row in snmpTargetParamsTable). > > Changing parameters for all N addresses: > SNMP - one row changed > NETCONF- N rows changed > > Suspend communication with all N targets: > SNMP - delete one row in target params table (or set it to notInService), > target address table preserves all targets [Note that setting a row to notInService allows the agent to delete the row after some time. Suggested time is 5 minutes (RFC 2579).] > NETCONF- delete whole target list > > Regarding proposed solutions > 1) create "list targetparams" ... > basically map snmpTargetParamsTable to Yang, > complication could be solved as in SNMP mib, i.e. instead of leafref (forcing > each target row to have valid params) > this could be just a string making "loose" coupling. The loose coupling that makes the model very flexible, but also a bit difficult to configure correctly. I would prefer leafrefs to make a stricter coupling, but we have already had that discussion. > 2) replace optional "notify-filter-profile" leaf with mandatory "param-name" > leaf, ... > You are right, I overlooked that "list notify-filter-profile" should be updated > with "param-name" as well > > and a new one > > 3) add optional "leaf param-name" to "list target" so snmpTargetParamsName > could be preserved > If missing, agent would generate appropriate index for snmpTargetParamsTable > > I prefer option 1) Ok. /martin
- [netmod] Last Call: draft-ietf-netmod-snmp-cfg-03… David Kessens
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Randy Presuhn
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Juergen Schoenwaelder
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Randy Presuhn
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… ietfdbh
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… ietfdbh
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… ietfdbh
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Juergen Schoenwaelder
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Juergen Schoenwaelder
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Juergen Schoenwaelder
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Randy Presuhn
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… ietfdbh
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Martin Bjorklund
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Randy Presuhn
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Martin Bjorklund
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Randy Presuhn
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Martin Bjorklund
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Randy Presuhn
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Juergen Schoenwaelder
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Juergen Schoenwaelder
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Randy Presuhn
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Martin Bjorklund
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Randy Presuhn
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Martin Bjorklund
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Juergen Schoenwaelder
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Randy Presuhn
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Juergen Schoenwaelder
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Randy Presuhn
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… B Lukovic
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Martin Bjorklund
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… B Lukovic
- Re: [netmod] Last Call: draft-ietf-netmod-snmp-cf… Martin Bjorklund