Re: [core] Review of draft-fossati-core-coap-problem-02

Thomas Fossati <Thomas.Fossati@arm.com> Tue, 31 March 2020 13:51 UTC

Return-Path: <Thomas.Fossati@arm.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0737A3A214A; Tue, 31 Mar 2020 06:51:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=VdWdFUR9; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=VdWdFUR9
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 YfI8ExbNsXm7; Tue, 31 Mar 2020 06:51:18 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80085.outbound.protection.outlook.com [40.107.8.85]) (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 D97F13A2149; Tue, 31 Mar 2020 06:51:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PM7UjIyxfUI5r4qP5wOusCPQYeu9PyK1sHC3XGT+qJw=; b=VdWdFUR92SrPxQIQrPT1+Sj4+rUAZINbuQnqj1taOz2bjvzHf+G44HjFbjG6T0HtLK6d82Aju/AvfVpR2Eykpum7YTY31Ku7eXfNt4LeH9PjVvws8sXzaMPcSAC875w/xZH3wxi9+7/Tnpl3a00iUDz/AKaMH8DCmWrdlbpq+gk=
Received: from AM6P193CA0087.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:88::28) by AM6PR08MB3208.eurprd08.prod.outlook.com (2603:10a6:209:4b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Tue, 31 Mar 2020 13:51:15 +0000
Received: from AM5EUR03FT023.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:88:cafe::7e) by AM6P193CA0087.outlook.office365.com (2603:10a6:209:88::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19 via Frontend Transport; Tue, 31 Mar 2020 13:51:15 +0000
Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; ietf.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;ietf.org; dmarc=bestguesspass action=none header.from=arm.com;
Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT023.mail.protection.outlook.com (10.152.16.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.17 via Frontend Transport; Tue, 31 Mar 2020 13:51:14 +0000
Received: ("Tessian outbound 5345ff401cf8:v50"); Tue, 31 Mar 2020 13:51:14 +0000
X-CheckRecipientChecked: true
X-CR-MTA-CID: 52f106f45e69a136
X-CR-MTA-TID: 64aa7808
Received: from 25173c0b7a25.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 53F0D2E2-6568-47F9-B6ED-674716403906.1; Tue, 31 Mar 2020 13:51:09 +0000
Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 25173c0b7a25.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 31 Mar 2020 13:51:09 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SoTKJxBeew1iySD8tnEMrI63RcZX/edCanaM0UxCwlzDobGDt9zJ72WvPaDOKdXCUecapRnRjp+Op7AGIgNyIZMrzn+H6FKfpQMZCBi7nvCcJcmEcvHeyr7LP44C5yF3fkfHfHTmXLG0IxDg76btoBtlO0NsJYQBt4ENmG2HtbJ42FgPjOI1tNmS5DobSoLbC0uaBjPdKHFNmiJuPE6/wIhJH5KRD2rw6fFpQBUvlcnw/CMKL8jUpI+X1AsXSOqp3xzobH3xvBzL6MjZJqlY61ExztDt31UrZxJW1SWseZLoTKHsPLXATeF1kLXEvW1bxod+8m8YLZJ5tqZimqu+rA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PM7UjIyxfUI5r4qP5wOusCPQYeu9PyK1sHC3XGT+qJw=; b=Mj/eQs3BVc4Eqe1+aAFoG2PmXeFD+DgyG0HzcEyHRqgxq8G5JAXQMATTMHROfuXJ/TOG8AYEyKjri30iZiRaxf5Wcyz9Neb3n5lIA4cFz1OXfjZ4gYYll9I4mCAH5kqk2biIssWlmTNVUrl4/jLdYDkKLNR+hdLEyQKjrwPosTasFv5ArvAzYZUtZStYxfPGrIU2HyhLtD4+sNcFLXdjos47aI9Bwz+vmtVoMQP259jpW9CLk9pi8kyDV7Nb3DVNGGpY19NCa47qJmPcXiPrikO31FGDycQkM6Cx4SbKHckkW9f7BbpuDuoUQR3nM63IRM/KNlCGyguaZ9b5Wy4sFQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PM7UjIyxfUI5r4qP5wOusCPQYeu9PyK1sHC3XGT+qJw=; b=VdWdFUR92SrPxQIQrPT1+Sj4+rUAZINbuQnqj1taOz2bjvzHf+G44HjFbjG6T0HtLK6d82Aju/AvfVpR2Eykpum7YTY31Ku7eXfNt4LeH9PjVvws8sXzaMPcSAC875w/xZH3wxi9+7/Tnpl3a00iUDz/AKaMH8DCmWrdlbpq+gk=
Received: from AM6PR08MB4231.eurprd08.prod.outlook.com (20.179.18.151) by AM6PR08MB4818.eurprd08.prod.outlook.com (10.255.98.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Tue, 31 Mar 2020 13:51:06 +0000
Received: from AM6PR08MB4231.eurprd08.prod.outlook.com ([fe80::9807:78f0:434f:2b9f]) by AM6PR08MB4231.eurprd08.prod.outlook.com ([fe80::9807:78f0:434f:2b9f%7]) with mapi id 15.20.2856.019; Tue, 31 Mar 2020 13:51:06 +0000
From: Thomas Fossati <Thomas.Fossati@arm.com>
To: Jim Schaad <ietf@augustcellars.com>, "draft-fossati-core-coap-problem@ietf.org" <draft-fossati-core-coap-problem@ietf.org>
CC: "core@ietf.org" <core@ietf.org>, Thomas Fossati <Thomas.Fossati@arm.com>
Thread-Topic: Review of draft-fossati-core-coap-problem-02
Thread-Index: AdYGycO1MeWT5q/ZR2SRe86TscydwAAogoeA
Date: Tue, 31 Mar 2020 13:51:06 +0000
Message-ID: <766A1380-F2C9-4C8E-869F-8E1B3DDB4A22@arm.com>
References: <00cd01d606da$9815a1c0$c840e540$@augustcellars.com>
In-Reply-To: <00cd01d606da$9815a1c0$c840e540$@augustcellars.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.35.20030802
Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Thomas.Fossati@arm.com;
x-originating-ip: [82.11.185.80]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-HT: Tenant
X-MS-Office365-Filtering-Correlation-Id: de51bf0c-ea83-4a04-d0f2-08d7d57a946a
x-ms-traffictypediagnostic: AM6PR08MB4818:|AM6PR08MB4818:|AM6PR08MB3208:
x-ms-exchange-transport-forked: True
X-Microsoft-Antispam-PRVS: <AM6PR08MB3208951A72BBD70AE99527499CC80@AM6PR08MB3208.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000;
x-forefront-prvs: 0359162B6D
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR08MB4231.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(376002)(366004)(346002)(136003)(396003)(39860400002)(478600001)(36756003)(6506007)(71200400001)(81166006)(81156014)(8676002)(6512007)(4326008)(86362001)(5660300002)(64756008)(66476007)(66946007)(66556008)(54906003)(2906002)(66446008)(76116006)(186003)(2616005)(6486002)(26005)(91956017)(8936002)(33656002)(316002)(110136005); DIR:OUT; SFP:1101;
received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: q0clSMRbFLoszOA96u3OG/M0brDZ1zNLanJXoP/VK19YrJyUc6T7V4SDIG1rDU0mg2DUzFdSulD+wNflS8I8Rq8SNz2+DTbb+cLlHJrTUQycSjFAHm/0+70075ZSSoTf3IKAyNo55vCNdPjoVuGUKmY16J1JggghtmSzT631H0jecKYWVByfQjnLl6ponDQ52//XEoD+lZSwGM+cN8hi85gUbYUyaC34dOf9ymbJDzSvo8H8HL6v/RTl67qyDGzLLvQq0KfmlKHqvPLrSI0iY/vtN6kVIUGjvbK6TF0MWmsPNSiJPSf8cke2wcrvt1DkN1tXJ7jBQtXExxYGA5GFZXX9+wNjJrZWeMtzploeW3bOTnTMaRvCFgLdqnU6pgosJ1U/PDJAPr9yWf2U1ho4wOAKsgIDAAxWnKohBkJOVcPDia7PhnExwRthbYXuH00p
x-ms-exchange-antispam-messagedata: GZZE1X4tumfL+QTnQnguz7FaMaDkuUwxMOXpW1zD4pA2zdGWxYm0GhvI4X2eNEe78N/lbDmnOmpjisOcJAhWihhLtDG1h6ZuhtgRXJxayBsDBSOW33MfpFKuE5/GJO6UZ/+0XbFt37EBXtUKwzzSOQ==
Content-Type: text/plain; charset="utf-8"
Content-ID: <9BC728EF078D16479D28B697DB31D857@eurprd08.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4818
Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Fossati@arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT023.eop-EUR03.prod.protection.outlook.com
X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(136003)(39860400002)(346002)(376002)(396003)(46966005)(316002)(5660300002)(36756003)(478600001)(8676002)(81156014)(8936002)(2906002)(4326008)(81166006)(336012)(6506007)(2616005)(86362001)(450100002)(33656002)(54906003)(6512007)(82740400003)(36906005)(47076004)(6486002)(356004)(26826003)(70586007)(26005)(186003)(110136005)(70206006); DIR:OUT; SFP:1101;
X-MS-Office365-Filtering-Correlation-Id-Prvs: 01e060f7-1345-4fb9-20bb-08d7d57a8f72
X-Forefront-PRVS: 0359162B6D
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: c5GnzC6S9kezvqrMxVQS12ECFTx0m3+9EynBmCWRpeSCDJKnxUCbL0FLE9ikAgdoqjPjqVeqEIn1C8msEn+8r9vZ1kE2dHMJ/Vrd6OsYru4P+m3x3iJ2GhbbptMlEM6+/7GR3RBqFrRNZ5A1qXl6nVcaqFhActwdG78WmoXFKVxVS7/ru9w/PSH+lnUY3iLm+aTTesYLIy+ZV/z8katJbdOFp1JvL0Fhb4A0mAEjTYB9SmosxXBFy9gyWSnJsw5ZmyuaD4+vBcZZk+cm8qyS8n5S5Kjs/b7EwgYQYGgjzqeOIlzLzfYWhfY2Zu4z8gyWldmDst2VuG1Cxe/jFU8QY8WEEeE14sXBk+Eaw1pI0vQXsXaN2voHOni+MCvH4ggFYsHzkp+d8YbYEPGGJphLAwvQ7SsWyu5lDPaXdOEj17ukvqnVbxGIa4eVQSlrivQEYfuUj0uz1joOerNIUhP4Ce1k2caQz+FwkpLfSoDSGikmJWzg0UjD7Luxw/sNSth6zqNxyT+ozmawnMcjJF/LOg==
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2020 13:51:14.8148 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: de51bf0c-ea83-4a04-d0f2-08d7d57a946a
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3208
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/0ieR9VJtzWshwgcjfNlOl__9oCE>
Subject: Re: [core] Review of draft-fossati-core-coap-problem-02
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
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, 31 Mar 2020 13:51:21 -0000

Hi Jim, thanks very much for your comments.

> The abstract should also point to RFC 7807 so that people who
> understand that problem set will also be able to find this one.

I am torn between that and Section 4.3 of RFC 7322, last para:
  "[...] the Abstract must not contain citations"

> Give that currently RFC 7252 currently says that a server can return
> information for diagnostic purposes, I think that there should be a
> field defined for that purpose as part of this document as well.  This
> would not be the same as what goes into "detail" as this is more debug
> info than would be placed that field.  As an example, I might return
> an error along with a debug stack when running in specific modes.  I
> don't want to lose that ability.

Yep, application/coap-problem+cbor and diagnostic payloads are mutually
exclusive.  This was a precise choice because they seemed to have
different audiences (API user vs API developer).  That said, the
intersection between API users and developers is not empty, so this
might actually be in scope, apart from being obviously useful.

> There seem to be three different points of extensibility.  You are not
> documenting the namespace extension point.  I started reading
> section 3.1 as if it were namespaces and was running into problems
> because of that.

I understand how the current structure can be confusing.  We need to
provide clearer wording.

> Are additional attributes defined based on the namespace or on the
> problem type?  While I can see both as being true, defining them based
> on namespace might be easier to understand.  You might otherwise end
> up with an attribute with the same id for different problem types but
> that mean either the same thing, almost the same thing or completely
> different things.

Agree, namespace-based attributes is the right granularity.  Thanks.
[+]

> Are we making any statements about language for the title?

Good point, we haven't thought about this.  Not sure how one can
successfully handle localisation in CoAP though.  It seems like the only
sensible recommendation we could make here is "try to choose based on
present and future audience.".   That, or force English from the onset?

> If negative values are used for private details for a public namespace
> in section 5.2.1 - How I am to understand which the different private
> registrations are being referred to?  Or are these all expected to be
> registered?

Yes, the idea is that when you go public, you need to register all the
"extra" details your API is using picking from the unused parts of the
0..4294967295 space.

> Insert into table 4 a row for -2^64 to -L as Private Use.  This makes
> life easier on IANA

Makes sense.  We should also fix the Specification Required range now
that you made me look at it :-)

> Insert in section B.1 that the namespace is not needed because ....

OK

> Note that CoRAL appears to think that additional attributes are based
> on the namespace and not on the type.  This would lead to some
> potential problems going forward.

See above [+]

cheers!
--

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.