Re: [pcp] Side-by-side or nested protocols (was Re: PANA implementatinos to consider)

Margaret Wasserman <margaretw42@gmail.com> Tue, 18 September 2012 10:50 UTC

Return-Path: <margaretw42@gmail.com>
X-Original-To: pcp@ietfa.amsl.com
Delivered-To: pcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B65A421F87D5 for <pcp@ietfa.amsl.com>; Tue, 18 Sep 2012 03:50:32 -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=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bmPoFF7wkMPA for <pcp@ietfa.amsl.com>; Tue, 18 Sep 2012 03:50:31 -0700 (PDT)
Received: from mail-qc0-f172.google.com (mail-qc0-f172.google.com [209.85.216.172]) by ietfa.amsl.com (Postfix) with ESMTP id 8660721F8794 for <pcp@ietf.org>; Tue, 18 Sep 2012 03:50:31 -0700 (PDT)
Received: by qcac10 with SMTP id c10so6158189qca.31 for <pcp@ietf.org>; Tue, 18 Sep 2012 03:50:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=EeVZiXHIeL1N/EO3910i1Xz7JpzXTUYjuNfsWTZ0BrU=; b=E16lUzQ/8kAheVrJ0xS6aYoDse2nrsQlLrC50LPoYGiPz7s9eOWhxqPyHjHi7hdVoe GVfv/E7DCA2C2kv18o/c14o52BfHIvgQGYG16rhykkNH7HXbpXwKj5PdMlVhkTwKKY9L oOuMfptEoS4oRpPAwN5WXCO90gc5b1d9NM/laeU5IQZDlgVojRd79iPd+KUSfstlMRYG SIJO5PLf3isr4ngAVPP/pNZRqn0Ru3CJ4Ohvt3XSlp8MHv4/8dLXT1bZRWU3aeSZNY/i DLN5lELW/xEfeJJA+ldgk1kCLtUkDhNerQU5On03YpJlWxDHmX2vP818vudSR5yIhm86 lHig==
Received: by 10.224.196.73 with SMTP id ef9mr657683qab.36.1347965429718; Tue, 18 Sep 2012 03:50:29 -0700 (PDT)
Received: from lilac-too.home (pool-71-184-79-25.bstnma.fios.verizon.net. [71.184.79.25]) by mx.google.com with ESMTPS id e5sm19049086qao.11.2012.09.18.03.50.26 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2012 03:50:28 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: Margaret Wasserman <margaretw42@gmail.com>
In-Reply-To: <6A210C2E-B490-47A2-B956-585EA078D22F@yegin.org>
Date: Tue, 18 Sep 2012 06:50:25 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <733EEA93-C216-4C1B-B38A-F8682188FA1A@gmail.com>
References: <CC7C594F.A2A9%repenno@cisco.com> <6A210C2E-B490-47A2-B956-585EA078D22F@yegin.org>
To: Alper Yegin <alper.yegin@yegin.org>
X-Mailer: Apple Mail (2.1084)
Cc: "'pcp@ietf.org'" <pcp@ietf.org>
Subject: Re: [pcp] Side-by-side or nested protocols (was Re: PANA implementatinos to consider)
X-BeenThere: pcp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: PCP wg discussion list <pcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pcp>, <mailto:pcp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/pcp>
List-Post: <mailto:pcp@ietf.org>
List-Help: <mailto:pcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pcp>, <mailto:pcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Sep 2012 10:50:32 -0000

Hi Alper,

On Sep 18, 2012, at 3:30 AM, Alper Yegin wrote:
> But more interestingly, you said you are not aware of any PANA implementations in production.
> As we said before, PANA is adopted into Zigbee Smart Energy Profile 2.0
> And it passed several interop events, with 10 implementations.

Do you actually think that any nodes that implement SEP 2.0 will implement PCP?

[For those unfamiliar with Zigbee SEP 2.0, it is one of the standards (the only IP-based one, I think) proposed for use in the Smart Grid, specifically for appliances, sensors and other embedded devices to integrate with a home energy management system (EMS) and/or electric meter (Smart Meter) on the in-home side of the Smart Energy universe.  Implementations of SEP 2.0 are most often provided in ASICs, for integration into embedded devices with very limited system requirements.  These devices run on a dedicated Zigbee networks within the home, and do not generally communicate outside the home, at all.]

> Yes, it could be tricky, if we had a funky relationship between the two protocols. But in this case, it's a clean separation. PCP needs keys to run, it triggers PANA to generate the keys, PANA does its job and gives back the keys, PCP runs with the keys. This is how separate "key management" works. Natural fit.

The success case in the side-by-side approach appears to work very smoothly, it is the error cases that I am more concerned about.  Also, you haven't explained how you would deal with all of the things you list below...  If PCP has a simple request/response API with PANA, how are things like "asynchronous requests" handled in that model?  What is an "asynchronous request" in this context and when/why would it happen, BTW?  I understand that, in PANA, it is possible for network access to be renegotiated, or for Ip addresses to be reallocated.  There is no equivalent notion in PCP, though.

> But, if we embed one protocol inside the other, then you have to combine the state machines. And that combining is not a simple jump back and forth like in the above case. More specifically, within the PCP state machine, now you have to account for server-side retransmissions, server-side asynchronous requests, etc.

You keep claiming that there will be problems with "combining the state machines" of PCP and PANA in the encapsulation case that aren't there in the side-by-side case, but I'm still not sure what you mean by this.  Could you give a concrete example?

>> PCP is capable of sending unsolicited messages (both multicast and
>> unicast). So, we are good here.
> 
> You are referring to "announcements" right?
> They are one-way notifications.
> What you need is a server-initiated, multi-round-trip req/rsp exchanges -- to have a working EAP lower-layer.

How do we get this in a model that you have described as:  "PCP needs keys to run, it triggers PANA to generate the keys, PANA does its job and gives back the keys, PCP runs with the keys. "  Won't this notion (of server-initiated messages) need to be integrated into the API between PCP and PANA somehow?  When would these messages ever happen in the PCP context?

Margaret