Re: [6tsch] Confirmation Messages?

Thomas Watteyne <watteyne@eecs.berkeley.edu> Wed, 04 September 2013 21:59 UTC

Return-Path: <twatteyne@gmail.com>
X-Original-To: 6tsch@ietfa.amsl.com
Delivered-To: 6tsch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7170F21F9DB8 for <6tsch@ietfa.amsl.com>; Wed, 4 Sep 2013 14:59:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.885
X-Spam-Level:
X-Spam-Status: No, score=-1.885 tagged_above=-999 required=5 tests=[AWL=0.092, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
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 sTvaf9hPkGu5 for <6tsch@ietfa.amsl.com>; Wed, 4 Sep 2013 14:59:41 -0700 (PDT)
Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) by ietfa.amsl.com (Postfix) with ESMTP id DCC8D21F9E0B for <6tsch@ietf.org>; Wed, 4 Sep 2013 14:59:39 -0700 (PDT)
Received: by mail-pd0-f180.google.com with SMTP id y10so903695pdj.11 for <6tsch@ietf.org>; Wed, 04 Sep 2013 14:59:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=egyFRh13dIfyVjC0j1rLcDSK9hjhTlRS9G9GbnHOVKA=; b=E2ZffTOHf0nf8MjPflWhLB0vbBthpOYRnISsvdF1W7YtIyiFPAUqvX5vAOlJs+B5OA ctbC0HTUv5Bo1BgR3eInpU/vOdO0xbu4eNE6Rz/3GTeU85I0rwM6l+UUYMAROSqTfr/X 7yxxCyxeM69Jck2Kx8B2pGwIglzpislaIJedPPed4vZ/f7nn8hWRIjkWFZFSK2Y/ewL5 6Xhq5iENmjEszjEcmX98Xvohz83DRV8T1dyr9xZD+3HSEF4XprbtpoERXkHdKj41iPB5 8GgBxi8x7/+zES1bC1LibL94KcsqvRTSOkYtQC51VrRmwEH94vRMXvBi+fxbzIHF+wkg m3Ug==
X-Received: by 10.66.254.136 with SMTP id ai8mr5644713pad.86.1378331979447; Wed, 04 Sep 2013 14:59:39 -0700 (PDT)
MIME-Version: 1.0
Sender: twatteyne@gmail.com
Received: by 10.66.147.193 with HTTP; Wed, 4 Sep 2013 14:59:19 -0700 (PDT)
In-Reply-To: <CAAzoce5LoMp0AXZ81Zy1SUQevNGPLrt2=Mcq6eDdWXg=rELqNw@mail.gmail.com>
References: <CAAzoce768TLENEYM34OEasDdTTHWTN4DRmEaOOZHOf_gBR6smQ@mail.gmail.com> <CADJ9OA-EJSobC+i-nhRc-OgS_vH2xcZn5G0r1zm6h0fkTneL7w@mail.gmail.com> <CADJ9OA-L2TH=3t5DNWpRgLxw=yE1Po-Hhj+K8qFPpN8Af22+AA@mail.gmail.com> <CALEMV4abfjv5CQ_40iBMgTDLaiukXsLJxDMKam9dhzmJn4YN4g@mail.gmail.com> <E045AECD98228444A58C61C200AE1BD841458668@xmb-rcd-x01.cisco.com> <CAAzoce5LoMp0AXZ81Zy1SUQevNGPLrt2=Mcq6eDdWXg=rELqNw@mail.gmail.com>
From: Thomas Watteyne <watteyne@eecs.berkeley.edu>
Date: Wed, 04 Sep 2013 14:59:19 -0700
X-Google-Sender-Auth: WIbgkL9EVIk3AWdOMy4NsjQbQFU
Message-ID: <CADJ9OA8A6VypMT-xTeLtO25MmnChEdviEksGpEhOCDgsV5MYsw@mail.gmail.com>
To: "6tsch@ietf.org" <6tsch@ietf.org>
Content-Type: multipart/alternative; boundary="047d7b15fc2d04858604e595ece2"
Subject: Re: [6tsch] Confirmation Messages?
X-BeenThere: 6tsch@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tsch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tsch>, <mailto:6tsch-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6tsch>
List-Post: <mailto:6tsch@ietf.org>
List-Help: <mailto:6tsch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tsch>, <mailto:6tsch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Sep 2013 21:59:43 -0000

Qin,
I understand the distinction you are making. CoAP allows us to piggyback a
response. We still need to define what the answer is to a command in the
action flow, but we don't have to define a whole new set of packet types.
Does that work for you?
Thomas


On Wed, Sep 4, 2013 at 2:53 PM, Qin Wang <qinwang@berkeley.edu> wrote:

