Re: [core] YANG Packages for CoMI

Andy Bierman <andy@yumaworks.com> Mon, 27 July 2015 06:29 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 555AE1A8A95 for <core@ietfa.amsl.com>; Sun, 26 Jul 2015 23:29:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level:
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 B28EnURlMUHE for <core@ietfa.amsl.com>; Sun, 26 Jul 2015 23:29:46 -0700 (PDT)
Received: from mail-la0-f51.google.com (mail-la0-f51.google.com [209.85.215.51]) (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 39C8B1A8A8B for <core@ietf.org>; Sun, 26 Jul 2015 23:29:46 -0700 (PDT)
Received: by lafd3 with SMTP id d3so32412328laf.1 for <core@ietf.org>; Sun, 26 Jul 2015 23:29:44 -0700 (PDT)
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:cc:content-type; bh=wRBuIgCNLIdpK/BXFg0pcJ8a4IZBlei23cBDWXBJPY4=; b=SHElsy84xGIGdVr+u/iBtVH6Kvz8FXm3ek22rsoJid6gNAsnvKU1oFrlNBrH14/y9e KenIVtvnpyroMSTE8nUBUos95uiT1sJoB4sKhfeDAym4HiNMZU7YKIp7QVYEb9NWb5aJ f5nbametEmsheugQQbwRjNx9c3oEFTVjZsEpqCBmGnRxik3UjbWtjMTyAOYuL86DpwBn 9SdAa/v/QcwdmvmbnX5f00GRTbcZ8XseEwrwsrahviQIK3cr70jqgf3J2BAXQggRw21U glfCrTjdrhVtTrGKFT6uQXtPZWxHVHuSgKGErscroFPhOGyxbui318MaizkyfUAeUw/p PXXw==
X-Gm-Message-State: ALoCoQm3vGtlXeWSiprn9RPXe+84md6zn5SYEk61QACctUfboNbkBjwC4Ju4fCtlqXUrspSBQPF8
MIME-Version: 1.0
X-Received: by 10.152.37.67 with SMTP id w3mr25548785laj.123.1437978584674; Sun, 26 Jul 2015 23:29:44 -0700 (PDT)
Received: by 10.112.200.102 with HTTP; Sun, 26 Jul 2015 23:29:44 -0700 (PDT)
In-Reply-To: <4dde82ad1cd4d261b598cb0e851cdf1c@xs4all.nl>
References: <CABCOCHT7J71iiAgcofradE38JepEJLsPkbmwtivY=HMyij1Svg@mail.gmail.com> <4dde82ad1cd4d261b598cb0e851cdf1c@xs4all.nl>
Date: Sun, 26 Jul 2015 23:29:44 -0700
Message-ID: <CABCOCHTukKKkP9wgP4BrtAcKwDd7eSLvFR_x2kJptW+Dfo_0Lw@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: "consultancy@vanderstok.org" <consultancy@vanderstok.org>
Content-Type: multipart/alternative; boundary="089e0158ba0abc0ee5051bd57a69"
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/7gO0kbCpbU4cmfC3b7Dy5uLLs14>
Cc: Core <core@ietf.org>
Subject: Re: [core] YANG Packages for CoMI
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 27 Jul 2015 06:29:48 -0000

On Sun, Jul 26, 2015 at 11:26 PM, peter van der Stok <stokcons@xs4all.nl>
wrote:

> HI Andy,
>
> Is the proposal to make YANG packages compulsory over yang-library in Comi
> servers and clients?
>
>
No, it would be optional.
Another solution approach would be to make the module-set-id values
global instead of per-server. That might be less work perhaps.


Peter
>

Andy


>
> Andy Bierman schreef op 2015-07-26 19:44:
>
>> Hi,
>>
>> Michel raised some issues with the YANG library draft
>> http://datatracker.ietf.org/doc/draft-ietf-netconf-yang-library/
>>
>> Maybe CoMI needs its own optimized module library.
>> I am concerned that data sizes of the YANG library will be
>> too big in some really constrained environments.
>>
>> I wrote a draft that defines a way to specify the contents of the
>> YANG library in a single static document, called a YANG package.
>> http://datatracker.ietf.org/doc/draft-bierman-netmod-yang-package/
>>
>> If there was a "shorthand" resource that listed YANG packages, instead
>> of YANG modules, then the CoMI client that supported YANG packages
>> could read that instead of the module library.
>>
>> The YANG package message response can identify a single package
>> (e.g. match the firmware) so the size of the response will remain very
>> small, and not depend on the entire list of modules, features,
>> and deviations. The data savings could 1000X for 100 modules.
>>
>> The client needs to retrieve the library first-time and anytime it
>> changes.
>> The module-set-id values are per-server, not global. This could be a
>> significant bottleneck when a CoMI client starts or restarts, and
>> manages lots of servers.
>>
>> Andy
>>
>>
>> _______________________________________________
>> core mailing list
>> core@ietf.org
>> https://www.ietf.org/mailman/listinfo/core
>>
>