Re: [core] New Version Notification fordraft-rahman-core-sleepy-nodes-do-we-need-00.txt

Zach Shelby <zach@sensinode.com> Mon, 14 October 2013 16:15 UTC

Return-Path: <zach@sensinode.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 858BD11E815A for <core@ietfa.amsl.com>; Mon, 14 Oct 2013 09:15:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 yedizwDB80gj for <core@ietfa.amsl.com>; Mon, 14 Oct 2013 09:14:57 -0700 (PDT)
Received: from auth-smtp.nebula.fi (auth-smtp.nebula.fi [217.30.180.105]) by ietfa.amsl.com (Postfix) with ESMTP id 5E48121F9EB5 for <core@ietf.org>; Mon, 14 Oct 2013 09:14:55 -0700 (PDT)
Received: from zach-shelby.local.tld (74-61-154-122.sfo.clearwire-wmx.net [74.61.154.122] (may be forged)) (authenticated bits=0) by auth-smtp.nebula.fi (8.13.8/8.13.4) with ESMTP id r9EGEPSF019471 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 14 Oct 2013 19:14:29 +0300
X-Authenticated-User: sensinodecom
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Zach Shelby <zach@sensinode.com>
In-Reply-To: <D60519DB022FFA48974A25955FFEC08C055A236A@SAM.InterDigital.com>
Date: Mon, 14 Oct 2013 09:14:28 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <EC7CC7AC-79AC-4F7F-8C5D-DAD4BDC0AF73@sensinode.com>
References: <D60519DB022FFA48974A25955FFEC08C05529BC9@SAM.InterDigital.com> <A027140C2AF449828323C6388B0C69B6@WeiGengyuPC> <D60519DB022FFA48974A25955FFEC08C055A236A@SAM.InterDigital.com>
To: "Rahman, Akbar" <Akbar.Rahman@InterDigital.com>
X-Mailer: Apple Mail (2.1508)
Cc: core@ietf.org
Subject: Re: [core] New Version Notification fordraft-rahman-core-sleepy-nodes-do-we-need-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: Mon, 14 Oct 2013 16:15:08 -0000

Hi,

I think "Sleepy Nodes" really misses the broader point. What we are really dealing with is a node with intermittent reachability, "I'll call you, don't call me". Sleeping might just be one reason why this happens, a NAT is another even more common one. And on cellular networks nodes typically come on the network just long enough to get their business done. 

In the OMA Lightweight standard, the mechanism that uses CoAP to solve this problem was just called a "queue mode". This is in practice realised with a Proxy and an RD in the same box. An RD registration parameter is used to indicate that a node is in queue mode. From there on the proxy queues all incoming requests to the node, which are released upon reception of a registration update request from the node. If the WG wants, this could fairly easily be documented in the Resource Directory draft maintaining compatibility with OMA Lightweight. 

Although Mirror Server is a useful paradigm for some use cases (and we should eventually document it), I find it less useful as it limits the REST operations that can be performed.

Zach 

On Oct 11, 2013, at 9:38 PM, "Rahman, Akbar" <Akbar.Rahman@InterDigital.com> wrote:

