Re: [core] CoMI Cool draft splits

Michel Veillette <Michel.Veillette@trilliantinc.com> Tue, 17 November 2015 19:20 UTC

Return-Path: <Michel.Veillette@trilliantinc.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 B53531A6FB0 for <core@ietfa.amsl.com>; Tue, 17 Nov 2015 11:20:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, 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 EXTYUj2vsiDF for <core@ietfa.amsl.com>; Tue, 17 Nov 2015 11:20:57 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0106.outbound.protection.outlook.com [65.55.169.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 76F4B1A6FAE for <core@ietf.org>; Tue, 17 Nov 2015 11:20:57 -0800 (PST)
Received: from BLUPR06MB1763.namprd06.prod.outlook.com (10.162.224.149) by BLUPR06MB274.namprd06.prod.outlook.com (10.141.22.150) with Microsoft SMTP Server (TLS) id 15.1.325.17; Tue, 17 Nov 2015 19:20:55 +0000
Received: from BLUPR06MB1763.namprd06.prod.outlook.com (10.162.224.149) by BLUPR06MB1763.namprd06.prod.outlook.com (10.162.224.149) with Microsoft SMTP Server (TLS) id 15.1.325.17; Tue, 17 Nov 2015 19:20:53 +0000
Received: from BLUPR06MB1763.namprd06.prod.outlook.com ([10.162.224.149]) by BLUPR06MB1763.namprd06.prod.outlook.com ([10.162.224.149]) with mapi id 15.01.0325.003; Tue, 17 Nov 2015 19:20:53 +0000
From: Michel Veillette <Michel.Veillette@trilliantinc.com>
To: Rodney Cummings <rodney.cummings@ni.com>, peter van der Stok <stokcons@xs4all.nl>, Core <core@ietf.org>
Thread-Topic: [core] CoMI Cool draft splits
Thread-Index: AQHRIRwbWsbLKAGX5UGJtJafdAsAuZ6gXYKAgAAAvXA=
Date: Tue, 17 Nov 2015 19:20:53 +0000
Message-ID: <BLUPR06MB176305CAB596DF2D3962325EFE1D0@BLUPR06MB1763.namprd06.prod.outlook.com>
References: <0559fa310f26530d1c1e89c1ed64b7aa@xs4all.nl> <BN1PR04MB424BAAB4D9E771D891BD06F921D0@BN1PR04MB424.namprd04.prod.outlook.com>
In-Reply-To: <BN1PR04MB424BAAB4D9E771D891BD06F921D0@BN1PR04MB424.namprd04.prod.outlook.com>
Accept-Language: fr-CA, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michel.Veillette@trilliantinc.com;
x-originating-ip: [207.96.192.122]
x-microsoft-exchange-diagnostics: 1; BLUPR06MB1763; 5:1q2MNjortydwGmu2J4L4dvI076cT7naM4Lvul91tCzvhItrZ+0cVwT9aK3j5dtBpl5cNGshitjHv8GzynlG2Wi+DKKBJt507Ra3I6p/gQr8Phv5WmLAMZjAUdAv/Lajggjc6LjkrJAw5gKQw6Y42vQ==; 24:QpkreAQk3E7XRHyj7K2L1gzaqyNfzE4ZeRU9sfd63w56E0EH0FKvb5bPfUesKmw93FSM9zJH+d7qSWoo6hjXJ0vMz88h4B4iB57XIEfDGNc=; 20:H8SrgKZkhJc8cSHT99q2UJ5n2RVfXTEOyIW8274p2h0O9LrhWnvQ+SIk5Is9wemC2jIZDhA8HLvGUhIvBVmcgQ==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR06MB1763;
x-microsoft-antispam-prvs: <BLUPR06MB1763BC52E50F567F1FF1DF53FE1D0@BLUPR06MB1763.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(256376046250027)(262738631018165);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(10201501046)(3002001); SRVR:BLUPR06MB1763; BCL:0; PCL:0; RULEID:; SRVR:BLUPR06MB1763;
x-forefront-prvs: 07630F72AD
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(38414003)(189002)(377454003)(54094003)(13464003)(53754006)(106116001)(81156007)(87936001)(19580405001)(122556002)(11100500001)(5008740100001)(76176999)(15974865002)(586003)(106356001)(19580395003)(102836002)(50986999)(5001770100001)(92566002)(105586002)(76576001)(74316001)(99286002)(15975445007)(5001960100002)(5001920100001)(54356999)(40100003)(2900100001)(101416001)(10400500002)(86362001)(2950100001)(33656002)(5004730100002)(66066001)(5002640100001)(189998001)(97736004)(5003600100002)(5007970100001)(77096005)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR06MB1763; H:BLUPR06MB1763.namprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: trilliantinc.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2015 19:20:53.6212 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4f6fbd13-0dfb-4150-85c3-d43260c04309
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR06MB1763
X-Microsoft-Exchange-Diagnostics: 1; BLUPR06MB274; 2:DGPG9+WzgouYAQUAJ4kABtfMo1Uea+g2/56pdmHGo2wBy7Fkld3d+YH8Ne3bonXoW3Ku7ZepPEJWMgE11qIMXCEtz7OqGXQ89NKGflsOtxhEkK/NQ/2Anp73YitiXNMJZJLCxVpFa7nASFrq9u8OfQykjl58538lYyZPEOUXQhg=; 23:LjIy0p3mNsq8KjPViuH7vEbdHBrzz8m4CppMRlWQMzfct6O1ieksOfTDW4hEqt+njYu0UoxtNWCziOg+kAssOgCnQb44pr2Zwtb5548nCzXTBPEWlPYa6gdbVGrNjArrp378nZjfCJvXmXjl+6jYUlhSUEtzpIeeH/werJ4p1Ga4NCteOr/Qf7bHgXodSNUy
X-OriginatorOrg: trilliantinc.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/MWrAoDjpifdkbkd91q18oVgvIYo>
Subject: Re: [core] CoMI Cool draft splits
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: Tue, 17 Nov 2015 19:20:59 -0000

Hi Rodney

Would you please elaborate your item#2 "A client cannot assume that the YANG objects of a module are distinct from a hashing perspective."
I'm not sure I fully understand the implications of this statement.

The CoOL draft propose to prefix all objects (data nodes, rpc and notifications) defined by a module & associated sub-modules with a common identifier. What is the impacts of item 2 on this approach?

Regards,

Michel Veillette
System Architecture Director
Trilliant Inc.
Tel: 450-375-0556 ext. 237
michel.veillette@trilliantinc.com
www.trilliantinc.com   



-----Original Message-----
From: core [mailto:core-bounces@ietf.org] On Behalf Of Rodney Cummings
Sent: November-17-15 10:52 AM
To: peter van der Stok <stokcons@xs4all.nl>; Core <core@ietf.org>
Subject: Re: [core] CoMI Cool draft splits

Thanks Peter,

At this time, proceeding with 4 drafts sounds good to me.

Nevertheless, as we get closer to progressing these in a WG, I think we should transition to 2 drafts:
a) YANG to CBOR mapping ( i) )
b) Select either hash ( ii) ) or registry ( iii) ), and merge that with the function set ( iv) ) for a single draft

