Re: Blog: YANG Really Takes Off in the Industry
Benoit Claise <bclaise@cisco.com> Mon, 08 December 2014 09:51 UTC
Return-Path: <bclaise@cisco.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 7A4C11A89C5 for <ietf@ietfa.amsl.com>; Mon, 8 Dec 2014 01:51:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 iPWxaOueZP4r for <ietf@ietfa.amsl.com>; Mon, 8 Dec 2014 01:51:44 -0800 (PST)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0901E1A89BB for <ietf@ietf.org>; Mon, 8 Dec 2014 01:51:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8205; q=dns/txt; s=iport; t=1418032304; x=1419241904; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=Hh2Tg7uskUvRuiwlrGw3PC+/TUHinvGCVr1azEMp1Uk=; b=FN3yzRNv8ZxP9QuJAx9wlQP3b1GupNsilxQtSF0WZG3TVbYTT5hKFfmW y8aAyUQHe4Tf52iUJj1ZKiajwcxjDAweKvf30FD4rkoG4ZWQ3YVBubKPw BUlUTjpiYUZjADLNmbf4BZkuv2QPvfoz0UCfTvrapADQ53lBDanpVQ3Fc Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AtsEADt0hVStJssW/2dsb2JhbABag1hYxh6GEwKBPAEBAQEBfYQCAQEBBGsHBwwECxEEAQEBCSUPAj4IBgEMAQUCAQGINw3UVgEBAQEBAQEBAQEBAQEBAQEBAQEBARMEkE8HBoQwBZlfgSKDEoI7JYwrg3A+MAGCQgEBAQ
X-IronPort-AV: E=Sophos;i="5.07,537,1413244800"; d="scan'208,217";a="261375793"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP; 08 Dec 2014 09:51:42 +0000
Received: from [10.60.67.84] (ams-bclaise-8913.cisco.com [10.60.67.84]) by aer-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id sB89pfHf008757; Mon, 8 Dec 2014 09:51:41 GMT
Message-ID: <548574AD.70005@cisco.com>
Date: Mon, 08 Dec 2014 10:51:41 +0100
From: Benoit Claise <bclaise@cisco.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
MIME-Version: 1.0
To: "t.p." <daedulus@btconnect.com>, Ted Lemon <Ted.Lemon@nominum.com>, Dean Bogdanovic <deanb@juniper.net>
Subject: Re: Blog: YANG Really Takes Off in the Industry
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>
In-Reply-To: <01f901d00ee4$3c077b40$4001a8c0@gateway.2wire.net>
Content-Type: multipart/alternative; boundary="------------060700030604040700080705"
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/0xlKPhP8-c1VVJIEtS_kAS70XQE
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: Mon, 08 Dec 2014 09:51:46 -0000
Hi Tom, > ----- 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. > > 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. Having information models (IM) before data models (DM) is the right theoretical approach. And I pushed that approach in the past, when YANG was not the data modeling of choice for configuration. I mean before the Writable MIB Module IESG Statement <https://www.ietf.org/iesg/statement/writable-mib-module.html> However, I don't think it's appropriate any longer. - what is the language for IM: text, UML, pseudo-code? - when I discussed IM for DM with some operators, the answers were along these lines: "no IMs please, give me something that I can work with, so vendor-neutral DMs. And btw, this is urgent." - as Alia mentioned, IM before DM didn't work too well for I2RS In conclusion, at the time were DMs are urgent, I agree with Alia: "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." Regards, Benoit > > 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. > > > . >
- Blog: YANG Really Takes Off in the Industry Benoit Claise
- Re: Blog: YANG Really Takes Off in the Industry Jari Arkko
- Re: Blog: YANG Really Takes Off in the Industry Benoit Claise
- RE: [netmod] Blog: YANG Really Takes Off in the I… Tina TSOU
- Re: [netmod] Blog: YANG Really Takes Off in the I… Dean Bogdanovic
- Re: [netmod] Blog: YANG Really Takes Off in the I… Benoit Claise
- Re: Blog: YANG Really Takes Off in the Industry Thomas D. Nadeau
- Re: Blog: YANG Really Takes Off in the Industry Thomas D. Nadeau
- Re: [netmod] Blog: YANG Really Takes Off in the I… Thomas D. Nadeau
- Re: [netmod] Blog: YANG Really Takes Off in the I… Dean Bogdanovic
- Re: [netmod] Blog: YANG Really Takes Off in the I… Benoit Claise
- Re: Blog: YANG Really Takes Off in the Industry Randy Bush
- Re: Blog: YANG Really Takes Off in the Industry Thomas D. Nadeau
- Re: Blog: YANG Really Takes Off in the Industry Dean Bogdanovic
- Re: Blog: YANG Really Takes Off in the Industry Tim Wicinski
- Re: Blog: YANG Really Takes Off in the Industry Dean Bogdanovic
- Re: Blog: YANG Really Takes Off in the Industry Ted Lemon
- Re: Blog: YANG Really Takes Off in the Industry Dean Bogdanovic
- Re: Blog: YANG Really Takes Off in the Industry Ted Lemon
- Re: Blog: YANG Really Takes Off in the Industry Randy Bush
- Re: Blog: YANG Really Takes Off in the Industry Dean Bogdanovic
- Re: Blog: YANG Really Takes Off in the Industry Phillip Hallam-Baker
- Re: Blog: YANG Really Takes Off in the Industry t.p.
- Re: Blog: YANG Really Takes Off in the Industry Alia Atlas
- Re: Blog: YANG Really Takes Off in the Industry Dean Bogdanovic
- Re: Blog: YANG Really Takes Off in the Industry Ted Lemon
- Re: Blog: YANG Really Takes Off in the Industry Benoit Claise
- Re: Blog: YANG Really Takes Off in the Industry Benoit Claise
- Re: Blog: YANG Really Takes Off in the Industry Benoit Claise
- Re: Blog: YANG Really Takes Off in the Industry Thomas D. Nadeau
- RE: Blog: YANG Really Takes Off in the Industry Ersue, Mehmet (NSN - DE/Munich)
- RE: Blog: YANG Really Takes Off in the Industry Romascanu, Dan (Dan)
- Re: Blog: YANG Really Takes Off in the Industry t.p.
- Re: Blog: YANG Really Takes Off in the Industry Ted Lemon
- Re: Blog: YANG Really Takes Off in the Industry Benoit Claise
- Re: Blog: YANG Really Takes Off in the Industry Tim Wicinski
- Re: Blog: YANG Really Takes Off in the Industry Randy Bush
- Re: Blog: YANG Really Takes Off in the Industry Ted Lemon
- Re: Blog: YANG Really Takes Off in the Industry Phillip Hallam-Baker
- Re: Blog: YANG Really Takes Off in the Industry t.p.
- Re: Blog: YANG Really Takes Off in the Industry Brian E Carpenter
- Re: Blog: YANG Really Takes Off in the Industry t.p.