Re: [lisp] draft-ietf-lisp-lcaf-03 available for discussion (but not posted)

Dino Farinacci <farinacci@gmail.com> Tue, 10 September 2013 15:12 UTC

Return-Path: <farinacci@gmail.com>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 311AB21E80DF for <lisp@ietfa.amsl.com>; Tue, 10 Sep 2013 08:12:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 GYSelLC1rhOC for <lisp@ietfa.amsl.com>; Tue, 10 Sep 2013 08:12:01 -0700 (PDT)
Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 6DD2521F9D39 for <lisp@ietf.org>; Tue, 10 Sep 2013 08:12:01 -0700 (PDT)
Received: by mail-pd0-f175.google.com with SMTP id q10so7740364pdj.20 for <lisp@ietf.org>; Tue, 10 Sep 2013 08:12:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=bjlTjR5r+rslhQTFl0ujEryQwt2rIQjJalECSe5LwHg=; b=tSsMoCb86J89H/r43iwDOWXtwutAYPYYp8SDjsoOjIw3kmdudA4ucVQamxYvHLxtgy CJpdH30A8NAGHVWOuJDiF1bUB/P/KDw/gFDa0Lip8vc3t6dTp68xbDbPYHc+rDNe2N8O 1Behh+tuDuwaeyh2mQoBEGEHFWro8NWXG1Msbq3mOrpBzLEP8fJdwHmqe1ZWRtSg9yHs sTyOKg1XO3GZVSUFQV70ZdhI16OyhEjSaKgA92xdvQZ51smcO4ePdxw7YI7kMlQ+5DdF WjgAmlQcTtbaiw9+lT5ScZagWMOipwoYN0d3Hyff2fbHG+gTKCBl4BMr5Op+NwEjk98t qqgg==
X-Received: by 10.67.1.203 with SMTP id bi11mr10429012pad.137.1378825921023; Tue, 10 Sep 2013 08:12:01 -0700 (PDT)
Received: from [10.169.113.83] (71-6-80-11.static-ip.telepacific.net. [71.6.80.11]) by mx.google.com with ESMTPSA id xl3sm23616526pbb.17.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 08:12:00 -0700 (PDT)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Dino Farinacci <farinacci@gmail.com>
In-Reply-To: <522F34FC.1090504@joelhalpern.com>
Date: Tue, 10 Sep 2013 08:11:58 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <E7B9CE47-A31B-4FE4-9142-3F6C95DEB84C@gmail.com>
References: <2D469D0C-2E41-42C7-8907-7FADD8C39B53@gmail.com> <522ED89E.3050901@joelhalpern.com> <B4C01DEA-C7A9-4F8F-8FE6-CBFA73BBA7D9@gmail.com> <522F34FC.1090504@joelhalpern.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
X-Mailer: Apple Mail (2.1508)
Cc: David Meyer <dmm@1-4-5.net>, "lisp@ietf.org list" <lisp@ietf.org>
Subject: Re: [lisp] draft-ietf-lisp-lcaf-03 available for discussion (but not posted)
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: List for the discussion of the Locator/ID Separation Protocol <lisp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lisp>, <mailto:lisp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lisp>
List-Post: <mailto:lisp@ietf.org>
List-Help: <mailto:lisp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lisp>, <mailto:lisp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Sep 2013 15:12:02 -0000

> If I were writing these things, I would put the registration for each of those types in the companion document.  That way, a reader could judge the safety and utility of the proposed usage.  Otherwise, the registration itself is not understandable.

I found putting them in one document, as an implementor, was extremely useful. Because if I do multiple LCAF features, I want to see how the designs can work either side-by-side or integrated with each other. 

Here is an example. There is no reason that one leg of an RLE could not be an Explicit Locator Path.

> Asked backwards, why is there value in putting a bunch of IDs that are not needed in base implementation into a spec that does not explain what they are for?

The LCAF, in a coarse matter, describes what an LCAF coding could be used for. And the companion document goes into way more detail and precisely specs the operation.

Dino

