Re: [6tsch] About the special type of event to ask PCE to create a track

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Fri, 06 September 2013 06:22 UTC

Return-Path: <pthubert@cisco.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 67AAA11E8280 for <6tsch@ietfa.amsl.com>; Thu, 5 Sep 2013 23:22:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.186
X-Spam-Level:
X-Spam-Status: No, score=-10.186 tagged_above=-999 required=5 tests=[AWL=-0.187, BAYES_00=-2.599, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_HI=-8]
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 99id1mLwipaE for <6tsch@ietfa.amsl.com>; Thu, 5 Sep 2013 23:22:38 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by ietfa.amsl.com (Postfix) with ESMTP id 7B53011E827E for <6tsch@ietf.org>; Thu, 5 Sep 2013 23:22:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=14299; q=dns/txt; s=iport; t=1378448558; x=1379658158; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=omMwNVqIAyP/hTD//GwhFCIx2+OIZlgq5wO5MIwVo7A=; b=mUUXjFMwH8h8iMuryp9kT0wAZYWtKgB6hpWuSXDIEN0/IyB7N2MaHfqi 0moCvb7/GZ88LFKbBMex/9gKMWWg0H2Vyy8e70daCg1kZyX7Spgcjhvr9 wEKkNZB38BRZN7kM5WYfhs6YINGkk7ynakfG1xvrwQvV7lqPxfiQ0tLc8 Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgsFAOJzKVKtJXG9/2dsb2JhbABRCoMHNVHBUoEoFnSCJAEBAQMBAQEBJCIeBwsMBAIBCBEEAQEBCh0HJwsUCQgCBA4FCId0Bgy7DI4vCoEIBisHAgSDF4EAA4h9kCeQN4MggXE5
X-IronPort-AV: E=Sophos;i="4.90,852,1371081600"; d="scan'208";a="256354782"
Received: from rcdn-core2-2.cisco.com ([173.37.113.189]) by rcdn-iport-6.cisco.com with ESMTP; 06 Sep 2013 06:22:37 +0000
Received: from xhc-aln-x10.cisco.com (xhc-aln-x10.cisco.com [173.36.12.84]) by rcdn-core2-2.cisco.com (8.14.5/8.14.5) with ESMTP id r866Mbdr011494 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 6 Sep 2013 06:22:37 GMT
Received: from xmb-rcd-x01.cisco.com ([169.254.1.197]) by xhc-aln-x10.cisco.com ([173.36.12.84]) with mapi id 14.02.0318.004; Fri, 6 Sep 2013 01:22:37 -0500
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: "Prof. Diego Dujovne" <diego.dujovne@mail.udp.cl>
Thread-Topic: [6tsch] About the special type of event to ask PCE to create a track
Thread-Index: AQHOqmXhvNF3zWfNUUeZLJxljh9TZ5m3ePk2gABeUYCAAFzYIA==
Date: Fri, 06 Sep 2013 06:22:36 +0000
Deferred-Delivery: Fri, 6 Sep 2013 06:22:00 +0000
Message-ID: <E045AECD98228444A58C61C200AE1BD84145C100@xmb-rcd-x01.cisco.com>
References: <E045AECD98228444A58C61C200AE1BD84145A186@xmb-rcd-x01.cisco.com> <CAH7SZV8jbcd16GKFbTp==772ecbnT0rD4_ohrmkyf4+MWdHMOQ@mail.gmail.com> <CADJ9OA9Wj8WO7Ho3-SqcSp5v1qufgpDe0h59x8bPA=5YgOB0Ag@mail.gmail.com> <A1F395DC-F48E-42A9-BB10-385EFA5D8477@cisco.com> <CAH7SZV-iffAEi2h7o5bx7oyKgqzja1imSvo9+x3FpGD0W+Nyug@mail.gmail.com>
In-Reply-To: <CAH7SZV-iffAEi2h7o5bx7oyKgqzja1imSvo9+x3FpGD0W+Nyug@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.61.200.228]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Thomas Watteyne <watteyne@eecs.berkeley.edu>, "6tsch@ietf.org" <6tsch@ietf.org>, "JP Vasseur (jvasseur)" <jvasseur@cisco.com>
Subject: Re: [6tsch] About the special type of event to ask PCE to create a track
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: Fri, 06 Sep 2013 06:22:45 -0000

