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

Alex Campbell <Alex.Campbell@Aviatnet.com> Wed, 26 July 2017 23:17 UTC

Return-Path: <Alex.Campbell@Aviatnet.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 CC0F7131ED2 for <netmod@ietfa.amsl.com>; Wed, 26 Jul 2017 16:17:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-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 51YzYHPKvfk2 for <netmod@ietfa.amsl.com>; Wed, 26 Jul 2017 16:17:18 -0700 (PDT)
Received: from mail-send.aviatnet.com (mail-send.aviatnet.com [192.147.115.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1766F131EC3 for <netmod@ietf.org>; Wed, 26 Jul 2017 16:17:17 -0700 (PDT)
From: Alex Campbell <Alex.Campbell@Aviatnet.com>
To: Ladislav Lhotka <lhotka@nic.cz>, Robert Wilton <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] draft-wilton-netmod-interface-properties-00
Thread-Index: AQHS/vUsJ05DidlE7kaQXOhlk7uVyKJmWiiAgABxsTg=
Date: Wed, 26 Jul 2017 23:17:16 +0000
Message-ID: <1501111035566.49813@Aviatnet.com>
References: <ec8da209-5e8f-9eb0-28d1-149858c3708a@cisco.com>, <m2k22vzgy6.fsf@birdie.labs.nic.cz>
In-Reply-To: <m2k22vzgy6.fsf@birdie.labs.nic.cz>
Accept-Language: en-NZ, en-US
Content-Language: en-NZ
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.15.6.10]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Bg9NaJzD6HNFEglQmK7HdI9RQJY>
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: Wed, 26 Jul 2017 23:17:21 -0000

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