Re: [netmod] draft-wilton-netmod-interface-properties-00

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 27 July 2017 07:31 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 D633A132112 for <netmod@ietfa.amsl.com>; Thu, 27 Jul 2017 00:31:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] 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 xqSs-bjJJmv1 for <netmod@ietfa.amsl.com>; Thu, 27 Jul 2017 00:31:47 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E91D8129AF9 for <netmod@ietf.org>; Thu, 27 Jul 2017 00:31:46 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id EE4F06CB; Thu, 27 Jul 2017 09:31:44 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id wVudtkuILZNv; Thu, 27 Jul 2017 09:31:41 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Thu, 27 Jul 2017 09:31:44 +0200 (CEST)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id CA96A200BC; Thu, 27 Jul 2017 09:31:44 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id GKWPuhFgQBai; Thu, 27 Jul 2017 09:31:44 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id F2582200BA; Thu, 27 Jul 2017 09:31:43 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id CBAC53FFF3E7; Thu, 27 Jul 2017 09:31:43 +0200 (CEST)
Date: Thu, 27 Jul 2017 09:31:43 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Alex Campbell <Alex.Campbell@Aviatnet.com>
Cc: Ladislav Lhotka <lhotka@nic.cz>, Robert Wilton <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20170727073143.GA27636@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Alex Campbell <Alex.Campbell@Aviatnet.com>, Ladislav Lhotka <lhotka@nic.cz>, Robert Wilton <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <ec8da209-5e8f-9eb0-28d1-149858c3708a@cisco.com> <m2k22vzgy6.fsf@birdie.labs.nic.cz> <1501111035566.49813@Aviatnet.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <1501111035566.49813@Aviatnet.com>
User-Agent: Mutt/1.6.0 (2016-04-01)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/22Z5synEEemEg9OJFt0LfKexvGY>
Subject: Re: [netmod] draft-wilton-netmod-interface-properties-00
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: Thu, 27 Jul 2017 07:31:50 -0000

Hi,

what is needed is a clear and crisp description what terms such as
"ethernet-like", "ethernet-mac-like", "ethernet-phy-like" really mean.
Ideally, proposals for terms would include such descriptions, perhaps
including examples where these terms apply and where they do not
apply. The devil is in the details.

/js

On Wed, Jul 26, 2017 at 11:17:16PM +0000, Alex Campbell wrote:
> Hi,
> 
> I would very much like to see this happen.
> 
> However I recommend at least splitting up "ethernet-like" into "ethernet-mac-like" and "ethernet-phy-like". At Aviat we have microwave radio interfaces that behave like Ethernet at the MAC level but have totally different PHYs. The distinction is also useful for virtual links, such as link aggregations and tunnels.
> 
> ________________________________________
> From: netmod <netmod-bounces@ietf.org> on behalf of Ladislav Lhotka <lhotka@nic.cz>
> Sent: Wednesday, 26 July 2017 9:27 p.m.
> To: Robert Wilton; netmod@ietf.org
> Subject: Re: [netmod] draft-wilton-netmod-interface-properties-00
> 
> Hi Rob,
> 
> I think this is a very useful work and we will probably implement it
> soon. A few comments:
> 
> - I support the proposed redesign of "iana-if-type" but I believe this
>   module should in fact be declared historic. For one, the name of the
>   most frequently used type, "ethernetCsmacd", is not only notoriously
>   hard to remember but it is also a misnomer: these days, almost no
>   Ethernet network uses CSMA/CD any more. Instead, "csma-cd" can be
>   another identity that could be added to the mix of bases where
>   necessary.
> 
> - Interface type identities should be defined in a distributed way and
>   not in a single module as in "iana-if-type". A module defining
>   configuration and state data for a particular technology should also
>   define the corresponding identity or identities. This way, the choice
>   of interface types will always be limited to those supported by a
>   specific server.
> 
> - In Appendix B I don't understand the comment in the definition of
>   container "encapsulation": what could be the abstract type and how
>   would it aid extensibility?
> 
> Thanks, Lada
> 
> Robert Wilton <rwilton@cisco.com> writes:
> 
> > Hi,
> >
> > In the NETMOD session on Wednesday I will spend 5 minutes speaking on
> > draft-wilton-netmod-interface-properties-00, that has been created due
> > to discussions with various folks to handle interface type specific
> > configuration.
> >
> > The draft isn't particularly long, 21 pages, two thirds of that is just
> > examples, and it is presenting a simple idea.
> >
> > In particular, it is aiming at solving the problem of when statements
> > like this:
> >
> >       augment "/if:interfaces/if:interface" {
> >         when "derived-from-or-self(if:type, 'ianaift:ethernetCsmacd') or
> >               derived-from-or-self(if:type, 'ianaift:ieee8023adLag') or
> >               derived-from-or-self(if:type, 'ianaift:l2vlan') or
> >               derived-from-or-self(if:type, 'ianaift:ifPwType')" {
> >           description "Applies to all Ethernet-like interfaces";
> >         }
> >
> > and instead proposes this:
> >
> >      augment "/if:interfaces/if:interface" {
> >        when "derived-from(if:type, 'ianaifp:ethernet-like')" {
> >          description
> >            "Applies to all interfaces that derive from the Ethernet-like
> >             interface property.";
> >        }
> >
> > The core idea being that new identities are defined to represent
> > interface properties (like ethernet-like) and the existing interface
> > types iana-if-types.yang are updated to also derive from the new
> > interface properties.
> >
> > This simplifies the YANG, should make interface based configuration more
> > future proof, since new interface types can also derive from the
> > appropriate interface properties.  Of course additional interface
> > properties could also be defined.
> >
> > I'm seeking input from the WG as to whether they like this approach, AND
> > also whether the WG drafts: draft-ietf-netmod-intf-ext-yang-05 and
> > draft-ietf-netmod-sub-intf-vlan-model-02 should be updated to make use
> > of this approach (possibly in a future bis revision to avoid delaying
> > publishing the models).
> >
> > Thanks,
> > Rob
> >
> > _______________________________________________
> > 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
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

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