That's another interesting discussion Diego,

To be very clear, there should not be more intelligence in 6Top than what's needed to act on a schedule, hard or soft.
If there is any management brain at all, it should be in the ME, and then the ME talks to 6Top or the external entities.
6Top does not really care which flows cause the call to the APIs, either through the ME Service Access Point or the data SAP.

The control flows that we are talking about are really between PCE, NME (admin console, mobile handheld) and ME in the device, with maybe some proxy or pub sub in the middle.
This is where the binary that we are chartering to define will be transmitted. So picking Xavi's list I'd map pour work as follows:


ME-6TOP - Query Flow			(NME or PCE) -> ME
ME-6TOP - Action Flow			(NME or PCE) -> ME		

6TOP - ME - Report Flow		ME -> (NME or PCE)
6TOP - ME - Event Flow			ME -> (NME  or PCE)
6TOP - ME - Request BW Flow		(ME or NME) -> PCE

And I would apply Maria-Rita's suggestion to rename Request BW Flow into "schedule flow".

The sequence we are talking about would become like:

6Top			ME 			NME			PCE	
	
      			---------------------- schedule (instance) ---------------->		
      				OR                           -- schedule (instance)->	
						<ACK>
      			<--------------------- Action (instance) --------------------

	      		-- event (instance) --->        -- event (instance) --->

It would be clearer that we define a 6th flow like this

(NME or PCE) -> ME 	- Query Flow	
(NME or PCE) -> ME 	- Action Flow	
PCE  -> NME		- Schedule info Flow		

ME -> NME -> PCE	- Report Flow		
ME -> NME -> PCE	- Event Flow			
(ME or NME) -> PCE	- Schedule Flow


The sequence we are talking about would become 

6Top			ME 			NME			PCE	
	
      			---------------------- schedule (instance) ---------------->		
      				OR                           -- schedule (instance)->	
						<ACK>
      			<--------------------- Action (instance) --------------------

	      		-------------------- event (instance) ---------------------->	
      				                        <- schedule info (instance)--	


We cannot expect the ME to do more than a few retries of schedule (instance), using CoAP.
In all cases all we really need is that the message is received, and if the PCE is stateful as we expect, we can save the ack for the action. 
The PCE will wait for the report or retry on time out.

What do you think?

Pascal

-----Original Message-----
From: 6tsch-bounces@ietf.org [mailto:6tsch-bounces@ietf.org] On Behalf Of Prof. Diego Dujovne
Sent: jeudi 5 septembre 2013 21:14
To: Pascal Thubert (pthubert)
Cc: Thomas Watteyne; 6tsch@ietf.org; JP Vasseur (jvasseur)
Subject: Re: [6tsch] About the special type of event to ask PCE to create a track

Pascal,
           I was not looking for the node to fix it, just looking to understand how smart 6top should be, or which entity should provide an answer instead.
Thanks,

                           Diego

