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

Martin Bjorklund <mbj@tail-f.com> Fri, 13 December 2013 12:56 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 32E781ACCE8 for <netmod@ietfa.amsl.com>; Fri, 13 Dec 2013 04:56:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-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 7M-wcgnQCfdk for <netmod@ietfa.amsl.com>; Fri, 13 Dec 2013 04:55:59 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [109.74.15.94]) by ietfa.amsl.com (Postfix) with ESMTP id B27F31ACCE4 for <netmod@ietf.org>; Fri, 13 Dec 2013 04:55:59 -0800 (PST)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 2652037C041; Fri, 13 Dec 2013 13:55:51 +0100 (CET)
Date: Fri, 13 Dec 2013 13:55:50 +0100
Message-Id: <20131213.135550.900710914311144743.mbj@tail-f.com>
To: lhotka@nic.cz
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <m2ppp1t11v.fsf@nic.cz>
References: <m2sitxoy68.fsf@nic.cz> <20131213.121509.688716145908885068.mbj@tail-f.com> <m2ppp1t11v.fsf@nic.cz>
X-Mailer: Mew version 6.5rc2 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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 12:56:01 -0000

Ladislav Lhotka <lhotka@nic.cz> wrote:
> Martin Bjorklund <mbj@tail-f.com> writes:
> 
> > 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.
> 
> But the two object are not separate, they are coupled!
> 
> If a NETCONF client configures "location", the server maps the value
> to a DisplayString, records the result in "mib:sysLocation" and
> updates the MIB object with it.

Aha, so this is an alternative where an implementation MAY map, and if
it maps, it MUST (?) use some vendor-specific translation, and it MUST
record this in the read-only variable mib-sys-location.

If this is what you meant, I still don't think the read-only variable
is necessary.  The value is available over SNMP.


/martin