Re: [netmod] An abundant amount of IANA if types...

Martin Bjorklund <mbj@tail-f.com> Fri, 06 April 2018 08:00 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 802CE12D7F2 for <netmod@ietfa.amsl.com>; Fri, 6 Apr 2018 01:00:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=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 hRAPTSHVjr22 for <netmod@ietfa.amsl.com>; Fri, 6 Apr 2018 01:00:49 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id B9CBA128961 for <netmod@ietf.org>; Fri, 6 Apr 2018 01:00:49 -0700 (PDT)
Received: from localhost (h-80-27.A165.priv.bahnhof.se [212.85.80.27]) by mail.tail-f.com (Postfix) with ESMTPSA id EC9221AE034E; Fri, 6 Apr 2018 10:00:48 +0200 (CEST)
Date: Fri, 06 Apr 2018 10:00:48 +0200
Message-Id: <20180406.100048.410212105090657982.mbj@tail-f.com>
To: lhotka@nic.cz
Cc: Alex.Campbell@Aviatnet.com, bart.bogaert@nokia.com, netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <95e15ae380a2e114a8defa3ad924d73c15137b1b.camel@nic.cz>
References: <AM4PR07MB1716AECAC144285D98B0E1EE94BB0@AM4PR07MB1716.eurprd07.prod.outlook.com> <1522972773708.26374@Aviatnet.com> <95e15ae380a2e114a8defa3ad924d73c15137b1b.camel@nic.cz>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/NxL2E4_0eBwNyBmLCK32hsg9AFg>
Subject: Re: [netmod] An abundant amount of IANA if types...
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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, 06 Apr 2018 08:00:52 -0000

Ladislav Lhotka <lhotka@nic.cz> wrote:
> Hi,
> 
> I have argued several times in the past that the IANA interface list (and, for
> that matter, the iana-if-type module) is a useless pile of rubbish because
> 
> - for some interface classes (Ethernet, tunnels) it is way too coarse-grained
> 
> - on the other hand, it contains a lot of stuff that nobody will ever use
> 
> - using the cabalistic (and wrong, in fact) name "ethernetCsmacd" for Ethernet
> is outright stupid
> 
> - YANG identities allow for encoding important relationships in interface types,in the flat list all this information is lost 
> 
> - as you say, implementing the iana-if-type module means that all interface
> types listed therein become valid.
> 
> So yes, I do believe that it would be useful if authoritative expert groups
> develop a better structure of interface type identities.

I agree.  At the time when we did ietf-interfaces, not many people had
experience with using identities; and we didn't have YANG 1.1.  So we
just used what we had in the MIB, but as identities.  Now that we have
much more experience, it would be great to build a better way to
identify interfaces and their properties.



/martin



> 
> Lada
>   
> On Thu, 2018-04-05 at 23:59 +0000, Alex Campbell wrote:
> > I haven't seen any previous discussions on the topic, but we have a similar
> > problem.
> > Note this is not really to do with YANG itself, so much as the practical
> > limitations of the software package that provides our CLI interface.
> > In NETCONF, the existence of extra unused identities doesn't pose any problem.
> > 
> > From: netmod <netmod-bounces@ietf.org> on behalf of Bogaert, Bart (Nokia -
> > BE/Antwerp) <bart.bogaert@nokia.com>
> > Sent: Thursday, 5 April 2018 8:21 p.m.
> > To: netmod@ietf.org
> > Subject: [netmod] An abundant amount of IANA if types...
> >  
> > Hi,
> >  
> > We were wondering if it would make sense to introduce features in the IANA if
> > types YANG model to enable grouping of related interface types.  This would
> > allow implementations to include only the types it really requires (by
> > supporting the related features but not the others) and (in case of a CLI
> > interface) would reduce the possible completions if an operator would ask for
> > the possible values of the type of an interface.
> > Has this ever been considered/discussed?
> >  
> > Best regards,
> > Bart
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> -- 
> Ladislav Lhotka
> Head, CZ.NIC Labs
> PGP Key ID: 0xB8F92B08A9F76C67
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>