Re: [core] CoMI Cool draft splits

Somaraju Abhinav <abhinav.somaraju@tridonic.com> Fri, 20 November 2015 08:41 UTC

Return-Path: <abhinav.somaraju@tridonic.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 D8F121B2AD6 for <core@ietfa.amsl.com>; Fri, 20 Nov 2015 00:41:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, 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 K2KlRNJgM0FY for <core@ietfa.amsl.com>; Fri, 20 Nov 2015 00:41:04 -0800 (PST)
Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0732.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe04::732]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0D761B2AC2 for <core@ietf.org>; Fri, 20 Nov 2015 00:41:03 -0800 (PST)
Received: from AM3PR06MB146.eurprd06.prod.outlook.com (10.242.245.15) by AM3PR06MB500.eurprd06.prod.outlook.com (10.242.113.146) with Microsoft SMTP Server (TLS) id 15.1.325.17; Fri, 20 Nov 2015 08:40:43 +0000
Received: from DB4PR06CA0038.eurprd06.prod.outlook.com (10.160.40.166) by AM3PR06MB146.eurprd06.prod.outlook.com (10.242.245.15) with Microsoft SMTP Server (TLS) id 15.1.325.17; Fri, 20 Nov 2015 08:40:41 +0000
Received: from AM1FFO11FD004.protection.gbl (2a01:111:f400:7e00::196) by DB4PR06CA0038.outlook.office365.com (2a01:111:e400:9851::38) with Microsoft SMTP Server (TLS) id 15.1.331.20 via Frontend Transport; Fri, 20 Nov 2015 08:40:41 +0000
Authentication-Results: spf=pass (sender IP is 146.108.200.10) smtp.mailfrom=tridonic.com; yumaworks.com; dkim=none (message not signed) header.d=none;yumaworks.com; dmarc=bestguesspass action=none header.from=tridonic.com;
Received-SPF: Pass (protection.outlook.com: domain of tridonic.com designates 146.108.200.10 as permitted sender) receiver=protection.outlook.com; client-ip=146.108.200.10; helo=ATDOAGMSX01.itiso.net;
Received: from ATDOAGMSX01.itiso.net (146.108.200.10) by AM1FFO11FD004.mail.protection.outlook.com (10.174.64.86) with Microsoft SMTP Server (TLS) id 15.1.331.11 via Frontend Transport; Fri, 20 Nov 2015 08:40:40 +0000
Received: from ATBRAGMSX02.itiso.net ([169.254.2.220]) by ATDOAGMSX01.itiso.net ([146.108.41.67]) with mapi id 14.03.0248.002; Fri, 20 Nov 2015 09:40:38 +0100
From: Somaraju Abhinav <abhinav.somaraju@tridonic.com>
To: Andy Bierman <andy@yumaworks.com>, Carsten Bormann <cabo@tzi.org>
Thread-Topic: [core] CoMI Cool draft splits
Thread-Index: AQHRIRwbW5jNwRAHeU+Rg/6jmUcLNJ6gTL6AgAAcVgCAAOkigIAAHgWEgAB6WYCAATLOoYAAW9oAgAAFAYCAAGyNAIAAqidQ
Date: Fri, 20 Nov 2015 08:40:38 +0000
Message-ID: <0E9A48AB39AF3547ACD28A6DE3E2906A0F1AD509@ATBRAGMSX02.itiso.net>
References: <0559fa310f26530d1c1e89c1ed64b7aa@xs4all.nl> <BN1PR04MB424BAAB4D9E771D891BD06F921D0@BN1PR04MB424.namprd04.prod.outlook.com> <CABCOCHQ8QQArhVUVT4FkYOYnYny4osGMeY4F6jvNjZ0v9Pa3bg@mail.gmail.com> <cf7b132ec85a3781bf4e3a28cda4cb97@xs4all.nl> <0E9A48AB39AF3547ACD28A6DE3E2906A0F1AC492@ATBRAGMSX02.itiso.net> <CABCOCHROWZtR3jZ431ZK_rxZR-giAr9qzGcANzYSD-a85dSyHQ@mail.gmail.com> <0E9A48AB39AF3547ACD28A6DE3E2906A0F1ACE72@ATBRAGMSX02.itiso.net> <CABCOCHTQ6h6zAzL+OyrMT_xKcOzk1=Z7DtaSniQTO2PTOuDW9w@mail.gmail.com> <564DFAD7.1000800@tzi.org> <CABCOCHRU2S9TBMLtEfA_jqHa1+jVC4Sk8hZG0OiVi5q6mP+yXg@mail.gmail.com>
In-Reply-To: <CABCOCHRU2S9TBMLtEfA_jqHa1+jVC4Sk8hZG0OiVi5q6mP+yXg@mail.gmail.com>
Accept-Language: en-US, de-AT
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [146.108.41.149]
Content-Type: multipart/alternative; boundary="_000_0E9A48AB39AF3547ACD28A6DE3E2906A0F1AD509ATBRAGMSX02itis_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD004; 1:NHEPZXZzH45PiE7xeXp1Kot6XmC8ruUERo8B5pTI9v4zx9gfz1pTOtZSF17iBZJ7BU39unJIZlOyMJp/Ld06LZP5yz+to9KAWNVZcUiJSKWhoAuladZdLWOAyr5L0Q19lW9JO41kNg6T69ANNMtJ9jTECTd8TVGs/mjXCL7K3QjFSMvQg/qwvBF7keHIbFoTFNahEdzXvfe6bY9S1IU4Ye6fTLMtJ9Bdeocy/J4tv+WDoQ/eBMPOPOl8BHLRxSlmJYUy1h2h4LWQEvz0YPD3D8uoHBtr9iaDcWfQeMAe9PdH65I0fI1Z+/2VAfSgz/I88HzgbqL3rgQyZ9pcLD5t8k0B2nDVZeD+zjj+BmhYV1o=
X-Forefront-Antispam-Report: CIP:146.108.200.10; CTRY:AT; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(2980300002)(438002)(199003)(24454002)(189002)(377454003)(51444003)(5007970100001)(11100500001)(5003600100002)(6806005)(2920100001)(104016004)(106116001)(2900100001)(15975445007)(87936001)(3846002)(55846006)(5008740100001)(102836003)(106466001)(790700001)(6116002)(586003)(66066001)(33656002)(5890100001)(5004730100002)(69596002)(84326002)(26826002)(512874002)(5001920100001)(300700001)(81156007)(86362001)(2950100001)(92566002)(19625215002)(19300405004)(16236675004)(53416004)(189998001)(19580395003)(19580405001)(54356999)(50986999)(5001960100002)(76176999)(5001770100001)(93886004); DIR:OUT; SFP:1102; SCL:1; SRVR:AM3PR06MB146; H:ATDOAGMSX01.itiso.net; FPR:; SPF:Pass; PTR:unknown.zgrp.net; A:1; MX:1; LANG:en;
X-Microsoft-Exchange-Diagnostics: 1; AM3PR06MB146; 2:Nimk7p5QvaMaIvg+G9L/hGN7pd+9E0f43UBECwFQDw6A7EsHhaNkWK0rbGpoGIavQiyiXn3wg+6dQnky46JD/k3CSpuB5H5nIfgPfP5T0SAZb4n66+h3M94Upgo0BWl5wbx6QNpGsmyG9SnUL669+RGGe9tTnzngb7rhFq+Bqpc=; 3:fQNNBpK0Je4fVv/mykC6AuGAXAGDA6QIZ7p41n50eVDTkwXde5UcpzPtBFc2eWys6VlbT/hqdkx19yGZy6iodTd6dWNoQ5rI+09MMWB0LzYXXvX6UM4A0JSaXbZaHqguxEvIAxBLzgMivy6lsTlp1JwG23EmUxL/aOa+Haqj44tp7kEFUE6/uNBqnvZQdT+9cuzx+T4w3jnMHjajZjrhUa0jgLR+3b0UMgIPqSxirSsZSI5rdMuVu2wqIGOgRZ09JW6J2stndaHi0SJqXbY8Vg==; 25:D/MBpyzl5Yo5DZV+AL238XogAnAObntKkGUvcJvcdbQ5YqYIqnUFX8OZ7oveuLp2ZBX4Ay7tFcKFSVWdxlDzBUOQ7vfB7L3K8EPSTTTBF9BWsBmN4o3FzFDlp1nlqFEFR5VAWVjZRoU2AkMHsa9EPPGQId0GNseeYWyN4UEfagImOjfY4I3ZCQb3WUxCx1Ja3EWsiOW3MdeV64EKbIxmVxUI4e2HMVu/VU3ix9ROJ4n3yMKWAFNjVInR2PxZ1geh+YJyrHnoHepncC99W6lKhQ==
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501001); SRVR:AM3PR06MB146;
X-Microsoft-Exchange-Diagnostics: 1; AM3PR06MB146; 20:l7w5An8Y/5eUia3ZXRss9Icn79UxWi5pjHWcbRpK1NVVleR6MV5ctShYQEg8UcgkDP7Kf8yIZafsad9QjOqOWu5MRbF292d1Ff3gzt/cqzOTHFOZhMtp8rQeBFgbSLbj1+lHu4N5iHQTDhX88hLJat0Jr7VZSCTDsRCMCjG/BVUgC7/pNJM8N3/CKC2DqzS5EcLphNmwBcDKtBaQFwSI3Mp0XZkWT3pJUrX5AXJ1DK08XkJyLjrs6wqf378SHWpl16KP1yn1QRc3S1HMQ9ilGwtGAB4K2ioLh2fohlekM7mkWBs9Trcke6DwlXiKGPAZenxk4oKs3WuB7b9kXLEe20Bygev5H0cowU5hyzGpGDE8sq5hKoXhLaCy/ZuaU6UZtQG0bhMwnpKtsmFGyiRJxwjhjBmSoeKDKqUDpXh0mGEZdkW+YTkyqxj2RUNSslJbLJJUOLnLFhJkkHPq7w4BQUf5tgeft9LLw1FlCcQz/RKG+5FBg2cc9h/Yj9HyOyc6; 4:wOcnxVN0i7CIU859KRGTmir6rko2UxefCDPOGAVIRcE0weQVgSHfliLOLs+2XegzgHtVXhSPH7vfsxNaY5dqMhV2yOZL9LoYv0+JWSMpXcNSKg5HxTNjMWLLy5+tZvCBObTqKI5QgidLwJjjBb+liX1UUkOwlslaZLji/uzEcBwdkbrHE8UMCKJ4lvZKyz046qujhZ5+mfFphJhMBqMskZje8iLR3yrgNMzlpzbZc0S/sThz9aDkZULNDC2CNCAtbS+qSfNjON2w028LBXGO1n9wq/id4DDt+wMYiVGitvK72faEYRD1Ob5br2bBHxSj7hw3JXPtXpOVagT/4o3110w7mq0tZ5a9lNmemJKj60apUQuG3xY2yuHlRvOyZzhl/v920ypFKFtTIEMhaFuv0A==
X-Microsoft-Antispam-PRVS: <AM3PR06MB1464B1372EB216BA0875D55FC1A0@AM3PR06MB146.eurprd06.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(108003899814671);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001); SRVR:AM3PR06MB146; BCL:0; PCL:0; RULEID:; SRVR:AM3PR06MB146;
X-Forefront-PRVS: 07665BE9D1
X-Microsoft-Exchange-Diagnostics: 1; AM3PR06MB146; 23:usA+Wqq2GEGRBdWcqlS4pY9QpExqPrakJnpv9nrhBHtIFnEaDMboyK5L79wLFwEjEK9Nvp6kuiewY1GZJQpKS+lR51pLsEqbrUahVCEMGrwxLrGzsmAi2TWphzKI3UjL+SA4iO0rHz+UDbOdubhjY4hY+isrWXMINAucPefsE8/x2b9Df0I5SGk3kX70AHWmWbvZBxkDXhR7TBaJUIbZmHj3vxq3abKB0+U89mIVmD5c9UPtqa39RnaD1ockV1BXYOYi3pkpTll1ivSVKBgjpnOSyyP3bHsS0/mvCmWVM4OmgZ9FQTiNWVrCmc7M3+wBwVQUdHFWxYtu6Z3VBZ36Bi+yWeE+n/HhTZpXqOE2CuDN6Wdp7tgfKtYVieTjgAoZ/SCmCXTudLCJuGUue/LxUuwnQtCDe+IAR9m8TsyjEpBRFkh1QbvZvAqcupti8b8YoQeKvaBR3L9y8RRpnU+HvLFrsZcgHAZiLVMHcvizHuBD7qZvqtkZczJeg8GAJ+Hk1pF8rV9MIJIc/atxQKcDq5eLtAofGlXFLEY2a6uP4tgpRV9bvZiy0brLsMF8yCFcZoOI3zlzS5g0UY2erV/IRJAghB+p1tmpaz62YKW+a2yyy4m5I47WqniEyC+VtIzLbet+rJ8+KUpaVB6imRjSpcoSHUxq8b+8DoM99aPdGqTEyXZG52eG97A+JQuRIQU4FBZazJiMuErMebWUAm0SG9D31gbG/pTpqtJl4b0IdYW/5n8qqHi1gJ3lKNBfq5wi//dfte7GnK1Hhc1eBurEajJsZM6Ez7djN6eEd9SwH1+ALn+2+Jko9MM1RWpY1RIt0A14hpwzIbiLd3hT/UFSxLumUZTsA9UAGgtaxpK8siN9QSM7TAqVw0IpW0/M2GUQ1mEfaMcSDet/9L6CAis8o4emraph1v5Acdp7BMh/HtbFFV3mDqG8Mc+ZjqUuHTHRTsytR/r8g5ml7kvk546VJAM6DtEqqMiJHuOCBB0VMMv8aozBdf8HSoypnFpe0el2pr+FWXTleamE9EL+AowOB2si2W7R8tBhkkhDZsd8OOBGo1Y/nOOYPX/t1e8YCtq89Da9HofeZQO4vegMPbHtzSCqq4XPKFRpPs2FKXV05/98otwjjfohx8nNCLyKeWDHBl4Lf8oJz7qDBwYUul+c5w0BcffOL13wXFX+L4eEqJuozV7PotczrSVflVjkPTMHpYfH+9sazZF8bB1cXbjgsGxNsHfSlj9WGyXCM584leQrJekN0y3Udl09oy6HmVp/9N1ErrPy6XXbRsFKd+1apwFQzqmGDb8SsmWlMvM1s6XUVQ/FIMzf8xGwXvxnKYMW+oTq4dPUipOvNfjpobTcxEC6/mWrdkucJ5Wp6lwzaOsJ8febRqCsOTmTv1/CTS85
X-Microsoft-Exchange-Diagnostics: 1; AM3PR06MB146; 5:LOqzIJ0o0Uc7OpePBYsqHvWAlq0ObSCo8Hqp+OZycBoqO1mJ4GXpvPiPJINLf5QsiUcrYVjJsLCV/hcY5l8vnXcaowcmYZnuwataFcuCQOdS+MSY3T+IGK+NYJBq1JwlsNBWEB1DHb9vXhK5j7xNpw==; 24:NPAuWOB5j+4FpLu8Ii1eOB3rvV9VEK/OPpVqLqB0YN0HNzetUcy8Xz826xVszepFzqu71zCni3Ti+Rmpx+1dLzAe0t26Jxtgiec1Ah7C4lo=; 20:BkKS/nSX4HANP9sX6lx/WvD36LkQerpyOWXGdkmYUF5L80gUCNJOU3dg++EduwiZ8FwWTuMNQ/S0NjEom3NDCw==
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Nov 2015 08:40:40.7517 (UTC)
X-MS-Exchange-CrossTenant-Id: 8b206608-a593-4ace-a4b6-ef1fc83c9169
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=8b206608-a593-4ace-a4b6-ef1fc83c9169; Ip=[146.108.200.10]; Helo=[ATDOAGMSX01.itiso.net]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR06MB146
X-Microsoft-Exchange-Diagnostics: 1; AM3PR06MB500; 2:e+wKq6APZxPa5jx3iEBrdUqqijiDa9+WH0F+cqLr0lYBxrRknMz5HEoeLjk4mucVnLjE3LS1kmlZFMW7yfQUqvuiIFZmidatym2IQaYepwqNwj7oVB6WfX4udvhMWzScNgwAThDdUqqFDtBUPksxYLaHrOeDKn/3PPPwazPrxf4=; 23:j1Urj9BZ+rUQFm40UMmmzBBJpfXeZdVihsF2v9XojB9MXazm1NH0aI9Z/nAm0n8vU1qvjU2GlnAM+dE7oPtNDMnESk4fLHNxtxA23f1yCDXM1GiaOf4i7ZQ3jxSRbzu6vM3IB6no7coZaRkEQwYyVWi7kml+WyZdbzEZ7hYPoIFTy+b3aLnZs4syhrPfQLFe
X-OriginatorOrg: tridonic.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/QuA6ISNbmk-HEbgFKBgSDLmL7wA>
Cc: Core <core@ietf.org>
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: Fri, 20 Nov 2015 08:41:10 -0000

