Re: [6tsch] Confirmation Messages?

Qin Wang <qinwang@berkeley.edu> Wed, 04 September 2013 22:11 UTC

Return-Path: <qinwang@berkeley.edu>
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 449FD21F9FA2 for <6tsch@ietfa.amsl.com>; Wed, 4 Sep 2013 15:11:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.89
X-Spam-Level:
X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[AWL=0.086, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 IYgsAExeK5HI for <6tsch@ietfa.amsl.com>; Wed, 4 Sep 2013 15:11:53 -0700 (PDT)
Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by ietfa.amsl.com (Postfix) with ESMTP id A38EC21F9F97 for <6tsch@ietf.org>; Wed, 4 Sep 2013 15:11:52 -0700 (PDT)
Received: by mail-vc0-f182.google.com with SMTP id hf12so603543vcb.27 for <6tsch@ietf.org>; Wed, 04 Sep 2013 15:11:52 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=QfJdOFdGUMEFAsgOGrviRnqEk81lX5bQIfnhO7kQPGQ=; b=mGyABp4u1oDTYtepQibEay4vHqSWYDXJUlMTG0RMfGqLYBTZQByfOZ390x8kVX1hFP skxbA58PMk24tpFeAdcWfisNtuZrUtk0S6WBoWgrAyIWNDTa478pyaN4YSUzeEC70LZA fSzg19e283cgDoL4jDMf5g05uIELg7FaFhRFMo28wThu0Upn+vWj1ZQTCBNpnF6bKdKZ lZ6FgpJoMJV3odKavuwbXGeI5rjw3HCxO/bgxjrt/QeAAJikF29h5g8uszZMFvXaO2Cf 1U+gIKxtqgQEmZrrpBtLk70YtmKuLnOde/8TDkAK23+iHvmOZaguLl51LnGuUOrRGob3 HEsA==
X-Gm-Message-State: ALoCoQnX0Fp8RGyeqXM5DGPY0E2OnUsoN9Q5zmAe12CspeUuPJrZKnSMwBuKetQwIARrJcDy+wRM
MIME-Version: 1.0
X-Received: by 10.58.46.84 with SMTP id t20mr69057vem.56.1378332712086; Wed, 04 Sep 2013 15:11:52 -0700 (PDT)
Received: by 10.220.116.135 with HTTP; Wed, 4 Sep 2013 15:11:52 -0700 (PDT)
In-Reply-To: <CADJ9OA8A6VypMT-xTeLtO25MmnChEdviEksGpEhOCDgsV5MYsw@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> <CADJ9OA8A6VypMT-xTeLtO25MmnChEdviEksGpEhOCDgsV5MYsw@mail.gmail.com>
Date: Thu, 05 Sep 2013 06:11:52 +0800
Message-ID: <CAAzoce4M_4RibtP2Xqa+A1xp7B+SqAn_n72bc=roww=SvK=p6g@mail.gmail.com>
From: Qin Wang <qinwang@berkeley.edu>
To: Thomas Watteyne <watteyne@eecs.berkeley.edu>
Content-Type: multipart/alternative; boundary="089e0115ffd2afb91b04e5961718"
Cc: "6tsch@ietf.org" <6tsch@ietf.org>
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 22:11:57 -0000

I agree!

Qin


On Thu, Sep 5, 2013 at 5:59 AM, Thomas Watteyne
<watteyne@eecs.berkeley.edu>wrote:

> 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
>>>
>>>
>>
>
> _______________________________________________
> 6tsch mailing list
> 6tsch@ietf.org
> https://www.ietf.org/mailman/listinfo/6tsch
>
>