Re: [core] ? WG adoption of draft-veillette-core-yang-cbor-mapping-00
Andy Bierman <andy@yumaworks.com> Thu, 21 April 2016 21:50 UTC
Return-Path: <andy@yumaworks.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 584D112DB60 for <core@ietfa.amsl.com>; Thu, 21 Apr 2016 14:50:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
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 L-DxriDHRfyt for <core@ietfa.amsl.com>; Thu, 21 Apr 2016 14:50:01 -0700 (PDT)
Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 90B1412D7B5 for <core@ietf.org>; Thu, 21 Apr 2016 14:50:00 -0700 (PDT)
Received: by mail-lb0-x231.google.com with SMTP id b1so30237740lbi.1 for <core@ietf.org>; Thu, 21 Apr 2016 14:50:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=R4CH3DGydlxsKwc/qfVHzHQfVWShA9wWLCJR+DVqJhI=; b=Kp59iHKHK+tw5rXKl9po1EgdRmBalVQAPnGyQPv0X7Q/yzTBO/4qvcq5DFzK8MaRPY 89MSHLMBIbjLrugewL6v32Q4AP3feZqdsSlurHrQlHbmJu3J1w5IhXaCBr3fRP7//nuj ujuordAhXoMfT6Zjdl3PBwqWrPSdBWHao/7ZDWs+W1tiyJ4Xh1JsoxodzXfI6ZI0VDis YVBKtnglyiahpnWHE+tK63EMDYazeYbID7mVI5gqmA1e8dx4QGUQ7vJ8qXs0DTl6d9Yb oNAGqj53b5XRX11dnFPZx3b9PVmImIg+t4djLO+i0s0w+TRY4A8TSgSSausjRIiD7R6I UoCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=R4CH3DGydlxsKwc/qfVHzHQfVWShA9wWLCJR+DVqJhI=; b=DBxLKLFYHTT41kV2fUe0xUgHNCEP4ysejqw2vQ2IyXo6UIGNudPas68pzQTPVsvV2o ZvuCK2KZWwTT4v6mqd1ikGnCTTVjTZ7lCuW7YBiGxbaaMUL+0ftsIRQBzjOkhPjuM3AU SMJK1dIqfMrf0aJgpdHLagFw7Q+reEw8GUQIFVhsTzGiUzc1JizJqbuZklAs/XcOkjHr w+3qC0kU7L27wQM4nhXz+JZEurD2IBcVzE6I2De8rfIkTBusda4vv3nQNRrTzCMMeoAa 3OxtACHXX7OfVtsa/mG6s4u77kTOd6p243lssvvFtkvGMXS/NjyGV+FzCQR30BCMcz6D wQdw==
X-Gm-Message-State: AOPr4FXLzrNLku976zQaOx+QmQ0FslxkMgChvXAnYOu/SjNFHsbOPa+52AvkXsxyzZLKdbiS0q3fyShpmnwpYQ==
MIME-Version: 1.0
X-Received: by 10.112.170.68 with SMTP id ak4mr6225849lbc.94.1461275398786; Thu, 21 Apr 2016 14:49:58 -0700 (PDT)
Received: by 10.112.198.70 with HTTP; Thu, 21 Apr 2016 14:49:58 -0700 (PDT)
In-Reply-To: <20160421213738.GD8993@elstar.local>
References: <570A4583.2030100@tzi.org> <5718A09E.7040607@gmx.net> <BLUPR06MB1763F3B6BDE5240402576758FE6E0@BLUPR06MB1763.namprd06.prod.outlook.com> <20160421174806.GA8710@elstar.local> <BLUPR06MB1763C3A1543AAB909C95D20EFE6E0@BLUPR06MB1763.namprd06.prod.outlook.com> <20160421204630.GA8993@elstar.local> <BLUPR06MB17635E7755D44E34BB1FACA5FE6E0@BLUPR06MB1763.namprd06.prod.outlook.com> <20160421213738.GD8993@elstar.local>
Date: Thu, 21 Apr 2016 14:49:58 -0700
Message-ID: <CABCOCHTzsRiom8aMNu1YSmg_dk=mf3-5Y7SbO4OOCUZKVufgSQ@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Michel Veillette <Michel.Veillette@trilliantinc.com>, Hannes Tschofenig <hannes.tschofenig@gmx.net>, "core@ietf.org WG" <core@ietf.org>
Content-Type: multipart/alternative; boundary="001a11c259a8106c3b053105b1a3"
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/b_zk_JoXmu0ztTQCrKZffaEmEyk>
Subject: Re: [core] ? WG adoption of draft-veillette-core-yang-cbor-mapping-00
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2016 21:50:03 -0000
On Thu, Apr 21, 2016 at 2:37 PM, Juergen Schoenwaelder < j.schoenwaelder@jacobs-university.de> wrote: > On Thu, Apr 21, 2016 at 09:00:29PM +0000, Michel Veillette wrote: > > Hi Juergen > > > > The extract I have provided is from a publically available document, see: > > https://www.iab.org/wp-content/IAB-uploads/2016/03/ipso-paper.pdf > > > > My remark about the LWM2M modeling language was just to highlight that > such language don't necessary imply code generation. > > > > YANG does not imply code generation either. A YANG module defines a > contract, and in the light of a protocol a programmatic interface. > There is nothing in YANG that requires code generation. > > It just happens that people often tend to automate things if they find > themself repeatedly writing similar code. It is at the end a question > of how much data a device exposes and what kind of developers you are > dealing with and whether you have a product that is expected to evolve > over years or something designed to be sold and thrown away > afterwards. ;-) > > /js > > PS: I have just implemented a YANG data model 'manually' because I had > reasons to not depend on tool chains (the target environment are > OpenWrt type of devices). But still I took advantage of having > YANG tools available to validate test cases so that I can be > reasonably sure my manually written code is a good match of the > contract. > > There are commercial and open-source toolchains that handle the NETCONF/YANG interaction model and most of the data model details in the protocol stack, instead of pushing that work out to the model instrumentation. This can save a lot of code and makes sure the client or server has consistent behavior. But you are making an important point. The expected use CoMI/CoOL co-authors have discussed is client firmware written to work with specific YANG modules/revisions. The client needs to retrieve enough server state to know if the server supports the same module revisions, and then just assumes the API contract will be followed. It does not need any YANG parser or code automation. -- > 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/> > > Andy > _______________________________________________ > core mailing list > core@ietf.org > https://www.ietf.org/mailman/listinfo/core >
- Re: [core] LWM2M spec now available for public do⦠Carsten Bormann
- [core] LWM2M spec now available for public downlo⦠Hannes Tschofenig
- Re: [core] π WG adoption of draft-veillette-core-β¦ peter van der Stok
- [core] π WG adoption of draft-veillette-core-yangβ¦ Carsten Bormann
- Re: [core] π WG adoption of draft-veillette-core-β¦ Andy Bierman
- Re: [core] π WG adoption of draft-veillette-core-β¦ Somaraju Abhinav
- Re: [core] π WG adoption of draft-veillette-core-β¦ Pascal Thubert (pthubert)
- Re: [core] π WG adoption of draft-veillette-core-β¦ Michel Veillette
- Re: [core] π WG adoption of draft-veillette-core-β¦ Turner, Randy
- Re: [core] π WG adoption of draft-veillette-core-β¦ James Nguyen
- Re: [core] π WG adoption of draft-veillette-core-β¦ Somaraju Abhinav
- Re: [core] π WG adoption of draft-veillette-core-β¦ Dijk, Esko
- Re: [core] π WG adoption of draft-veillette-core-β¦ Hannes Tschofenig
- Re: [core] π WG adoption of draft-veillette-core-β¦ Andy Bierman
- Re: [core] π WG adoption of draft-veillette-core-β¦ Michel Veillette
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Juergen Schoenwaelder
- Re: [core] π WG adoption of draft-veillette-core-β¦ Paul Duffy
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Michel Veillette
- Re: [core] π WG adoption of draft-veillette-core-β¦ Michel Veillette
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Juergen Schoenwaelder
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Michel Veillette
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Andy Bierman
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Juergen Schoenwaelder
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Andy Bierman
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Somaraju Abhinav
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Juergen Schoenwaelder
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Carsten Bormann
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Somaraju Abhinav
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Carsten Bormann
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Juergen Schoenwaelder
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Hannes Tschofenig
- Re: [core] ? WG adoption of draft-veillette-core-β¦ Juergen Schoenwaelder
- [core] Using Yang to describe LWM2M ... was Re: ?β¦ Hannes Tschofenig
- Re: [core] Using Yang to describe LWM2M ... was R⦠Juergen Schoenwaelder
- Re: [core] π WG adoption of draft-veillette-core-β¦ Carsten Bormann
- Re: [core] Using Yang to describe LWM2M ... was R⦠Hannes Tschofenig