Re: [T2TRG] Fwd: New Version Notification for draft-petrov-t2trg-youpi-00.txt

ivaylo petrov <ivaylo@ackl.io> Tue, 23 July 2019 14:39 UTC

Return-Path: <ivaylo@ackl.io>
X-Original-To: t2trg@ietfa.amsl.com
Delivered-To: t2trg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 485B81202A6 for <t2trg@ietfa.amsl.com>; Tue, 23 Jul 2019 07:39:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ackl-io.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 Xt_5BTtg3CCU for <t2trg@ietfa.amsl.com>; Tue, 23 Jul 2019 07:38:57 -0700 (PDT)
Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (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 2A499120256 for <T2TRG@irtf.org>; Tue, 23 Jul 2019 07:38:57 -0700 (PDT)
Received: by mail-wm1-x334.google.com with SMTP id v19so38754991wmj.5 for <T2TRG@irtf.org>; Tue, 23 Jul 2019 07:38:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ackl-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UCzjzlQl/fMgpzTLiYy0gywGxOCojvsLY3xf7rxSLeE=; b=olim4dXW5Bp2pe2w1hsRSe4iExndm2rM0LGHNx2wEhMhAfeqv3uMO5QpqtjYRgxyDc iU+NeUZMp9dtcxR2vy3ls//ewMOPK8ijk2hQyuloC6IZPPGWHUUD7RCOZYjn4MO009Re TaD/fZ+R+oO9VPYCaRh0LtYLZn5pitJQtfQ8UwoE7sj/38sTiR0TrVQ7w1wDdznMevWC 6nH+TPvTRYQhd2NxTV2GdyJUVXyOs3jh2HTtfhW9BrlbglF3yqnJqXOW13Tkg0KZe+8K AYB3C23v3MErSKkbajjEXcLjJwJpUaL2d7iwovXMQNYO5GYLOiBkrRHsTqJI0UkWgm6i E+IA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UCzjzlQl/fMgpzTLiYy0gywGxOCojvsLY3xf7rxSLeE=; b=A0kV6nsX9Fh78UzLnAs/Iz6IIf/40x7a0x5Ypb2Cn5tnKtwQOic0LCbINr+nCkdV8V nQoRTGWhb22vrmF6CdiD584jlwiIuTq8XDaaSCc4i/FgazCQ7YR/Wq0xm8jfiYagIxxI 4lSnlug598dbNsW4ez30ql4u6mXyqvE3HUIF+4eDW9+G6hKPOSsPUHsXjfODh+iEKQXl Qrbp4HL/dYQWX1WrWOaJFgj4O5EBJlGA8oPyM1KTk4t7VqRDZsn3RCX/VxQspp0rVicE QD8T/q4NkH8Yqht1H3mnZhautnOOepz3FuPFxsfMv8FIoZ8ie0jpKdpWfa2+4xT9WCPs tPnA==
X-Gm-Message-State: APjAAAVVaucX3eEdbafgSUhRn2LLWoH7ysIC8qHSaVRjJu/TUdGxWoow rtumdxVj1WrQ2sVP5/wHP90OrmX6Phovz0RlH5Y=
X-Google-Smtp-Source: APXvYqxyJEVmAxE+0xDiZWtLEyd70xaQsubVm77us0f2Ng2esaCP/Fv7RLti7F3FLgh0bi/JLbcpEfaTod46Z7VzGYc=
X-Received: by 2002:a1c:a481:: with SMTP id n123mr64879941wme.123.1563892735604; Tue, 23 Jul 2019 07:38:55 -0700 (PDT)
MIME-Version: 1.0
References: <156388679925.28045.929035652787384990.idtracker@ietfa.amsl.com> <CAJFkdRxHaPXtYHo2eygZy-=XC-aDS=bEhMOqWo2ZBnTfHOHOAw@mail.gmail.com> <CABONVQYb+6UL8Y7-rxQkqRisDrr-YcWTe42GxME5LfX+BZw93A@mail.gmail.com>
In-Reply-To: <CABONVQYb+6UL8Y7-rxQkqRisDrr-YcWTe42GxME5LfX+BZw93A@mail.gmail.com>
From: ivaylo petrov <ivaylo@ackl.io>
Date: Tue, 23 Jul 2019 10:38:29 -0400
Message-ID: <CAJFkdRwh21-RSHc7pe3GoAEk_waBtFD70v2AH=7qbpK5nbRW_A@mail.gmail.com>
To: Laurent Toutain <laurent.toutain@imt-atlantique.fr>
Cc: T2TRG@irtf.org
Content-Type: multipart/alternative; boundary="000000000000f91d03058e5a2656"
Archived-At: <https://mailarchive.ietf.org/arch/msg/t2trg/auhA-2-hN7xvdUo21ntm9w61XHQ>
Subject: Re: [T2TRG] Fwd: New Version Notification for draft-petrov-t2trg-youpi-00.txt
X-BeenThere: t2trg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IRTF Thing-to-Thing Research Group <t2trg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/t2trg>, <mailto:t2trg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/t2trg/>
List-Post: <mailto:t2trg@irtf.org>
List-Help: <mailto:t2trg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/t2trg>, <mailto:t2trg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Jul 2019 14:39:11 -0000

Hi Laurent,

Thank you for pointing that out! I have missed the `relative` keyword,
which tells the parser that it needs to use the current cursor position for
the parsing. It should read `youpi:position "relative 1..7";`. I will
update this in the next version.

Best regards,
Ivaylo


On Tue, Jul 23, 2019 at 9:46 AM Laurent Toutain <
laurent.toutain@imt-atlantique.fr> wrote:

> Hi Ivaylo,
>
> Thanks for the document, I have a question regarding the position, I don't
> understand the difference in the yang example between absolute and relative
> position.
>
> Thanks
>
> Laurent
>
> On Tue, Jul 23, 2019 at 3:37 PM ivaylo petrov <ivaylo@ackl.io> wrote:
>
>> Dear all,
>>
>> In the context of some discussions that were happening in the WISHI
>> hackathon and in relation to some work that my company Acklio has been
>> doing, I have written a short draft that describes how YANG models can be
>> enriched so that one can describe binary data parsing and translation. The
>> need for this arises from the reality that there are some binary protocol
>> that are more difficult to inter-operate with the rest of the world (not
>> CBOR, but others) and that some very constrained networks and devices are
>> adding more and more custom binary protocols due to bandwidth constraints
>> and similar considerations.
>>
>> Any feedback is welcome, but above all I am interested to know if this is
>> something that seems interesting to you and that anyone will like to work
>> on.
>>
>> Thank you in advance!
>>
>> Best regards,
>> Ivaylo Petrov
>>
>>
>>
>> ---------- Forwarded message ---------
>> From: <internet-drafts@ietf.org>
>> Date: Tue, Jul 23, 2019 at 8:59 AM
>> Subject: New Version Notification for draft-petrov-t2trg-youpi-00.txt
>> To: Ivaylo Petrov <ivaylo@ackl.io>
>>
>>
>>
>> A new version of I-D, draft-petrov-t2trg-youpi-00.txt
>> has been successfully submitted by Ivaylo Petrov and posted to the
>> IETF repository.
>>
>> Name:           draft-petrov-t2trg-youpi
>> Revision:       00
>> Title:          YANG Object Universal Parsing Interface
>> Document date:  2019-07-23
>> Group:          Individual Submission
>> Pages:          7
>> URL:
>> https://www.ietf.org/internet-drafts/draft-petrov-t2trg-youpi-00.txt
>> Status:
>> https://datatracker.ietf.org/doc/draft-petrov-t2trg-youpi/
>> Htmlized:       https://tools.ietf.org/html/draft-petrov-t2trg-youpi-00
>> Htmlized:
>> https://datatracker.ietf.org/doc/html/draft-petrov-t2trg-youpi
>>
>>
>> Abstract:
>>    YANG Object Universal Parsing Interface (YOUPI) specification
>>    describes generic way to encode and decode binary data based on a
>>    YANG model for use of constrainted devices.  YOUPI is a generic
>>    mechanism designed for great flexibility, so that it can be adapted
>>    for any of the constainted devices.
>>
>>
>>
>>
>> Please note that it may take a couple of minutes from the time of
>> submission
>> until the htmlized version and diff are available at tools.ietf.org.
>>
>> The IETF Secretariat
>>
>> _______________________________________________
>> T2TRG mailing list
>> T2TRG@irtf.org
>> https://www.irtf.org/mailman/listinfo/t2trg
>>
>