Re: [6lowapp] Proposed charter for 6LoWAPP BOF

"Sanjay Sinha (sanjsinh)" <sanjsinh@cisco.com> Mon, 02 November 2009 04:56 UTC

Return-Path: <sanjsinh@cisco.com>
X-Original-To: 6lowapp@core3.amsl.com
Delivered-To: 6lowapp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 97F7C3A69A2 for <6lowapp@core3.amsl.com>; Sun, 1 Nov 2009 20:56:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.998
X-Spam-Level:
X-Spam-Status: No, score=-5.998 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_48=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8NAYox5ZuUU1 for <6lowapp@core3.amsl.com>; Sun, 1 Nov 2009 20:56:02 -0800 (PST)
Received: from rtp-iport-1.cisco.com (rtp-iport-1.cisco.com [64.102.122.148]) by core3.amsl.com (Postfix) with ESMTP id B58573A69A1 for <6lowapp@ietf.org>; Sun, 1 Nov 2009 20:56:01 -0800 (PST)
Authentication-Results: rtp-iport-1.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AisFAGr17UpAZnwM/2dsb2JhbACCJC6UWqsSljSCO4F+BA
X-IronPort-AV: E=Sophos; i="4.44,663,1249257600"; d="scan'208,217"; a="65907096"
Received: from rtp-core-1.cisco.com ([64.102.124.12]) by rtp-iport-1.cisco.com with ESMTP; 02 Nov 2009 04:56:19 +0000
Received: from xbh-rcd-102.cisco.com ([72.163.62.190]) by rtp-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id nA24uJIM012641; Mon, 2 Nov 2009 04:56:19 GMT
Received: from xmb-rcd-101.cisco.com ([72.163.62.143]) by xbh-rcd-102.cisco.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Nov 2009 22:56:19 -0600
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA5B78.D10211BD"
x-cr-hashedpuzzle: AlTu Cfrh C2+a C/Nk FvlP HYme HbAb KWs6 O2+O Rqvt S1B/ Tk+t UMqV XDvF chsD hnRT; 3; NgBsAG8AdwBhAHAAcABAAGkAZQB0AGYALgBvAHIAZwA7AGEAcgBqAHUAbgAuAGwAaQBzAHQAcwBAAGgAcwBjAC4AYwBvAG0AOwBkAG8AbgBzAHQAdQByAGUAawBAAGcAcgBpAGQAMgBoAG8AbQBlAC4AYwBvAG0A; Sosha1_v1; 7; {C30A3280-748B-4F0E-B2F9-24C447476D48}; cwBhAG4AagBzAGkAbgBoAEAAYwBpAHMAYwBvAC4AYwBvAG0A; Mon, 02 Nov 2009 04:56:09 GMT; UgBFADoAIABbADYAbABvAHcAYQBwAHAAXQAgAFAAcgBvAHAAbwBzAGUAZAAgAGMAaABhAHIAdABlAHIAIABmAG8AcgAgADYATABvAFcAQQBQAFAAIABCAE8ARgA=
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
x-cr-puzzleid: {C30A3280-748B-4F0E-B2F9-24C447476D48}
Date: Sun, 1 Nov 2009 22:56:09 -0600
Message-ID: <00FC4AA684E90E4DA2FF71021CD5A6CA010443@XMB-RCD-101.cisco.com>
In-Reply-To: <a9994e940911011307s68679873m55136fa181fa35f0@mail.gmail.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [6lowapp] Proposed charter for 6LoWAPP BOF
Thread-Index: AcpbN2SkjlwspJbyTZirqCvBdnXNcQAPo7Rg
References: <B27B00F8-1A4F-4258-86FC-C02E78778E45@cisco.com> <184E130A-881A-4E1F-8408-FB03A7849A82@sensinode.com><CE5B892A-3699-4CBF-8B6A-588F5A7DE99A@cisco.com> <EB735931-0D15-4017-94F1-3B10A0EC814D@sensinode.com><843F0B9E-8C62-47A6-AFEC-4BE31D62CDB5@cisco.com> <2AA1E2A3-9EA9-4B94-85BA-834C66826A85@tzi.org><C93E77B9-349F-451C-BAED-273555EEE5DE@cisco.com> <a9994e940910291111r5523e6eer581313f8fee12cba@mail.gmail.com> <71DDE42E-E6D4-49D7-8F2E-699FBBDBAC12@cisco.com> <a9994e940911011307s68679873m55136fa181fa35f0@mail.gmail.com>
From: "Sanjay Sinha (sanjsinh)" <sanjsinh@cisco.com>
To: <arjun.lists@hsc.com>, "Cullen Jennings (fluffy)" <fluffy@cisco.com>
X-OriginalArrivalTime: 02 Nov 2009 04:56:19.0766 (UTC) FILETIME=[D135FD60:01CA5B78]
Cc: Don Sturek <donsturek@grid2home.com>, 6lowapp@ietf.org
Subject: Re: [6lowapp] Proposed charter for 6LoWAPP BOF
X-BeenThere: 6lowapp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Application protocols for constrained nodes and networks <6lowapp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6lowapp>
List-Post: <mailto:6lowapp@ietf.org>
List-Help: <mailto:6lowapp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Nov 2009 04:56:03 -0000

