Re: [netmod] AD review of draft-ietf-netmod-system-mgmt

Ladislav Lhotka <lhotka@nic.cz> Fri, 13 December 2013 19:38 UTC

Return-Path: <lhotka@nic.cz>
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 157C01ADF6B for <netmod@ietfa.amsl.com>; Fri, 13 Dec 2013 11:38:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.652
X-Spam-Level:
X-Spam-Status: No, score=-0.652 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904, RP_MATCHES_RCVD=-0.001] autolearn=no
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 Zu05ckqEnv3v for <netmod@ietfa.amsl.com>; Fri, 13 Dec 2013 11:38:46 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) by ietfa.amsl.com (Postfix) with ESMTP id 8C6B91AD8D5 for <netmod@ietf.org>; Fri, 13 Dec 2013 11:38:46 -0800 (PST)
Received: from [172.29.2.202] (nat-5.bravonet.cz [77.48.224.5]) by mail.nic.cz (Postfix) with ESMTPSA id A577913FAC3; Fri, 13 Dec 2013 20:38:39 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nic.cz; s=default; t=1386963519; bh=INXcJ8tl2nTPyfN8Sk6jHSyFrCLSnFi4Eh62DZz3EFQ=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Content-Transfer-Encoding:Message-Id:References:To; b=G/Met/AWUmrL3pIbdg9PEr+nn8ocgNk6/IVHvgr80wzia36Erpm/8RJ+mkxKptZyL ExrWS8AwCkT8/M01ZoTIDBnfecs5oN489aqWtcGjQtRtuuUSiBNNCMUBd9u/qlUwiK qxVIxzxFsx2/C/7Vrid1nhRzV7qWCOKUvtCBhhVs=
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\))
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <010501cef82a$101f6190$305e24b0$@comcast.net>
Date: Fri, 13 Dec 2013 20:38:39 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <92DCC53F-FE9B-4C80-B500-5C7C91492F2C@nic.cz>
References: <B386C034-A59A-4374-9846-6F2F821A0941@nic.cz> <CABCOCHTD_8kqHvqZGE8x1-bAWYZ4-1vRRXLpqdSRLH+tQV3eow@mail.gmail.com> <m2sitxoy68.fsf@nic.cz> <20131213.121509.688716145908885068.mbj@tail-f.com> <010501cef82a$101f6190$305e24b0$@comcast.net>
To: David Harrington <ietfdbh@comcast.net>
X-Mailer: Apple Mail (2.1822)
X-Virus-Scanned: clamav-milter 0.97.8 at mail
X-Virus-Status: Clean
Cc: netmod@ietf.org
Subject: Re: [netmod] AD review of draft-ietf-netmod-system-mgmt
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, 13 Dec 2013 19:38:49 -0000

On 13 Dec 2013, at 18:37, ietfdbh <ietfdbh@comcast.net> wrote:

> Hi,
> 
> I agree with the approach of treating these as separate objects, both as an
> SNMP greybeard and as an (ex-)NMS developer.
> 
> Following the general philosophy of good MIB design, keep the agent simple
> and let the NMS handle complexity.
> That is normally seen with the following design guideline:
> "Exclude objects that are simply derivable from others in this or other MIB
> modules.”

In our case, derivable would mean a standardized mapping procedure, right? I think it is easier to leave it to the server and just make the result available.

Lada

> But would also include handling correlation/synchronization between MIB
> queries and YANG queries - let the NMS handle that.
> 
> Soapbox:
> [Originally the IAB recommended having one data modeling language and one
> virtual database of management objects, accessible by multiple protocols.
> But that approach was found to be unrealistic, because the SMI became
> outdated - it cannot effectively model some aspects of real-world device
> implementations, such as nested tables, and would seriously limit the
> functionality of non-SNMP protocols like NETCONF and ipfix and syslog. While
> it would be nice to be able to access MIB data via other protocols,
> sometimes that just isn't going to be viable without hampering new models
> with outdated syntax and data structures. When that is the case, I think we
> need to move on and use the new, more capable DMLs.]
> 
> David Harrington
> ietfdbh@comcast.net
> +1-603-828-1401
> 
>> -----Original Message-----
>> From: netmod [mailto:netmod-bounces@ietf.org] On Behalf Of Martin
>> Bjorklund
>> Sent: Friday, December 13, 2013 6:15 AM
>> To: lhotka@nic.cz
>> Cc: netmod@ietf.org
>> Subject: Re: [netmod] AD review of draft-ietf-netmod-system-mgmt
>> 
>> Ladislav Lhotka <lhotka@nic.cz> wrote:
>>> Andy Bierman <andy@yumaworks.com> writes:
>>> 
>>>> On Thu, Dec 12, 2013 at 9:31 AM, Ladislav Lhotka <lhotka@nic.cz>
>>>> wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> just an idea: would it help if the server simply records the mapped
>>>>> DisplayString version in state data?
>>>>> 
>>>>> 
>>>> No.  I am OK with the proposal to force the server to constrain the
>>>> objects
>>> 
>>> Why not, actually? I mean something like this:
>>> 
>>> { "system-state" : {
>>>    ...
>>>    "location" : "Schrödingerstraße",
>>>    "mib:sysLocation" : "Schroedingerstrasse",
>>>    ...
>>> }
>>> 
>>> This is similar to what Randy proposed with "legacy-location", but it
>>> is in *state*, so it doesn't introduce a second configuration object.
>> 
>> But why report the MIB object at all in this case?
>> 
>> If we decide these objects are really separate, I don't see the need
>> to report the MIB object.  A manager that wants to see the SNMP object
>> in addition to the NETCONF object (for some reason) can use SNMP.
>> 
>> 
>> /martin
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
> 

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C