Re: [netmod] [apps-discuss] Apps Area review of draft-ietf-netmod-interfaces-cfg-10

Martin Bjorklund <mbj@tail-f.com> Thu, 02 May 2013 07:57 UTC

Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB87921F9936 for <netmod@ietfa.amsl.com>; Thu, 2 May 2013 00:57:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.922
X-Spam-Level:
X-Spam-Status: No, score=-0.922 tagged_above=-999 required=5 tests=[AWL=-1.290, BAYES_40=-0.185, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WZDSwJlJWsSi for <netmod@ietfa.amsl.com>; Thu, 2 May 2013 00:57:40 -0700 (PDT)
Received: from mail.tail-f.com (de-2007.d.ipeer.se [213.180.74.102]) by ietfa.amsl.com (Postfix) with ESMTP id 038A821F992E for <netmod@ietf.org>; Thu, 2 May 2013 00:57:39 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 7CD2D1200DA0; Thu, 2 May 2013 09:57:37 +0200 (CEST)
Date: Thu, 02 May 2013 09:57:37 +0200
Message-Id: <20130502.095737.1388088311920396196.mbj@tail-f.com>
To: lhotka@nic.cz
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <A41FA0A0-B1B6-4ABD-B35C-49D9F04F5238@nic.cz>
References: <CAHBU6iu_BzHCJxJnXCEU_fRuwkp=UghLwG7hsgaMKMFSq=yzag@mail.gmail.com> <20130430.103839.1231060720297181226.mbj@tail-f.com> <A41FA0A0-B1B6-4ABD-B35C-49D9F04F5238@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-2022-jp"
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] [apps-discuss] Apps Area review of draft-ietf-netmod-interfaces-cfg-10
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.12
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: Thu, 02 May 2013 07:57:46 -0000

Ladislav Lhotka <lhotka@nic.cz> wrote:
> [switched to NETMOD list]
> 
> On Apr 30, 2013, at 10:38 AM, Martin Bjorklund <mbj@tail-f.com> wrote:
> 
> >> 3.1 “The data model for interfaces presented in this document uses a
> >> flat
> >> list of interfaces.” - does this mean that the model in section
> >> 3. should
> >> have “interface*” rather than just “interface” as a child of
> >> “interfaces”?
> > 
> > In this tree diagram, the notion "interface [name]" means that it is a
> > YANG list, with "name" as key.
> 
> But what about keyless list, i.e. operational state? They are
> indistinguishable from containers, so I'd suggest to append '*' to
> their names as well.

Yes, makes sense.  And it also makes sense for lists with keys in
general.

(I have updated the pyang plugin to use this notation).


/martin