Re: [lisp] Capabilities Type LCAF - a proposal

Damien Saucez <damien.saucez@gmail.com> Wed, 20 November 2013 07:49 UTC

Return-Path: <damien.saucez@gmail.com>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 50F4E1AC49D for <lisp@ietfa.amsl.com>; Tue, 19 Nov 2013 23:49:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.65
X-Spam-Level:
X-Spam-Status: No, score=-1.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HELO_EQ_FR=0.35, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W-A46UEA-X4a for <lisp@ietfa.amsl.com>; Tue, 19 Nov 2013 23:49:03 -0800 (PST)
Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) by ietfa.amsl.com (Postfix) with ESMTP id 444601AC4A5 for <lisp@ietf.org>; Tue, 19 Nov 2013 23:49:03 -0800 (PST)
Received: by mail-wg0-f45.google.com with SMTP id a1so8765284wgh.0 for <lisp@ietf.org>; Tue, 19 Nov 2013 23:48:56 -0800 (PST)
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=BsTVCPRkq7zMQOeBqJnSQZldNj92z7KiFQPAbtUNwyw=; b=baqcjUUEo8Z6mdSbGpFs8qjfj3SSYzhilDhujEXloIf+mWrrXyuTLKe6Mc5aMmH99n i+NPxh+18Un2/WGu76LF1bC+icDScTD8+TRwGXkWDoMPrjYN85HRQ41m11FHCLMF7f1k cpnRzOShegEjUJ/mz1HTbE5bZvVNAOJ08s+7+FikutqZaMsWGsiRIJRiWSGSJpKSNNa7 b1nhSH0JJb4fQUjQPM0KFMAj8h/JRHzTMrB6o4apQOVxST7/iUvxY+kkWN+tLcWXhv3N ZpLQWfxJM906rQxqXIaP9j0my9CfKaYijkSXzxaVCkKFfjG7WDRmHvlP1t972bigiyIi 8IRg==
X-Received: by 10.180.24.6 with SMTP id q6mr24465502wif.0.1384933736371; Tue, 19 Nov 2013 23:48:56 -0800 (PST)
Received: from faucon.inria.fr (faucon.inria.fr. [138.96.201.73]) by mx.google.com with ESMTPSA id dz5sm13488144wib.7.2013.11.19.23.48.55 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Nov 2013 23:48:55 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\))
From: Damien Saucez <damien.saucez@gmail.com>
In-Reply-To: <5FB6E5C2-AF6A-415A-8DE4-5958961A6661@gmail.com>
Date: Wed, 20 Nov 2013 08:48:55 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <E54F2FC1-8A5B-4445-886A-3EEC6AC71B40@gmail.com>
References: <5FB6E5C2-AF6A-415A-8DE4-5958961A6661@gmail.com>
To: Dino Farinacci <farinacci@gmail.com>
X-Mailer: Apple Mail (2.1822)
Cc: LISP mailing list list <lisp@ietf.org>
Subject: Re: [lisp] Capabilities Type LCAF - a proposal
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 20 Nov 2013 07:49:05 -0000

Dino,

Sorry for the delay, I see this proposition just now.

Do you propose this capability in the context of VPN and/or NSC?

I would have a question, if there is capability, it means that there
is a possibility to meet no capability so in this case what is
replied?  An record with 0 locators?  no answer?  a special answer
saying "bad luck no match for the capability"?  If 0 locators then it
is a negative reply but conceptually this is not a negative reply.  If
no answer, then the requester will keep continuing sending requests.
If a new message, what kind of message?

Thanks,

Damien Saucez

On 12 Sep 2013, at 20:29, Dino Farinacci <farinacci@gmail.com> wrote:

> So wouldn't be useful if an ITR which sends a Map-Request to the mapping system, could say "I know Mr. ETR that you have registered a bunch of stuff to the mapping system, but can you return just the stuff I care about and more importantly the stuff I support in my implementation?".
> 
> So I was thinking (and talking to several others about this), if we could have a Capabilities Type LCAF that is encoded in an address field of the Map-Request. I would like to propose that it get encoded in the ITR-RLOCs field of a Map-Request. This way, each ITR in the ITR-RLOCs list could tell a Map-Replier what they support.
> 
> I would propose that the Capabilities Type LCAF be encoded as a bit-string. Where each bit position indicates the LCAF Type value. We would have 2 fields, an EID field and a RLOC field so it can be conveyed which Types are supported for EID encoded fields or RLOC encoded fields in any LISP control message.
> 
> It would be required of every implementation to support the Capabilities Type LCAF if nothing else would be supported. That would get the implementations to do the general parsing work so they could skip over LCAFs they don't understand and get to the ones they do understand while conveying what they support.
> 
> Also I find that this may be useful for this world of multiple encapsulations. Rather than register UDP port numbers, a decapsulator could convey what encapsulations it supports (i.e. L3-LISP, L2-LISP, VXLAN, NVGRE, IPsec, GRE, whatever-new-thing-nv03-comes-up-with).
> 
> The Capabilities Type LCAF could also be used by the mapping system. So when an ETR sends an Info-Request, an Info-Reply from the map-server could tell the registering system what LCAFs it supported. Ditto, for asking map-resolvers what types of EID encodings they could support (maybe the mapping system can support more LCAF encodings then the map-resolvers, so you can choose a different map-resolver if you wanted more).
> 
> And arguably, the Capabilities Type LCAF could be put in RLOC-probes. It could go anywhere with the address you wanted to encode as a 2-tuple.
> 
> Comments?
> 
> If people are interested I can draft up the details for the -03 version. Or if you think we should post the -03 version just with the current changes, I can do that. And also comment if you think we should go with the JSON Data Model Type for -03 or put it into -04 with perhaps this Capabilities LCAF.
> 
> Thanks,
> Dino
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp