Re: Blog: YANG Really Takes Off in the Industry

Alia Atlas <akatlas@gmail.com> Wed, 03 December 2014 14:27 UTC

Return-Path: <akatlas@gmail.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1C301A1B23 for <ietf@ietfa.amsl.com>; Wed, 3 Dec 2014 06:27:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 mfcpntDvK6lg for <ietf@ietfa.amsl.com>; Wed, 3 Dec 2014 06:27:31 -0800 (PST)
Received: from mail-yh0-x235.google.com (mail-yh0-x235.google.com [IPv6:2607:f8b0:4002:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ECE3D1A1B64 for <ietf@ietf.org>; Wed, 3 Dec 2014 06:27:19 -0800 (PST)
Received: by mail-yh0-f53.google.com with SMTP id i57so7129372yha.12 for <ietf@ietf.org>; Wed, 03 Dec 2014 06:27:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9Uh3qQ6ZwkkopgImxqJ+lmdIcDbIYzCljbTzzscGf7M=; b=NcCTGTM2CYTU24EfA2+0xKbtJ2vWxdMBUb2BE6CwBqX47rVzaR/2ALP1JBnIVEmCnE mFZ0IQtqXvMahbznjCZOAnt5HW6V5aT+KHMGiDtDMji04XteUbt+wM23QLIXP+zXg3F4 ucEWJLr4mS7yYQPSs9EVGyb9ljMjtO0CtH4kDEp6ScBIIupFofe09ITgbDc00afIHCdG 7ZB6zQL/m0C+YKX1EtVQyKtmXorowRLvMXppemQyOuNwISYxpSIKBnzHHSuR4c5jwV03 diCsm5+onFYugV1QI6aVHcCMLOBWilvm8/XqweMllf826DH9YJORpO2kswID6MXfnodk IZcQ==
MIME-Version: 1.0
X-Received: by 10.236.223.198 with SMTP id v66mr6434229yhp.38.1417616839198; Wed, 03 Dec 2014 06:27:19 -0800 (PST)
Received: by 10.170.172.86 with HTTP; Wed, 3 Dec 2014 06:27:19 -0800 (PST)
In-Reply-To: <01f901d00ee4$3c077b40$4001a8c0@gateway.2wire.net>
References: <54770BA5.5060603@cisco.com> <809EFD2B-A845-46B7-A394-A9C9E5393CD5@piuha.net> <547874D6.1090001@cisco.com> <7890AE32-F7A9-4C32-9C3D-8251E70B1F29@lucidvision.com> <m2sigyhpxc.wl%randy@psg.com> <8BBBDF7F-00A0-44BD-AA64-DA7044D35012@lucidvision.com> <C51AC247-C16D-4452-874E-0D97BDB009EB@juniper.net> <547D0AEA.4020309@gmail.com> <0BFD0B22-EC45-473F-8E7A-7FB608B60E6F@juniper.net> <139D837E-F131-4791-A026-234699A7E617@nominum.com> <01f901d00ee4$3c077b40$4001a8c0@gateway.2wire.net>
Date: Wed, 03 Dec 2014 09:27:19 -0500
Message-ID: <CAG4d1rdjRaGjdMuwMkHddwY2E6nHuJ0zkgK2NU8KQf8CUewvqg@mail.gmail.com>
Subject: Re: Blog: YANG Really Takes Off in the Industry
From: Alia Atlas <akatlas@gmail.com>
To: "t.p." <daedulus@btconnect.com>
Content-Type: multipart/alternative; boundary="001a11c1e9ee20cda0050950a468"
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/DtpyM33_3ktrqFEXrOGRNaZDWK4
Cc: IETF-Discussion list <ietf@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Dec 2014 14:27:34 -0000

Hi Tom,

On Wed, Dec 3, 2014 at 5:18 AM, t.p. <daedulus@btconnect.com> wrote:

>
> ----- Original Message -----
> From: "Ted Lemon" <Ted.Lemon@nominum.com>
> To: "Dean Bogdanovic" <deanb@juniper.net>
> Cc: "IETF-Discussion list" <ietf@ietf.org>
> Sent: Tuesday, December 02, 2014 2:59 AM
> Subject: Re: Blog: YANG Really Takes Off in the Industry
>
>
> On Dec 1, 2014, at 8:54 PM, Dean Bogdanovic <deanb@juniper.net> wrote:
> > this is one part I don't understand. Why adding another language would
> make them less agile?
>
> If the yang model isn't a good representation of what is being modeled,
> it can cause more harm than good.   Same problem exists with MIBs.
>
> <tp>
>
> The difference is that MIBs are written in a much simpler language; what
> object should there be, its syntax and status (index, read-only,
> read-write) and that's about it (even augmentation tends to confuse many
> people).  I have never yet met a MIB module that I could not reverse
> engineer to determine the design, even the requirements.
>
> YANG is different, it is capable of much more complicated things and
> occasionally it is unclear what it does mean (something that surfaces on
> the netmod WG list now and again).  What I think I see happening is what
> happened when programming languages became more widely used, an
> inability to keep things as simple as they could be, resulting in code
> whose purpose was unclear, that was error-prone and hard to understand
> or maintain.  Not an issue with SMI.
>
> The YANG models of the IETF seem to be diving into complex code from
> which it is hard to discern what the purpose is, and the fact that most
> of the exemplars are written by those highly expert in YANG, and so use
> the wide range of constructs available, does not help.
>

Thanks - this is an interesting perspective.


> Perhaps the IESG should require that any IETF YANG data model must be
> accompanied by an information model so that we can debate what should be
> done independently of deciding how to do it.  After all, this is a
> stricture that has been imposed on the I2RS WG.
>

I do think that it is useful to understand what information is being
modeled and
what the relationships are.  Having separate info models for I2RS hasn't
worked
ideally; I'd rather see a section in the YANG model that describes the
information
and relationships - and then the pyang tree and the detailed model.  Such
sections
are common with MIB models and do, I think, help clarify.

Alia



> Tom Petch
>
>
>
>
>
>
>
>
> When different implementations of the same thing use different base
> assumptions, it can be difficult to come up with a management model that
> is congruent with all of the different base assumptions and is still
> useful.   I wouldn't say it's impossible, but it's a good bet that a
> poorly thought out model or a model that is based on experience with a
> single implementation will fail in this regard.
>
>
>