Hi Andy,

About “OK. So that means the scope includes constrained networks, not just constrained nodes. I am interested in using CoMI as a replacement for RESTCONF in constrained networks where TCP doesn't really work.”
[AS] I was hoping to use CoMI as much more than a replacement for RESTConf in constrained network. In the CoMI draft, you make a point of comparing CoMI to LWM2M and point out the advantages. As far as I am aware, LWM2M has nothing to do with network management and/or restconf. LWM2M is used to really manage constrained devices and applications that constrained devices use. So, this comparision of CoMI with LWM2M is very misleading. I personally want to use CoMI/CoOL to replace instead of LWM2M and I see great benefits in doing so. Like it or not, YANG looks like a data modelling tool that can be used for several different purposes.

Maybe we can build 2 separate protocols out the parts that have been proposed.
[AS] Maybe this makes sense but we should try to merge the two if possible.

About “I don't see managed IDs as a general solution, but IMO constrained nodes”
[AS] I partly agree about this assessment. I think that having a central registry for all managed IDs is indeed unrealistic and will not work in the long run. However, I see that CoMI/CoOL, if used for application management, will be a tool that other SDOs such as OMA or IPSO can reuse. I expect that if we provide standard methods for an SDO (e.g. use resource type to indicate the type of YANG module) then these SDOs can manage IDs that are relevant to the SDO.

