Re: [netmod] I-D Action: draft-ietf-netmod-interfaces-cfg-11.txt

Andy Bierman <andy@yumaworks.com> Mon, 17 June 2013 14:41 UTC

Return-Path: <andy@yumaworks.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 B649621F9B35 for <netmod@ietfa.amsl.com>; Mon, 17 Jun 2013 07:41:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.468
X-Spam-Level:
X-Spam-Status: No, score=-1.468 tagged_above=-999 required=5 tests=[AWL=-0.092, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_23=0.6]
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 QKhnB94i3xxs for <netmod@ietfa.amsl.com>; Mon, 17 Jun 2013 07:41:37 -0700 (PDT)
Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by ietfa.amsl.com (Postfix) with ESMTP id BA63921F9AD9 for <netmod@ietf.org>; Mon, 17 Jun 2013 07:41:37 -0700 (PDT)
Received: by mail-pd0-f169.google.com with SMTP id y10so2872047pdj.28 for <netmod@ietf.org>; Mon, 17 Jun 2013 07:41:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=CWuR5IqbNNo4pKWcnV8xlKGugSZRyYsJKyWS/0FsTqQ=; b=BdsFCnFPFeVH1CUPMQ2W8Q29Ks9sYWFKszsxBgUiWW0TH3y9e9+kxwYC/lQiv4VRdT uGU5ylgEECub7D8jwAVyRpnsuyt9vjIz4S/g5197NYghdZ65cFTba/RBQSiodS5pkNez gMRvTtdg/FDYzCbulioKigkI7vwgJ/TxsJ2O8fbf1uBwd7+Pu3u8dAkzxwawQFb0KNt6 w69+lvawUHN39byBoR9oeIg5k/qpKq6CMfGQ+JYBeiyJzejfnt6EE1RIW/bOMUFV9j/s 66/43TylQe2GziXsN5JT77lyC8MYieEdF+EJqZp5zFG0WSbXwvqOnqFrLqZFKcLyD/Rp f0aQ==
MIME-Version: 1.0
X-Received: by 10.66.248.228 with SMTP id yp4mr13153404pac.158.1371480097216; Mon, 17 Jun 2013 07:41:37 -0700 (PDT)
Received: by 10.70.12.161 with HTTP; Mon, 17 Jun 2013 07:41:37 -0700 (PDT)
In-Reply-To: <m2y5a8q4uo.fsf@nic.cz>
References: <20130522.075021.510632113.mbj@tail-f.com> <CABCOCHR0i_e03FtbwmPPGnysowPZTVLzZV7q3TX_+SgSuAnNPQ@mail.gmail.com> <20130522.083817.336589153.mbj@tail-f.com> <CABCOCHR_QqPV13Z+jWVcwpxTtrvGQg4JLudP9Hxb54Z154MfXA@mail.gmail.com> <00a101ce57ca$50c19fc0$4001a8c0@gateway.2wire.net> <20130523182554.GB34233@elstar.local> <EAB5EAE0-7406-4F6B-A636-E044FE51EA49@nic.cz> <019d01ce5b86$71d43140$4001a8c0@gateway.2wire.net> <5AB07445-A5EA-4105-B5CE-85B14D3BF397@nic.cz> <B0FB1FAC2C7B234D87DCEBF309F703C55344B606@CINURCNA15.e2k.ad.ge.com> <20130529235204.GA58491@elstar.local> <m2y5a8q4uo.fsf@nic.cz>
Date: Mon, 17 Jun 2013 07:41:37 -0700
Message-ID: <CABCOCHRbqJ4BaQYc2L5ZO7RhZMSC3cuNECXOVHfqmXJeECLE7A@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: netmod@ietf.org
Content-Type: multipart/alternative; boundary="047d7b15b2bd02fae204df5a987d"
X-Gm-Message-State: ALoCoQkQq+jr69Gk2eV9dQiBAoxo0rE/HxjBFgar0+EEuIlJtVwMhAQamPVHZ4YaWeXzjABmDDma
Subject: Re: [netmod] I-D Action: draft-ietf-netmod-interfaces-cfg-11.txt
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: Mon, 17 Jun 2013 14:41:41 -0000

Hi,

I think we should publish what we have, which is more aligned with
existing implementations and SNMP.  The enhancements you
describe could be added in the future with augments or a module update.
An identity in addition to an IANA enum is OK.


Andy


On Mon, Jun 17, 2013 at 5:49 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:

> Hi,
>
> the discussion below doesn't seem to have reached any conclusion. But
> whatever the answer to Juergen's question might be, I think we should
> consider the "type" leaf again, because:
>
> 1. The "type" leaf is useful in YANG for restricting some configuration
> parameters for use only with a certain interface type. The existing values
> in the "iana-if-type" enumeration, such as "ethernetCsmacd" or "tunnel",
> don't seem very effective in this respect. What we need is the type
> information that's often encoded in (platform-specific) interface names,
> for example TenGigabitEthernet0/1, gr-0/0/0 or ppp0.
>
> 2. We actually need a *hierarchy* of interface types, whereas
> "iana-if-type" is flat. For instance, take the Ethernet example in Appendix
> A: The "when" condition
>
>        when "if:type = 'ethernetCsmacd'";
>
> causes the generic Ethernet parameters to apply only to this particular
> type, but not to any specialized Ethernet type, say "ieee-802.11bgn" (if
> this was ever registered by IANA).
>
> 3. The set of permitted types should be easily extensible, without the
> need to go to IANA first.
>
> In my opinion, YANG identity is a much better choice for the type of
> "type" because it satisfies all three requirements. No extra registry is
> needed for identities because they will be registered indirectly through
> the module where they are defined.
>
> It is possible that a simple hierarchy of interface types won't be enough
> for representing the variety of real-world interfaces with all their
> properties and features. But then additional (type-specific) parameters
> could be introduced and used along with "type" for conditional augments.
>
> Lada
>
> Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> writes:
>
> > On Wed, May 29, 2013 at 05:53:19PM +0000, Lange, Jeffrey K (GE Energy
> Management) wrote:
> >> Martin asked that I provide my $0.02 on this draft as we've created
> >> an implementation against the -08 version. So here we go...
> >>
> >> In general I like having the interface-state separate from the
> >> interface configuration, it provides an easy way for a user to see
> >> what devices are currently in the system and are available for
> >> configuration.  In our -08 implementation we created a
> >> /interfaces/physical-interfaces table that would be pre-populated by
> >> the factory with the interfaces that are available for that
> >> particular product.  Note that our product is not customer
> >> expandable, so the interfaces that ship with the unit are the only
> >> ones that the customer can configure (ignoring logical interfaces).
> >> By having this config false list of interfaces we could achieve the
> >> same thing in a more standard way.
> >
> > This is _very_ welcome feedback. Implementation experience is always
> > very welcome - if others implement things as well, please consider to
> > share your experiences. This helps a lot.
> >
> >> We have many proprietary interface types (primarily different types
> >> of in-house radio interfaces) that do not fit into the categories
> >> defined by iana-if-type.  Sure you could use the argument "well then
> >> get them added via iana".  But that will never happen.
> >
> > I have to ask this so I do better understand. Why will this never
> > happen?
> >
> > - Is the procedure to register your interface type too complex?
> >
> > - Is the interface type kind of secret and hence you do not want to
> >   have it registered somewhere?
> >
> > - Is it that developers simply would not know how to register a new
> >   interface type and choose a random value anyway?
> >
> > - Something else?
> >
> > /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/>
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
>
> --
> Ladislav Lhotka, CZ.NIC Labs
> PGP Key ID: E74E8C0C
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>