Re: [core] Tr : New Version Notification for draft-vial-core-mirror-proxy-00.txt

matthieu.vial@non.schneider-electric.com Fri, 02 March 2012 16:55 UTC

Return-Path: <matthieu.vial@non.schneider-electric.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 D54BE21F86A2 for <core@ietfa.amsl.com>; Fri, 2 Mar 2012 08:55:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.599
X-Spam-Level:
X-Spam-Status: No, score=-4.599 tagged_above=-999 required=5 tests=[AWL=-2.000, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KGDbrpUOKr8c for <core@ietfa.amsl.com>; Fri, 2 Mar 2012 08:55:00 -0800 (PST)
Received: from mailX04.eud.schneider-electric.com (mailx04.eud.schneider-electric.com [205.167.7.39]) by ietfa.amsl.com (Postfix) with ESMTP id C02A021F8698 for <core@ietf.org>; Fri, 2 Mar 2012 08:54:59 -0800 (PST)
Received: from ateui03.schneider-electric.com ([10.198.21.36]) by mailX04.eud.schneider-electric.com with ESMTP id 2012030217513258-11665 ; Fri, 2 Mar 2012 17:51:32 +0100
In-Reply-To: <4F50D652.1090501@piuha.net>
To: Jari Arkko <jari.arkko@piuha.net>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.6 March 06, 2007
From: matthieu.vial@non.schneider-electric.com
Message-ID: <OF1FC5F555.31D3911F-ONC12579B5.00586132-C12579B5.005CEA89@schneider-electric.com>
Date: Fri, 02 Mar 2012 17:54:53 +0100
X-MIMETrack: Serialize by Router on ATEUI03.Schneider-Electric.com/T/SVR/Schneider at 02/03/2012 17:54:56, Serialize complete at 02/03/2012 17:54:56, Itemize by SMTP Server on AXEU4OUT.schneider-electric.com/X/SVR/SEIxtra at 02/03/2012 17:51:32, Serialize by Router on AXEU4OUT.schneider-electric.com/X/SVR/SEIxtra at 02/03/2012 17:51:36, Serialize complete at 02/03/2012 17:51:36
Content-Type: text/plain; charset="US-ASCII"
Cc: core WG <core@ietf.org>
Subject: Re: [core] Tr : New Version Notification for draft-vial-core-mirror-proxy-00.txt
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 02 Mar 2012 16:55:02 -0000

Jari,

Thanks for your interest in the draft. See my comments below.


>I also like it that your interface is pretty much identical to the RD 
interface, making this easier to implement. Question: if I want to 
register myself in a RM *and* an RD (which might potentially be in the 
same server), is there a way for me to send just one set of messages, or 
do I have to register twice?

For me a sleeping endpoint is not supposed to register with a RD. The 
mirror proxy can do it on its behalf if RD discovery is administratively 
configured in the network. When the RD and the MP are located on the same 
web server we can imagine internal optimizations to populate the RD 
database. Also by default the RD extracts the source address of the 
registration packet to get the address of the web server. A SEP is not a 
web server so it would have to explicitly specify the address of the MP in 
the registration request. It's just added complexity for a SEP and it's 
also less energy efficient.


>I would suggest that there could be a "origin" identity carried in the 
registration (e.g., dev:mac:....) and that origin identity can be 
communicated through the RD to anyone who sees the resources. This allows 
whoever is interested in the content to at least detect the duplicate 
resources as such.

The question is how to attach this identity to the web links returned 
during resource discovery.


>I think a constrained device can support a registration phase.

Depending on the energy harvesting technology, some devices might not be 
able to send periodic requests to maintain soft state or to start a 
complex registration procedure (link-format is quite verbose). A switch 
may collect energy from the movement of the rocker for example. In that 
case the SEP can only communicate when the switch is activated.

Matthieu