> 
> Yours,
> Joel
> 
> On 9/10/13 11:01 AM, Dino Farinacci wrote:
>>> Speaking personally, I have some concerns about this.
>>> 
>>> I think my concerns can be lumped into two related categories.  Bother are about interoperability.
>>> 
>>> Firstly, I find the registration of LCAFs without any explanation of how or why they would be used to be awkward.  I know that some members of the WG like to have everything in one document.  But this is why we maintain
>> 
>> We have companion documents (that are not working group chartered documents). Here are some examples:
>> 
>> (1) The draft-ermagen-nat-travesal draft states how to use the NAT-Traversal LCAF type.
>> (2) The draft-farinacci-lisp-te draft states how to use the Explicit Locator Path (ELP) LCAF type.
>> (3) The draft-codas-lisp-re draft states how to use the Replication List Entry (RLE) LCAF type.
>> (4) The draft-ietf-lisp-ddt draft stats how to use the Security LCAF type for LISP-DDT-sec.
>> 
>>> registries.  Once we have defined LCAFs, it is quite sensible for documents which need LCAFs to add them to the registry, with the explanation of how and why the particular LCAF is beign defined.
>> 
>> So I would suspect that the JSON Data Model Type would have a companion document.
>> 
>>> Note that unlike base protocol mechanisms, the set of LCAFs is not something that all implementations need to understand.  A LISP implementation that is never going to do 5-tuple lookup does not need to know about LCAFs
>> 
>> Correct.
>> 
>>> that are designed to handle that.  And conversely defining new LCAFs ought in my view create an obligation for new behavior in all LISP devices.  (I don't think the authors intend that kind of obligation.)
>> 
>> This is generally true but I am finding more use-cases, where people just want to store data in the RLOC LCAF encoding for easier management and network-self-documentation.
>> 
>>> On a related note, I find very general LCAFs a cause for concern. Particular the JSON LCAF, which seems to allow the mapping system to reprogram the packet processing hardware on the fly seems excessive.  I understand it is
>> 
>> The LCAF document doesn't say how the JSON Data Model LCAF will be used so we can't assume it is for the case you state above.
>> 
>>> neat for experimentation.  But how does something injecting a JSON LCAF have a reasonable judgment about whether the ITR which will receive it will be able to implement the processing required?  If we are assuming particular deployment models, we need to describe that.  (Which leads to the question as to why it is in this document.)
>> 
>> What we have done in two cases for similar compatibility issues is this:
>> 
>> (1) For wanting to store Geo-Coordinates with RLOCs for ITRs that do not understand it, you encode the Geo-Coordinates LCAF type along with an AFI=1 or AFI=2 RLOC address in a AFI-List LCAF RLOC record. Then the ITR that doesn't understand the first AFI in the AFI-List (the Geo-Coordinate encoding), skips over it and goes to the next AFI in the AFI-List LCAF, where low and behold, there is an address it can encapsulate to.
>> 
>> (2) The above is done for ELP encodings too.
>> 
>> Dino
>> 
>>> I may be in the rough on these concerns.
>>> 
>>> Yours,
>>> Joel
>>> 
>>> On 9/10/13 12:35 AM, Dino Farinacci wrote:
>>>> Folks, I compiled all the input I received for updates to the LCAF draft. Find enclosed the updated draft and a diff file.
>>>> 
>>>> Deadline is tomorrow but we can have discussion before I post. So if there are any changes or comments, I can add them into the -03 draft. So I am not that worried about missing the deadline.
>>>> 
>>>> Changes include:
>>>> 
>>>> B.1.  Changes to draft-ietf-lisp-lcaf-03.txt
>>>> 
>>>>    o  Submitted September 2013.
>>>> 
>>>>    o  Updated references and author's affliations.
>>>> 
>>>>    o  Added Instance-ID to the Multicast Info Type so there is relative
>>>>       ease in parsing (S,G) entries within a VPN.
>>>> 
>>>>    o  Add port range encodings to the Application Data LCAF Type.
>>>> 
>>>>    o  Add a new JSON LCAF Type.
>>>> 
>>>>    o  Add Address Key/Value LCAF Type to allow attributes to be attached
>>>>       to an address.
>>>> 
>>>> Dino
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> lisp mailing list
>>>> lisp@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/lisp
>>>> 
>> 
>>