As for the motivation and use cases, I wonder if it might be helpful to state our assumptions for the client side. I would claim that:
1. A client cannot assume that the YANG modules implemented by the server have been enhanced specifically for CoMI/CoOL.
2. A client cannot assume that the YANG objects of a module are distinct from a hashing perspective.
3. A client cannot assume that a new revision of a module is backward compatible to an older revision of that module (i.e. old is proper subset).
If these assumptions are correct, then the client must perform some processing of the server's YANG modules prior to using CoMI/CoOL, and that may help to decide between hash/registry.
If these assumptions are incorrect, it might be useful to discuss it in the draft, to provide some background rationale.

Rodney

-----Original Message-----
From: core [mailto:core-bounces@ietf.org] On Behalf Of peter van der Stok
Sent: Tuesday, November 17, 2015 3:41 AM
To: Core <core@ietf.org>
Subject: [core] CoMI Cool draft splits

Hi all,

During the Yokohama meeting I proposed to split the CoMI/CoOl drafts into three parts as suggested by Juergen Schoenwalder in a separate earlier communication.
This e_mail sets out in more detail why the proposed split is a good one.

The proposed three parts are:
1) The Function Set (sections 2, 3, 4 in CoMI; sections 2, 3, 7 in CoOL)
2) The YANG to CBOR mapping (section 6 in CoMI; section 5 in CoOL)
3) The YANG name compression (section 5 in CoMI; section 6 in CoOL)

The split has two advantages:
- the parts 2 and 3 can be used in other contexts, e.g. RESTCONF
- It separates out the issues which need to be solved to merge CoOL and CoMI.

I come to the generation of 4 drafts:
i) The YANG to CBOR mapping.
ii) Hashing of YANG names
iii) Managed identifier assignment to YANG names
iv) The Function set specification

Ad i) I don't expect a long list of issues for the merging. However, it may be advisable to submit the draft to the netmod WG, where much of the YANG expertise exists and the draft can be aligned with the YANG to JSON draft.
Ad ii and iii) These approaches are very different and merit independent drafts. The CoRE WG can decide to adopt 1, 2, or none of the two drafts. 
It is also possible that drafts get submitted to other WGs.
Ad iv) In my view the alignment of the two existing approaches, CoMI and CoOL, may take some time. I will be happy if in Buenos Aires we have a list with issues, accompanying motivation, and use cases.

Is this a valid approach? Comments are solicited.

Peter

--
Peter van der Stok
vanderstok consultancy
mailto: consultancy@vanderstok.org

_______________________________________________
core mailing list
core@ietf.org
https://www.ietf.org/mailman/listinfo/core

_______________________________________________
core mailing list
core@ietf.org
https://www.ietf.org/mailman/listinfo/core