Re: [Yot] questions concerning sid value assignments

peter van der Stok <stokcons@xs4all.nl> Tue, 20 February 2018 08:28 UTC

Return-Path: <stokcons@xs4all.nl>
X-Original-To: yot@ietfa.amsl.com
Delivered-To: yot@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D4D78126C25 for <yot@ietfa.amsl.com>; Tue, 20 Feb 2018 00:28:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.621
X-Spam-Level:
X-Spam-Status: No, score=-2.621 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 kl1qODxsG9GQ for <yot@ietfa.amsl.com>; Tue, 20 Feb 2018 00:28:55 -0800 (PST)
Received: from lb2-smtp-cloud9.xs4all.net (lb2-smtp-cloud9.xs4all.net [194.109.24.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1EC8B1243F3 for <yot@ietf.org>; Tue, 20 Feb 2018 00:28:54 -0800 (PST)
Received: from webmail.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:216]) by smtp-cloud9.xs4all.net with ESMTPA id o3IDeGyJwoWCOo3IDej90g; Tue, 20 Feb 2018 09:28:53 +0100
Received: from AMontpellier-654-1-186-134.w92-145.abo.wanadoo.fr ([92.145.165.134]) by webmail.xs4all.nl with HTTP (HTTP/1.1 POST); Tue, 20 Feb 2018 09:28:53 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Content-Transfer-Encoding: 7bit
Date: Tue, 20 Feb 2018 09:28:53 +0100
From: peter van der Stok <stokcons@xs4all.nl>
To: Michel Veillette <Michel.Veillette@trilliant.com>
Cc: consultancy@vanderstok.org, Michael Richardson <mcr+ietf@sandelman.ca>, "Panos Kampanakis (pkampana)" <pkampana@cisco.com>, Kent Watsen <kwatsen@juniper.net>, yot@ietf.org
Organization: vanderstok consultancy
Reply-To: consultancy@vanderstok.org
Mail-Reply-To: consultancy@vanderstok.org
In-Reply-To: <BN6PR06MB2308E44C22598B405243060F9AC80@BN6PR06MB2308.namprd06.prod.outlook.com>
References: <faa44e95aa561876f119edc7358fd118@xs4all.nl> <26096.1518551413@obiwan.sandelman.ca> <9e0d297ad888a36e16921d10873cc947@xs4all.nl> <BN6PR06MB23082D66ED7486BDA002B1DBFEF50@BN6PR06MB2308.namprd06.prod.outlook.com> <eaccba06f07bc88eac32285fb8880f06@xs4all.nl> <22cc48128046319c662c116bcc39d761@xs4all.nl> <BN6PR06MB2308E44C22598B405243060F9AC80@BN6PR06MB2308.namprd06.prod.outlook.com>
Message-ID: <2860bc3620106db0d1ad1317582a7c27@xs4all.nl>
X-Sender: stokcons@xs4all.nl
User-Agent: XS4ALL Webmail
X-CMAE-Envelope: MS4wfG5ZW9b4E1ofTxg3mvh3Cyu5EYoeE2xli0WMF8ZSfK1ectAVQDGk3P4rLEFpSPNGxbk2Wq8zPwg2G3yB0WP1yi/Z5owysAKsgmB2BnFg66KlqSRoJsNZ X7TdyyC8AG3eR/OxotVoKWGYRrIhYXsIYAwSGo2elMtfXwXHQv19UZLc9rvLEphdKiTGnd00m7DbSqQKTmzx1GFKveCeNAHDcywJFiR5jVY6Jbg2ZCQ7Unq1 4o4L9lszhGaFWNsssagKVLBBDEb4oe3oaEr/EY5DZdxeIkq8HMUWQQrOc6W5K1s8UWnzYNoCvTW48hxkcp8Vcg==
Archived-At: <https://mailarchive.ietf.org/arch/msg/yot/oAUp6YRduqCWuOKY0JPinCWt2N0>
Subject: Re: [Yot] questions concerning sid value assignments
X-BeenThere: yot@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Yang of Things <yot.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yot>, <mailto:yot-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yot/>
List-Post: <mailto:yot@ietf.org>
List-Help: <mailto:yot-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yot>, <mailto:yot-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Feb 2018 08:28:57 -0000

Hi Michel,

thanks for the rectifications; will work out the example better for the 
draft.
But it served its purpose.

> Example:
> {
>   1001001: {
>     +2 : "2016-10-07T19:31:42Z",  / SID = 1001003, created-on /
>     +4 : "2016-10-21T19:31:42Z",  / SID = 1001005, expires-on /
>     +1 : "verified",              / SID = 1001002, assertion /
>     +10 : "JADA123456789",        / SID = 1001011, serial-number /
>     +5 : h'0102030405060708090A0B0C0D0F',  / SID = 1001006, 
> idevid-issuer /
>     +8 : h'0102030405060708090A0B0C0D0F',  / SID = 1001009, 
> pinned-domain-cert /
>     +3 : true,                    / SID = 1001004,
> domain-cert-revocation-checks /
>     +6 : "2017-10-07T19:31:42Z"   / SID = 1001007, last-renewal-date /
>   }
> }
> 
> About "when using comi to return the value"
> 
> Currently, these YANG files don't define any data nodes which can be
> instantiated in a datastore.

This is an unexpected turn of events.
in ietf-voucher there is voucher container defined.
but the grouping makes sure that it is only a schema node and not a data 
node.

Nice to know.

> If you want to make the last voucher received accessible though CoMI,
> you will need to add in the AYNG file something like:
> 
> container last_voucher_received {
>    uses voucher-artifact-grouping;
> }
> 
> This definition creates a new set of SIDs for the different fields
> within the voucher.

what I would have expected;
> 

cheerio,

peter