> Hi Thomas and all,
>
> I want to make sure that you are not going to use Ack in transport layer
> to replace the "Success/Fail" in Action flow, which is in App layer.
> Correct? Usually, the meaning of status in App layer is different from
> that in transport layer. For example, A Ack in CoAP just means a packet is
> sent to the end node successfully. But the "Success" in App layer will mean
> the action required is executed successfully.
>
> Qin
>
>
> On Wed, Sep 4, 2013 at 9:59 PM, Pascal Thubert (pthubert) <
> pthubert@cisco.com> wrote:
>
>>  I agree too.****
>>
>> ** **
>>
>> To be very clear:****
>>
>> ** **
>>
>> We’ll note that sometimes the confirmation of a request is indirect, like
>> a request may trigger a flow and observing the flow is a confirmation that
>> the request was received. Or there must be an app layer answer and
>> observing that answer is a confirmation that the request went through.
>> ISA100.11a transactions that really need an ack obey this model, and TCP
>> level acks would just have been a waste of energy. That’s a reason why we
>> did not go for TCP but used UDP instead, using the app layer response as
>> implicit acks, and deferring to the app layer whether and how to manage
>> retries (based on RFC 2988).****
>>
>> ** **
>>
>> With 6TiSCH, we also expect to use UDP (below CoAP) as a transport, so
>> there is no real transport level ack –like a TCP ack- that would waste
>> resources. For all I know we’re probably well covered with the flows that
>> CoAP enables, whether we want an acknowledgement or not, or whether the
>> response is the acknowledgement that we are after.****
>>
>> ** **
>>
>> Cheers,****
>>
>> ** **
>>
>> Pascal****
>>
>> ** **
>>
>> *From:* 6tsch-bounces@ietf.org [mailto:6tsch-bounces@ietf.org] *On
>> Behalf Of *Xavier Vilajosana Guillen
>> *Sent:* mercredi 4 septembre 2013 05:56
>> *To:* Thomas Watteyne
>> *Cc:* 6tsch@ietf.org
>> *Subject:* Re: [6tsch] Confirmation Messages?****
>>
>> ** **
>>
>> I completely agree with that. Having confirmations done by transport
>> protocols simplifies our work and we do not need to re-invent the wheel.
>> ****
>>
>> ** **
>>
>> so +1 for that.****
>>
>> X****
>>
>> ** **
>>
>> On Tue, Sep 3, 2013 at 7:08 PM, Thomas Watteyne <
>> watteyne@eecs.berkeley.edu> wrote:****
>>
>> One last thought: http://tools.ietf.org/html/draft-ietf-core-observe-09 might
>> come in handy for the report flow for example.****
>>
>> ** **
>>
>> On Tue, Sep 3, 2013 at 6:59 PM, Thomas Watteyne <
>> watteyne@eecs.berkeley.edu> wrote:****
>>
>> Qin, all,****
>>
>> ** **
>>
>> *[I hope you enjoyed the long week-end (here in the US) as much as I
>> did!]*****
>>
>> ** **
>>
>> As Maria Rita pointed out during the call on Friday, let's try to make
>> absolutely sure we don't over-complicate things. I believe I agree with the
>> fact that different flows might have different requirements. Link-layer
>> ACKs can guarantee a level of reliability acceptable to some flows, but it
>> certainly would be better to have an end-to-end confirmation for others.*
>> ***
>>
>> ** **
>>
>> My vote would go for using the underlying "transport" mechanism to
>> provide us with some confirmation capabilities. If we take the example of
>> CoAP, we could say that action and query flows MUST use confirmable
>> messages, while report and event MAY. CoAP would also allow us to switch
>> between piggy-backing the response in the ACK for the query flow.****
>>
>> ** **
>>
>> The advantage is that we do not have to reinvent this "transport"
>> mechanism. The mechanism for triggering an ACK, timing out and
>> retransmitting, etc, is already done for us.****
>>
>> ** **
>>
>> Thoughts?****
>>
>> ** **
>>
>> Thomas****
>>
>> ** **
>>
>> On Fri, Aug 30, 2013 at 10:47 AM, Qin Wang <qinwang@berkeley.edu> wrote:*
>> ***
>>
>>   Hi all,****
>>
>> ** **
>>
>> In this thread, we will continue the discussion about Confirmation
>> message. Here is some background information.****
>>
>> ** **
>>
>> Context: e.g.****
>>
>>     - node sends a report and want to know if the report is accepted., **
>> **
>>
>>     - ME sends a action request and want to know if/when the action taken.
>> ****
>>
>> Options:****
>>
>>    (1) Nothing****
>>
>>    (2) Rely on transport mechanism (e.g. confirmable CoAP message)****
>>
>>    (3) App-level ACK type****
>>
>>    (4) Use different flow (i.e. action flow)****
>>
>> ** **
>>
>> IMHO, different control flow may have different requirement for
>> confirmation message.****
>>
>>     (1) Action Flow, needs a App-level confirmation, like Succ/Fail****
>>
>>     (2) Query Flow, automatically has the confirmation, i.e. the message
>> packet corresponding to a specific query.****
>>
>>     (3) Report Flow and Event Flow, option (1)-(3) are OK, but I prefer
>> option (1) and (3), i.e. the confirmation message is an option, but if a
>> confirmation message is needed, it should be App-level Ack, instead of
>> transport layer confirmation, which will give 6top more flexibility.****
>>
>> ** **
>>
>> What do you think?****
>>
>> ** **
>>
>> Thanks****
>>
>> Qin****
>>
>>     ****
>>
>> ** **
>>
>> _______________________________________________
>> 6tsch mailing list
>> 6tsch@ietf.org
>> https://www.ietf.org/mailman/listinfo/6tsch****
>>
>>  ** **
>>
>> ** **
>>
>>
>> _______________________________________________
>> 6tsch mailing list
>> 6tsch@ietf.org
>> https://www.ietf.org/mailman/listinfo/6tsch****
>>
>> ** **
>>
>> _______________________________________________
>> 6tsch mailing list
>> 6tsch@ietf.org
>> https://www.ietf.org/mailman/listinfo/6tsch
>>
>>
>