Re: [nvo3] Role of control plane in draft-dt-nvo3-encap-01

Tom Herbert <tom@herbertland.com> Thu, 18 May 2017 20:50 UTC

Return-Path: <tom@herbertland.com>
X-Original-To: nvo3@ietfa.amsl.com
Delivered-To: nvo3@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F5CA129C25 for <nvo3@ietfa.amsl.com>; Thu, 18 May 2017 13:50:09 -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=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.com
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 Dyz8Vohk0i7S for <nvo3@ietfa.amsl.com>; Thu, 18 May 2017 13:50:08 -0700 (PDT)
Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 759D012EB97 for <nvo3@ietf.org>; Thu, 18 May 2017 13:44:01 -0700 (PDT)
Received: by mail-qk0-x235.google.com with SMTP id a72so46300844qkj.2 for <nvo3@ietf.org>; Thu, 18 May 2017 13:44:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VdsEgz74rQWiPVmsqPCLXjpr2qlrW7jukGF1GtbcRDY=; b=rAr2mk5qwMpM+0nhmqb8ic1cZRrnDvQ3rmiLLehtrXj+frPCXmgS2mSgFS3JrjnRy6 tgvksbfZkGVAXa1jCFLiOihZ2mjhh1LMz/K+jGV91fpuKQleFSGxpT0JkCbqED0XqPED OqG+VQ70WcuuFkDmqv78ebrutS9LEqGIjyjq7FRtKJywcqchmAadCkXqa8U+k29bmvJk 5vr0+NrBrr+78Z6NCMPuHVGQkCE3dRK4nZCe8bAp5DXahbOFehiabs4GPDjtevfGvyrC 7+FChwE7K9Z/Ta6QYlf620j8iJoJK3R98h3AQ8LVmTv1BwffOtAfSB1Sp3q6le6faI4w pvdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VdsEgz74rQWiPVmsqPCLXjpr2qlrW7jukGF1GtbcRDY=; b=KJ3IjxI+weaps0JoeLPEjQgjOpKxASHKYzZ62Wcdt/Odl2Nue0gAfpvixOFrtfDN6I jV/wc/BPTm5246KknRz/TeM+qBxRERtDCgp51IeGS0SwoeQCZHhMFj1tvvHnMmt2C8yp DCzS3INPrkeKRftXoHodJxOBXr0RDq61EhQ4QA99uDJppnkdBgJ5I3AQBv5TAKOJgSWS xXao1J53ZQp8Qn+RwH1/R2NKfx51rIEkKlhHkt1We1nPGRycQHVWuEKa90tcumabEkxy YAHGRXiWbA4/DyvPU3aCsFlWJoAXxGf969lqz4ywNcyHsWj7mU4KFsYhGYm2DUfIqTHD QoAQ==
X-Gm-Message-State: AODbwcC/FuzBLwGhqLmV88qoNcLrLRFw6fLByX9zbilFkfXh1dfgxjuB maGmma9TykulBhEmOgRhPL/bSGk831Rq
X-Received: by 10.55.197.92 with SMTP id p89mr5448785qki.34.1495140240491; Thu, 18 May 2017 13:44:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.97.10 with HTTP; Thu, 18 May 2017 13:44:00 -0700 (PDT)
In-Reply-To: <7662c052-0bae-d409-c7bd-58f33797567d@acm.org>
References: <CALx6S35GXTSx=eiBrVqbDDYrkaE1syQhStLBgRGyAVKGPzzfUg@mail.gmail.com> <7662c052-0bae-d409-c7bd-58f33797567d@acm.org>
From: Tom Herbert <tom@herbertland.com>
Date: Thu, 18 May 2017 13:44:00 -0700
Message-ID: <CALx6S37QiGuDUnKsiJwani9oYm-5vGLTwP8jRnJ8ZFb1jHzQ-g@mail.gmail.com>
To: Erik Nordmark <nordmark@acm.org>
Cc: "nvo3@ietf.org" <nvo3@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nvo3/VCkkgnULa4pn-ANopzzDAAuJgGs>
Subject: Re: [nvo3] Role of control plane in draft-dt-nvo3-encap-01
X-BeenThere: nvo3@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Network Virtualization Overlays \(NVO3\) Working Group" <nvo3.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nvo3>, <mailto:nvo3-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nvo3/>
List-Post: <mailto:nvo3@ietf.org>
List-Help: <mailto:nvo3-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nvo3>, <mailto:nvo3-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 20:50:10 -0000

On Thu, May 18, 2017 at 10:03 AM, Erik Nordmark <nordmark@acm.org> wrote:
>
> Tom,
>
> I'm trying to make sure we capture the discussion about the control plane
> accurately.
>
> On 04/15/2017 03:19 PM, Tom Herbert wrote:
>>
>> - I do not believe this is at all plausible. 1) This could only help
>> the endpoints and not intermediate devices. As point out two sentences
>> below transit nodes may need to process extensions. 2) This creates an
>> a dependency between data plane and control plane that is at odds with
>> the requirement for control plane independence (section 2.1 of Geneve
>> draft) 3) This would entail a serious design and implementation effort
>> that would likely only be ready long after the dataplane has been
>> deployed. 4) This creates new problems for interoperability, for
>> instance two devices could support same set of options but can't
>> interoperate because they need different orderings.
>
>
> First of all, the intermediate devices would always have a harder time,
> especially as they might be of an older vintage than the NVEs; the classical
> ossification problem caused by things in the middle.
>
> The draft suggests
>    The Geneve draft could specify that the subset and order of option
>    TLVs should be configurable for each remote NVE in the absence of a
>    protocol control plane.
> thus there is a way to get this off the ground.
>
> I don't think it would be hard to specify how this is carried in an IETF
> standard control plane such as EVPN.
>
> Note that there are two places where the control plane can help.
> 1. The egress NVE only needing to deal with the subset of the defined
> extensions that it implements.
> 2. The egress NVE being able to control the order of the extensions in the
> packet.
>
> Are your concerns only about the second?
>
It's not clear to me how negotiated ordering helps, nor how to resolve
conflicting ordering constraints between to nodes: e.g. for options
A,B,C I might want to send them in order ABC, but maybe you can only
receive them as CBA. Who wins?

> I think for concerns about the amount of headers the hardware can parse, the
> first one is the key one. And it also handles the somewhat esoteric case of
> an egress NVE only supporting one extension.
>
> Thus if the WG thinks the ordering (for egress NVEs which support two or
> more extensions) is not important then WG can remove the ordering part while
> keeping the subset part.
>
It always makes sense to send the minimal amount of information and no
more, but endpoint negotiation doesn't take intermediate nodes into
account and they might drop packets if their parsing buffer is
exceeded. This is a generic problem that is not specific to
encapsulation, for instance extension headers can push things over the
limit. To that end I proposed a "Headers too long" ICMP error in 6man
to provide a feedback signal.

Tom

>    Erik
>
>
>
>