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

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 12 December 2013 11:41 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 419FB1A1F58 for <netmod@ietfa.amsl.com>; Thu, 12 Dec 2013 03:41:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.251
X-Spam-Level:
X-Spam-Status: No, score=-2.251 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_LOW=-0.7, 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 GA0qckmMPTJ1 for <netmod@ietfa.amsl.com>; Thu, 12 Dec 2013 03:41:50 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by ietfa.amsl.com (Postfix) with ESMTP id 034FA1A1F55 for <netmod@ietf.org>; Thu, 12 Dec 2013 03:41:47 -0800 (PST)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id B75B12009E; Thu, 12 Dec 2013 12:41:40 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id y5wnP0p0mWOH; Thu, 12 Dec 2013 12:41:40 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 18D982002F; Thu, 12 Dec 2013 12:41:40 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id AD0EF29FC743; Thu, 12 Dec 2013 12:41:34 +0100 (CET)
Date: Thu, 12 Dec 2013 12:41:32 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Martin Bjorklund <mbj@tail-f.com>
Message-ID: <20131212114131.GA80315@elstar.local>
Mail-Followup-To: Martin Bjorklund <mbj@tail-f.com>, randy_presuhn@mindspring.com, netmod@ietf.org
References: <32246622.1386784076436.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <20131212.085209.387856404.mbj@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20131212.085209.387856404.mbj@tail-f.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: randy_presuhn@mindspring.com, 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
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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: Thu, 12 Dec 2013 11:41:53 -0000

On Thu, Dec 12, 2013 at 08:52:09AM +0100, Martin Bjorklund wrote:
> Randy Presuhn <randy_presuhn@mindspring.com> wrote:
> > Hi -
> > 
> > >From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
> > >Sent: Dec 11, 2013 12:38 AM
> > >To: Randy Presuhn <randy_presuhn@mindspring.com>
> > >Cc: netmod@ietf.org
> > >Subject: Re: [netmod] AD review of draft-ietf-netmod-system-mgmt
> > >
> > >On Tue, Dec 10, 2013 at 01:18:10PM -0800, Randy Presuhn wrote:
> > > 
> > >> > Anyway, for a standardized approach, someone would have to write a
> > >> > document that defines how unicode code points are represented as
> > >> > escaped charater sequences in DisplayStrings. I do not think that this
> > >> > document is in charge of doing this. Hence, until such a standard is
> > >> > written, I think things need to be implementation specific.
> > >> 
> > >> Perhaps, though that is the route to being stuck with ASCII until the
> > >> successor to Netconf rolls along.
> > >
> > >Not necessarily. If you configure via NETCONF (or most CLIs these
> > >days), you can use unicode characters. The code that maps names to
> > >legacy non-unicode interfaces then needs to do suitable translations
> > >to fit whatever constraint there is.
> > 
> > Not if the data definition restricts the values to an ASCII
> > subset, as has been proposed.  What's in the draft at the
> > moment will bring its own interoperability problems, but
> > at least it's a baby step forward.
> 
> So it seems we have a chance to fix this now.  But I need to
> understand what exactly you and/or Juergen propose.  Preferrably
> concrete text.  I *think* that the proposal is something like this:
> 
>    o  An implementation MUST allow any legal "string" (YANG string).

I do not think we need to state this since this is the default anyway
for an object using the string type.
 
>    o  An implementation that maps this value to the corresponding MIB
>       object, which has size and character set limitations, MUST use
>       some mechanism out of the scope for this document to ensure that
>       the MIB object syntax is still valid.

Yes.

> Also, just to make sure, we are talking about:
> 
>    system/location        -- sysLocation
>    system/contact         -- sysContact
>    interface/description  -- ifAlias

It might also apply to interface/name (ifName).

/js

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