Are there any use cases which require session to be established between
the devices?

 

I am new to this community, but from the discussions that I have seen so
far, looks like most of the use cases require a request-response
transaction and not a session between two devices or groups of devices.
I am also not sure about real time properties that the applications in
this space will have, for which SIP can be used.

 

I would think that SIP event notification mechanism can be used for
things like monitoring the temperature, usage etc. 

 

I am not saying SIP can not be used and I do not have a very good
knowledge of use cases, but I think a starting point would be to come up
with some scenarios where session characteristics can be used.

 

Sanjay

 


 

 

From: 6lowapp-bounces@ietf.org [mailto:6lowapp-bounces@ietf.org] On
Behalf Of Arjun Roychowdhury
Sent: Monday, November 02, 2009 2:37 AM
To: Cullen Jennings (fluffy)
Cc: Don Sturek; 6lowapp@ietf.org
Subject: Re: [6lowapp] Proposed charter for 6LoWAPP BOF

 

 

On Sat, Oct 31, 2009 at 12:29 PM, Cullen Jennings <fluffy@cisco.com>
wrote:


On Oct 29, 2009, at 12:11 , Arjun Roychowdhury wrote:

In order of complexity...


1) simple set of fixed variables that could be controlled

2) a single flat list of dynamically changeable set of variables that
can can take on simple types (I might place IPFIX as being somewhat
close to this model)

3) a hierarchical list of variables that can be related (I'd place basic
usage SNMP roughly in this category but more advanced usage of SNMP
probably can do category 4)

4) a REST based approach (I'd place HTTP REST in this case)

5) a full RPC model (I'd place CORBA in this class)

Every use case I have seen so far could be solved by 3, 4, or 5. I think
most people have expressed an opinion that about 4 looks about the right
level of flexibility for this. So the questions is, if there is pretty
good agreement on that, then I think we should just roll with it as
tentative decision and see what it starts looking like as a design
evolves. As the design evolves, one may find this was a bogus choice and
need to revisit it. If you think there is a strong argument for 3 or 5
or even 1 or 2, lets get that info out on the list.

 

ARC> Right. If every use case can be solved by 4, and if an HTTP UA
stack is not an overkill for these devices, then I'd venture out to say
that if the need exists, then we should have a protocol that serves that
need. My argument is for something inbetween 4) and 5) - that is some
session oriented protocol, if one believes there will be sessions and an
offer answer needed. I mention SIP only because that is the one I know
well. I am not religious about SIP, but I am particular about a need. 

 

And now, here is why some of us are putting across the fact that at the
least SIP needs to be evaluated:

(And I know you are well aware of SIP yourself, but I am putting some of
these across for others who may not be)

 

a) Size/Performance: Simply put, if an HTTP UA is ok, then a
minimalistic SIP UA not being ok is highly suspect. I doubt folks making
this statement have actually evaluated how much a session oriented
protocol can be reduced when it comes to implementation. I've personally
worked on SIP UAs that compress to 30K or less. How much of features you
want to put in depends on the network. Given a network, you can feature
compromise. This entire argument of verbosity vs. optimization is
doubtful until you lay down specific #s that need to be met (and why
those #s exist)

 

b) Can SIP do everything HTTP can?: First, SIP can offer everything HTTP
can. Payloads? check. URI addressing schemes and REST based services.
Check. (http://myhome.com?remote=channel12 can be sip:remote@myhome.com
<mailto:sip%3Aremote@myhome.com> ;channel=12) etc.

 

c) What can SIP do better than HTTP?

c.1) Offer-Answer, capability, discovering the minimal feature set that
works between two or more devices

 

c.2) SIP works on more transport protocols than HTTP (yes, I am aware of
HTTP over UDP, but if we look at live deployments, almost all HTTP
systems use TCP. So if there is a communication needed from a non TCP
network to your HAN, welcome gateways. Almost all SIP deployments I know
of today do both TCP and UDP.)

 

c.3) Routing & Reachability: SIP's architecture of loose routing,
forking, etc. 

 

c.4) Concept of a 'session' & 'session control' - SIP establishes a
session between one or more devices. These sessions can be transferred
to any other entity if required, monitored, or modified.

 

Basically, SIP is  HTTP+Sessions and an architecture to manage sessions.

 

	1) what other protocols mapping should we do?

	
	2) Given some people want HTTP, can you live with the answer to
HTTP being yes and understanding that just because we said yes to HTTP
does not mean we are saying no to everything else?

	 

 

ARC> 1) SIP. 

2) Yes. 

 

-- 
Arjun Roychowdhury