> Thanks, Gengyu, for your support for the topic of Sleepy Nodes.
> 
> I agree that we can have different definitions of what we mean from a CORE perspective for a Sleepy Node.  At this point (until we adopt a WG deliverable for this topic) one definition is just as valid as another.  However, it is also interesting to see what other WGs are doing.  So for example, in ROLL, the definition is:
> 
> 
> http://tools.ietf.org/html/draft-ietf-roll-terminology-13
> 
> 
>   Sleepy Node: A sleepy node is a node that may sometimes go into a
>   sleep mode (i.e.  go into a low power state to conserve power) and
>   temporarily suspend protocol communication.  When no in a sleep mode,
>   the sleepy node is in a fully powered on state where it has the
>   capability to perform communication.
> 
> 
> And this ROLL definition, at least, is similar to the one from draft-dijk-core-sleepy-reqs-00
> 
> 
> 
> Best Regards,
> 
> 
> Akbar
> 
> 
> 
> -----Original Message-----
> From: weigengyu [mailto:weigengyu@bupt.edu.cn] 
> Sent: Friday, October 11, 2013 2:27 AM
> To: Rahman, Akbar
> Cc: core@ietf.org
> Subject: Re: [core] FW: New Version Notification fordraft-rahman-core-sleepy-nodes-do-we-need-00.txt
> 
> Hi, Rahman,
> 
> My answer the question "Should we have a CORE deliverable for CoAP support of Sleepy Nodes?" is YES.
> 
> But I have some questions about the use cases.
> According to "Sleepy Devices using CoAP - Requirements draft-dijk-core-sleepy-reqs-00"
> the definitin of Sleeping/Asleep as following:
>   Sleeping/Asleep  : A SEP being in a "sleeping state" i.e. its network interface is disconnected and a SEP is not able to send or receive messages.
> So, a sleepy node should not start to communicate with other nodes.  The communication between sleepy nodes is not possible, that is given in "Problem statement and Use cases of Sleepy node in Constrained node networks draft-hong-lwig-sleepynode-problem-statement-00"
> 
> When a node is in sleeping state, it can receive, but it cannot send.
> The sleeping node can be waken-up by a received message or timer expired event; therefore the node turns to be awake.
> An alarming message may cause the sleepy node awake and then to give response.
> The timer expired event may cause  the sleepy node awake and then to send heartbeat.
> A node can send a message out only when it is awake.
> 
> Afterall, it is possible that the non-sleep node  initiates communication with a sleepy node. The sleep node is passive.
> If the node in sleepy state wants to respond the message, it firstly turns to awake state.
> 
> regards,
> 
> Gengyu
> 
> 
> -----原始邮件-----
> From: Rahman, Akbar
> Sent: Friday, October 11, 2013 11:39 AM
> To: Carsten Bormann ; core@ietf.org
> Subject: [core] FW: New Version Notification fordraft-rahman-core-sleepy-nodes-do-we-need-00.txt
> 
> Hi Carsten (and WG),
> 
> 
> I wrote a short draft based on the following question from IETF-87 (Berlin):
> 
> "Should we have a CORE deliverable for CoAP support of Sleepy Nodes?"
> 
> http://www.ietf.org/mail-archive/web/core/current/msg04750.html
> 
> 
> 
> Any and all comments will be much appreciated.
> 
> 
> 
> Akbar
> 
> -----Original Message-----
> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> Sent: Thursday, October 10, 2013 11:34 PM
> To: Rahman, Akbar; Rahman, Akbar
> Subject: New Version Notification
> fordraft-rahman-core-sleepy-nodes-do-we-need-00.txt
> 
> 
> A new version of I-D, draft-rahman-core-sleepy-nodes-do-we-need-00.txt
> has been successfully submitted by Akbar Rahman and posted to the IETF 
> repository.
> 
> Filename: draft-rahman-core-sleepy-nodes-do-we-need
> Revision: 00
> Title: Sleepy Devices: Do we need to Support them in CORE?
> Creation date: 2013-10-11
> Group: Individual Submission
> Number of pages: 6
> URL: 
> http://www.ietf.org/internet-drafts/draft-rahman-core-sleepy-nodes-do-we-need-00.txt
> Status: 
> http://datatracker.ietf.org/doc/draft-rahman-core-sleepy-nodes-do-we-need
> Htmlized: 
> http://tools.ietf.org/html/draft-rahman-core-sleepy-nodes-do-we-need-00
> 
> 
> Abstract:
>   This document summarizes the discussion in the CORE WG related to the
>   question of whether support of sleepy devices is required for the
>   CoAP protocol, CORE Link Format, CORE Resource Directory, etc.  The
>   only goal of this document is to trigger discussions in the CORE WG
>   so that all relevant considerations for sleeping devices are taken
>   into account.
> 
> 
> 
> 
> Please note that it may take a couple of minutes from the time of submission 
> until the htmlized version and diff are available at tools.ietf.org.
> 
> The IETF Secretariat
> 
> _______________________________________________
> 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

-- 
Zach Shelby, Chief Nerd, Sensinode Ltd.
http://www.sensinode.com @SensinodeIoT
Mobile: +358 40 7796297
Twitter: @zach_shelby
LinkedIn: http://fi.linkedin.com/in/zachshelby
6LoWPAN Book: http://6lowpan.net