About “but IMO constrained nodes will never be using the same modules that are written for networking equipment.”
[AS] Maybe constrained nodes will not use all the modules written for networking equipment. However, I am sure some of them could be and will be used.

About “We plan to just use NACM to configure what a client is authorized to access wrt/ management data and operations.  Again, how much value is there in reinventing stuff?”
[AS] I am not saying that NACM should not be used. I am just saying that we should think about it and if NACM works as it is then sure we can reuse it.

About “This describes what is allowed to change in a new revision of a module. Notice how "rename object" is not in the list?”
[AS] The cool module identifier is not the same thing as the name of the YANG module. It is an extension and there are no rules as far as I know in YANG that says this cannot change.

About “Stable identifiers are useful because old clients can continue to work with new servers.”
[AS] Okay, I can live with this explanation. Maybe we can think of automated numbering schemes where data nodes in newer versions are automatically assigned IDs higher than all previous versions in the module.


From: Andy Bierman [mailto:andy@yumaworks.com]
Sent: Freitag, 20. November 2015 00:06
To: Carsten Bormann
Cc: Somaraju Abhinav; Core
Subject: Re: [core] CoMI Cool draft splits



On Thu, Nov 19, 2015 at 8:37 AM, Carsten Bormann <cabo@tzi.org<mailto:cabo@tzi.org>> wrote:
Andy Bierman wrote:
> I think the term "constrained" is not widely agreed upon in the IETF.

No.  But we are using it in the sense of RFC 7228 here.

OK. So that means the scope includes constrained networks, not just
constrained nodes. I am interested in using CoMI as a replacement
for RESTCONF in constrained networks where TCP doesn't really work.

I want to use the same "content layer" and code for that content across the board.
That means the exact same YANG data models, without exception, and the translation
from RESTCONF features to CoMI features must be loss-less.  The protocol,
messaging, and transport layers can all change as needed.

I realize this is not what might work best for a constrained node.
Maybe we can build 2 separate protocols out the parts that have been proposed.
I don't see managed IDs as a general solution, but IMO constrained nodes
will never be using the same modules that are written for networking equipment.



Grüße, Carsten


Andy

________________________________________________________ The contents of this e-mail and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this e-mail is received in error, please immediately notify the sender and delete the e-mail and attached documents. Please note that neither the sender nor the sender's company accept any responsibility for viruses and it is your responsibility to scan or otherwise check this e-mail and any attachments.