2013/9/5 Pascal Thubert (pthubert) <pthubert@cisco.com>:
> +1
>
> If the PCE cannot solve the problem I can hardly see how the mote could fix it...
>
> Pascal
>
> Le 5 sept. 2013 à 20:30, "Thomas Watteyne" <watteyne@eecs.berkeley.edu> a écrit :
>
>> Diego, all,
>>
>> Let's not get confused. IMHO, the goal is to mainly identify the interactions between the PCE, and the mesh and the Internet, to guide us in the choice of the different packets. I created the figure below so we have something clear to argue over. Comments/edits more than welcome.
>>
>> [Inline image 1]
>>
>> About your question, Diego, I believe that the request flow should contain a mechanism for the requester to query the state of its request, and for the PCE to notify the requester about the outcome. It the PCE cannot satisfy the request, that is an administrative issue rather than a networking issue. I believe that this is out of scope.
>>
>> Thomas
>>
>>
>> On Thu, Sep 5, 2013 at 5:40 AM, Prof. Diego Dujovne <diego.dujovne@mail.udp.cl<mailto:diego.dujovne@mail.udp.cl>> wrote:
>> Dear All,
>>            Then, we have two flows to update the track:
>> Schedule flow (6top to ME): An action flow to ask for a new 
>> cell/track
>> - Execution Confirm (Success/Failure) if requested This means that 
>> the request was queued.
>> Action flow (ME to 6top): An action flow to announce the update of 
>> the schedule - Execution Confirm (Success/Failure) What happens if 
>> the queued request cannot be satisfied (e.g. energy policy 
>> restriction)?
>> Comments?
>>
>>                    Diego Dujovne
>>
>>
>>
>> 2013/9/5 Pascal Thubert (pthubert) <pthubert@cisco.com<mailto:pthubert@cisco.com>>:
>>> Yes.
>>>
>>>
>>>
>>> And the aim should be to make sure that the PCE has queued the 
>>> request to build a track.
>>>
>>> That request may be served asynchronously, considering that the PCE 
>>> sometimes needs to defragment / reoptimize multiple flows, and it 
>>> may stack some requests for a short while.
>>>
>>> When the PCE is finally ready, it computes the track, and pushes it 
>>> through an action flow; but I would consider that a different flow, 
>>> not an embedded flow for the reason above.
>>>
>>>
>>>
>>> Makes sense?
>>>
>>>
>>>
>>> Pascal
>>>
>>>
>>>
>>> From: Maria Rita PALATTELLA 
>>> [mailto:maria-rita.palattella@uni.lu<mailto:maria-rita.palattella@un
>>> i.lu>]
>>> Sent: jeudi 5 septembre 2013 09:16
>>>
>>>
>>> To: Pascal Thubert (pthubert); Qin Wang
>>> Cc: Thomas Watteyne; 6tsch@ietf.org<mailto:6tsch@ietf.org>
>>> Subject: RE: [6tsch] About the special type of event to ask PCE to 
>>> create a track
>>>
>>>
>>>
>>> It makes sense for me. Even though they are generated by different 
>>> entities, they are both addressed to the PCE, and they have the same final aim.
>>>
>>> Maria Rita
>>>
>>>
>>>
>>> From: Pascal Thubert (pthubert) 
>>> [mailto:pthubert@cisco.com<mailto:pthubert@cisco.com>]
>>> Sent: Thursday, September 05, 2013 9:02 AM
>>> To: Maria Rita PALATTELLA; Qin Wang
>>> Cc: Thomas Watteyne; 6tsch@ietf.org<mailto:6tsch@ietf.org>
>>> Subject: RE: [6tsch] About the special type of event to ask PCE to 
>>> create a track
>>>
>>>
>>>
>>> Fine with me Maria Rita,
>>>
>>>
>>>
>>> But note that there is also a flow that fits the name "schedule 
>>> flow" that is stimulated by the Net mgt Entity in the admin console 
>>> as opposed to the mt entity in the device.
>>>
>>> Same thing, this creates a req to the PCE to install a track. Do we 
>>> want to merge those 2 flows? - I think so.
>>>
>>>
>>>
>>> Cheers,
>>>
>>>
>>>
>>> Pascal
>>>
>>>
>>>
>>> From: Maria Rita PALATTELLA 
>>> [mailto:maria-rita.palattella@uni.lu<mailto:maria-rita.palattella@un
>>> i.lu>]
>>> Sent: jeudi 5 septembre 2013 08:47
>>> To: Pascal Thubert (pthubert); Qin Wang
>>> Cc: Thomas Watteyne; 6tsch@ietf.org<mailto:6tsch@ietf.org>
>>> Subject: RE: [6tsch] About the special type of event to ask PCE to 
>>> create a track
>>>
>>>
>>>
>>> I agree too. If we want to cut the name shorter, maybe we can just 
>>> call it " Schedule Flow" (removing the update).
>>>
>>> In the end, we know that this flow will happen when a node asks the 
>>> PCE to update its schedule, and add/remove cells/tracks. What do you think?
>>>
>>> Maria Rita
>>>
>>>
>>>
>>> From: 6tsch-bounces@ietf.org<mailto:6tsch-bounces@ietf.org> 
>>> [mailto:6tsch-bounces@ietf.org<mailto:6tsch-bounces@ietf.org>] On 
>>> Behalf Of Pascal Thubert (pthubert)
>>> Sent: Thursday, September 05, 2013 7:29 AM
>>> To: Qin Wang
>>> Cc: Thomas Watteyne; 6tsch@ietf.org<mailto:6tsch@ietf.org>
>>> Subject: Re: [6tsch] About the special type of event to ask PCE to 
>>> create a track
>>>
>>>
>>>
>>> +1
>>>
>>> Pascal
>>>
>>>
>>> Le 5 sept. 2013 à 00:10, "Qin Wang" <qinwang@berkeley.edu<mailto:qinwang@berkeley.edu>> a écrit :
>>>
>>> Thomas,
>>>
>>>
>>>
>>> I think "Flow" is a process to exchange messages for a given 
>>> objective. For example, action flow consists of a Action Request 
>>> from ME to 6top, and a Execution Confirm (Succ/Fail) from 6top to 
>>> ME. But, "Schedule update request" looks like one step of a process. 
>>> I would like to suggest that the 5th flow is called "Schedule update 
>>> flow", consists of a "Schedule update request" from node to PCE, and 
>>> something like "Track/cell installation" from PCE to node.
>>>
>>>
>>>
>>> Make sense?
>>>
>>> Qin
>>>
>>>
>>>
>>> On Thu, Sep 5, 2013 at 5:29 AM, Thomas Watteyne 
>>> <watteyne@eecs.berkeley.edu<mailto:watteyne@eecs.berkeley.edu>>
>>> wrote:
>>>
>>> I would agree that a 5th flow makes sense, especially because it 
>>> allows us to use different transport mechanisms for the report flow 
>>> (CoAP?) and this new flows (CoAP now? maybe PCEP later?).
>>>
>>>
>>>
>>> Do what do we call this new flow? "Schedule update request" is a bit long.
>>>
>>>
>>>
>>> Thomas
>>>
>>>
>>>
>>> On Wed, Sep 4, 2013 at 2:12 PM, Qin Wang <qinwang@berkeley.edu<mailto:qinwang@berkeley.edu>> wrote:
>>>
>>> Hi Thomas,
>>>
>>>
>>>
>>> Thanks for your explanation. You are saying the request packet from 
>>> node is generated by the upper layer of 6top, correct?
>>>
>>>
>>>
>>> If so, since the request packet is generated by upper layer of 6top, 
>>> instead of 6top internal events like alarm, I think it is reasonable 
>>> to add the 5th control flow.
>>>
>>>
>>>
>>> What do you think?
>>>
>>>
>>>
>>> Qin
>>>
>>>
>>>
>>> On Wed, Sep 4, 2013 at 10:12 AM, Thomas Watteyne 
>>> <watteyne@eecs.berkeley.edu<mailto:watteyne@eecs.berkeley.edu>> wrote:
>>>
>>> Qin,
>>>
>>>
>>>
>>> Thanks for bringing that up. Allow me to answer in Pascal's place. 
>>> We are talking about the format of the packets exchanged between the 
>>> ME and the nodes. In the centralized case, these are application-level packets, i.e.
>>> packet generated by an entity a couple of layer above 6top. That 
>>> entity talks with the PCE over the network, and with 6top through 
>>> the API (internal to the node) as defined in 
>>> http://tools.ietf.org/html/draft-wang-6tsch-6top-00#section-2.4.
>>>
>>>
>>>
>>> If we agree on that, the question is whether the packet the node 
>>> sends to establish a new track is part of the event flow, or not. In 
>>> both cases, it would originate from this application-level entity, 
>>> but possibly transported in different ways.
>>>
>>>
>>>
>>> Thomas
>>>
>>>
>>>
>>> On Fri, Aug 30, 2013 at 11:01 AM, Qin Wang <qinwang@berkeley.edu<mailto:qinwang@berkeley.edu>> wrote:
>>>
>>> Hi Pascal,
>>>
>>>
>>>
>>> My understanding is that 6top is a passive role in dealing with 
>>> cell/track reservation. In another word, the 6top in a node can 
>>> report its state, including neighbor table, cell usage, and other 
>>> statistics information, but can not make decision on if some 
>>> cells/track should be added or removed, which should be the 
>>> responsibility of PCE in centralized case or upper layer in 
>>> distributed case. Thus, I can not see when the 5th flow will be used. Can you explain more?
>>>
>>>
>>>
>>> Thanks
>>>
>>> Qin
>>>
>>>
>>>
>>> On Sat, Aug 31, 2013 at 12:08 AM, Pascal Thubert (pthubert) 
>>> <pthubert@cisco.com<mailto:pthubert@cisco.com>> wrote:
>>>
>>> Dear all,
>>>
>>> We discussed at the call that the(PCEP?) request to ask for a track 
>>> establishment could be seen as an event, or could be a new flow.
>>> At the call, I suggested that it could be a new, 5th flow. My 
>>> arguments are that this flow:
>>> - Probably yields different data format. The demand carries and 
>>> points, end to end latency and bandwidth. That's quite specific.
>>> - Probably yields a different flow. Events do not necessarily have a 
>>> response.
>>> - Probably uses a different transport as well (PCEP vs. CoAP)
>>>
>>> What do you think?
>>>
>>> Pascal
>>> _______________________________________________
>>> 6tsch mailing list
>>> 6tsch@ietf.org<mailto:6tsch@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/6tsch
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 6tsch mailing list
>>> 6tsch@ietf.org<mailto:6tsch@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/6tsch
>>>
>>>
>>> _______________________________________________
>>> 6tsch mailing list
>>> 6tsch@ietf.org<mailto:6tsch@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/6tsch
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 6tsch mailing list
>>> 6tsch@ietf.org<mailto:6tsch@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/6tsch
>>>
>>>
>>>
>>> _______________________________________________
>>> 6tsch mailing list
>>> 6tsch@ietf.org<mailto:6tsch@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/6tsch
>>>
>>>
>>> _______________________________________________
>>> 6tsch mailing list
>>> 6tsch@ietf.org<mailto:6tsch@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/6tsch
>>
>>
>>
>> --
>> DIEGO DUJOVNE
>> Académico Escuela de Ingeniería en Informática y Telecomunicaciones 
>> Facultad de Ingeniería UDP 
>> www.ingenieria.udp.cl<http://www.ingenieria.udp.cl>
>> (56 2) 676 8125<tel:%2856%202%29%20676%208125>
>>
>> <6tisch_flows.png>
>> <6tisch_flows.ppt>
>> _______________________________________________
>> 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
>



--
DIEGO DUJOVNE
Académico Escuela de Ingeniería en Informática y Telecomunicaciones Facultad de Ingeniería UDP www.ingenieria.udp.cl
(56 2) 676 8125
_______________________________________________
6tsch mailing list
6tsch@ietf.org
https://www.ietf.org/mailman/listinfo/6tsch