Re: [core] đź”” WGA multipart/core

"Kovatsch, Matthias" <matthias.kovatsch@siemens.com> Fri, 22 June 2018 16:08 UTC

Return-Path: <matthias.kovatsch@siemens.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 B8567130EA9 for <core@ietfa.amsl.com>; Fri, 22 Jun 2018 09:08:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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 iuoO2KQ5vvMq for <core@ietfa.amsl.com>; Fri, 22 Jun 2018 09:08:46 -0700 (PDT)
Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) (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 D3622130EA2 for <core@ietf.org>; Fri, 22 Jun 2018 09:08:45 -0700 (PDT)
Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w5MG8goI012363 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 22 Jun 2018 18:08:42 +0200
Received: from DEFTHW99ERJMSX.ww902.siemens.net (defthw99erjmsx.ww902.siemens.net [139.22.70.135]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTPS id w5MG8c4w024060 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 22 Jun 2018 18:08:42 +0200
Received: from DEFTHW99ERSMSX.ww902.siemens.net (139.22.70.207) by DEFTHW99ERJMSX.ww902.siemens.net (139.22.70.135) with Microsoft SMTP Server (TLS) id 14.3.399.0; Fri, 22 Jun 2018 18:08:38 +0200
Received: from DEFTHW99EL4MSX.ww902.siemens.net ([169.254.5.149]) by DEFTHW99ERSMSX.ww902.siemens.net ([139.22.70.207]) with mapi id 14.03.0399.000; Fri, 22 Jun 2018 18:08:37 +0200
From: "Kovatsch, Matthias" <matthias.kovatsch@siemens.com>
To: Jaime Jiménez <jaime.jimenez@ericsson.com>, core <core@ietf.org>
Thread-Topic: [core] đź”” WGA multipart/core
Thread-Index: AQHUAUFuSJfzcFuC9EKZmxelzh2jo6RsfDTg
Date: Fri, 22 Jun 2018 16:08:37 +0000
Message-ID: <4EBB3DDD0FBF694CA2A87838DF129B3C01FBFEB6@DEFTHW99EL4MSX.ww902.siemens.net>
References: <ba113ac028c50ee08625d508a89bb169@bbhmail.nl> <CAAzbHvYRgHsSOMgYSxvQOsbZVjnCO+h2r=2LV4vS5a2yJ1s=bA@mail.gmail.com> <20273.1527881373@localhost> <CAAzbHvagy43fX2VDOrG2MzFzfV1-bsE+b7t4GkkU=1wRiiGiJA@mail.gmail.com> <5727.1528220965@localhost> <4AEB441B-CCE5-49B7-8F42-4D0BC8381BA3@ericsson.com> <b0e5e09f1aeff2f553c244013486fbab@bbhmail.nl> <F61A4181-E14F-4B58-8A0B-FE3EA30C3D09@tzi.org> <1677921f-3c58-9aa4-747f-89b6a4297f52@isode.com> <C0D4D7C5-99B7-4225-9D48-52A34ABFAFC0@tzi.org> <24375.1528307244@localhost> <2F2ED8C8-DE45-4187-98C9-3DF56F3C2081@tzi.org> <25717.1528323050@localhost> <091EBB63-2719-450F-8403-DCF48DB941D5@ericsson.com> <5B899963-0BB1-4D95-9762-3C6E105C2FDB@tzi.org> <F54A2DF6-ABEA-4735-9708-8A9364C7290B@ericsson.com>
In-Reply-To: <F54A2DF6-ABEA-4735-9708-8A9364C7290B@ericsson.com>
Accept-Language: en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [139.22.70.22]
Content-Type: multipart/alternative; boundary="_000_4EBB3DDD0FBF694CA2A87838DF129B3C01FBFEB6DEFTHW99EL4MSXw_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/NO2pUTnZJ32l4QaqV1zJm5owm88>
Subject: Re: [core] đź”” WGA multipart/core
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.26
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, 22 Jun 2018 16:08:49 -0000

+1

This proposal also solves an issue with Observe when a change in the Content Format is needed (e.g., to send an error representation in the final notification).

It also contains the functionality https://tools.ietf.org/html/draft-bormann-core-maybe-00, which is interesting for CoAP PubSub. (Were there other use cases?)

I also want to +1 an earlier comment by Klaus:


> For evolvability, we should add rules for processing parts that look

> invalid at the moment. I can imagine the need for other representation

> metadata in addition to the content format in the future, so there

> might be a map in place of the uint. I wouldn't want to bloat the

> format right now, though. Let's keep it small and focused, and allow

> for evolving it later should the need arise.


OCF, for instance, uses a custom version option that must go along with the Content-Format option. Hence, the need for supporting a number of payload-defining elements appears valid.



The memo currently mentions the “format identifying element alternatively can be a text string giving the media type name plus potentially some parameters”. This looks like a side feature/hack to add string support in CoAP. However, this opens up a can of worms, as it invites to use undefined names and the parameters would lack proper definition. Parameters should rather use the option mechanism (properly define an option number) and be passed using a map mechanism as proposed by Klaus.

Best wishes,
Matthias


Von: core [mailto:core-bounces@ietf.org] Im Auftrag von Jaime Jiménez
Gesendet: Montag, 11. Juni 2018 07:02
An: core
Betreff: [core] đź”” WGA multipart/core

Dear all,

based on the ongoing discussion on the Multipart Content-Format for CoAP and the dependency with ACE, we will issue a 2 week Working group Adoption call for this draft.

Ciao!
- - Jaime Jiménez


On 8 Jun 2018, at 16.41, Carsten Bormann <cabo@tzi.org<mailto:cabo@tzi.org>> wrote:

I updated the draft based on the input we have so far (thanks to everyone replying!).
(I added alternative text media-type labels as a trial balloon; we can always remove them in the WG discussion.
We can also decide between single-byte and two-byte identifier.)

Name:                        draft-fossati-core-multipart-ct
Revision:       05
Title:             Multipart Content-Format for CoAP
Htmlized:       https://tools.ietf.org/html/draft-fossati-core-multipart-ct-05
Diff:           https://www.ietf.org/rfcdiff?url2=draft-fossati-core-multipart-ct-05

This should be ready for working-group adoption call now.

GrĂĽĂźe, Carsten


Please initiate


On Jun 7, 2018, at 09:33, Jaime Jiménez <jaime.jimenez@ericsson.com<mailto:jaime.jimenez@ericsson.com>> wrote:

Hi,

Thank you all for the constructive discussion. To summarise some of the raised points so far:

- Dependency on EST-COAP, which is targeted for WGLC in next IETF.
- Multipart/core can't be registered. AD pointed out that it is not possible to register "multipart" as a top-level media type. Author's proposal to rename it under application (i.e. - "application/multipart-core").
- Should the identifier be a single byte or two?
- Expert media-type review confirmation needed.

If the authors could submit a new version soon, I’ll trigger the WGA call so that we have consensus on the draft before next IETF.

Ciao!
- - Jaime Jiménez


On 7 Jun 2018, at 1.10, Michael Richardson <mcr+ietf@sandelman.ca<mailto:mcr+ietf@sandelman.ca>> wrote:


Carsten Bormann <cabo@tzi.org<mailto:cabo@tzi.org>> wrote:

On Jun 6, 2018, at 19:47, Michael Richardson <mcr+ietf@sandelman.ca<mailto:mcr+ietf@sandelman.ca>> wrote:

The only other name I might imagine is application/multipart-cbor, as
slightly more descriptive, but it's a bikeshed question.


There is not that much CBOR there….  But the interesting point about
this specific format is not so much the razor-thin CBOR envelope, but
that this is using Content-Format identifiers from the CoRE Parameters
registry — hence the “core” in the proposed name.  We may want to

That's a reasonable argument for calling it multipart-core.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     mcr@sandelman.ca<mailto:mcr@sandelman.ca>  http://www.sandelman.ca/        |   ruby on rails    [

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