Re: [Bgp-autoconf] Short comparison of the different documents.

Warren Kumari <warren@kumari.net> Wed, 04 March 2020 22:50 UTC

Return-Path: <warren@kumari.net>
X-Original-To: bgp-autoconf@ietfa.amsl.com
Delivered-To: bgp-autoconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 68D3B3A0B27 for <bgp-autoconf@ietfa.amsl.com>; Wed, 4 Mar 2020 14:50:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=kumari-net.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 qlMxTNwwxiHb for <bgp-autoconf@ietfa.amsl.com>; Wed, 4 Mar 2020 14:50:56 -0800 (PST)
Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (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 77B733A0B25 for <bgp-autoconf@ietf.org>; Wed, 4 Mar 2020 14:50:56 -0800 (PST)
Received: by mail-qk1-x72d.google.com with SMTP id e11so3403814qkg.9 for <bgp-autoconf@ietf.org>; Wed, 04 Mar 2020 14:50:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kumari-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1Ikl6ROtwNr/RVjyD5nUZQsMpnRjgiETYhjbOksOT5M=; b=EZlD4alJxZSJ11Pdd9r9ctNmb0gV4xzgVXRL2QAx5YDni6qVjjStZuLoE4FwfmXotO FI+tz3lxrZHiJ3I8AI/AcfQXbC2xA1UyXrS6L6LxU124DQsgTq751jLGrO26mC4mN8C+ lIBatWoGLkrZ4RK1zSVGdGAMjnIJZ7C3kJOVNr3ah/1pTKU5YfyjisWLdA1c0bVL/vsT nVVB2REYSnujP6ipgH+kiwMaRHlNplG11R1dWHetERLGCqKBgvrVhWXEyOk9+17cQhQx N3wpp5fyc72fvE15tgWAp8UBbJXTTYTMBOO6CBt9g7XU+V2DEMQMDORzu3nZb7Nyj8+u Ga7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1Ikl6ROtwNr/RVjyD5nUZQsMpnRjgiETYhjbOksOT5M=; b=EqjYex4hcLcGru1BE97DE8o6q7hAjEruhpprST2J8+JmTOlbNbelu/cLUB/KErfoaI U9deACsysMh4llM53ccEXJT9kNF9JswFtO2UgcaPLi0/0YPVv0RPOyUNGSH+mJpdvVA1 Y6tq9fwMQosbCjZsBXEFnXbHySfM/SRUkU8YlqlKRZOd8zFRNm0YxyJvVX5JOxV0iXKe qyC0t+slYQKXosr3pdSav3rnUu+Pr3fYwRP2Q+6kS6o9WTgFAoZ1FHfBIaaHB7kq4lUu B5gnhqKRCJ5waZlwlWXJb5VthjlxulIorel6iPmW1HCh9YTTgjpok/HFu/GoFpLRpcW+ UeVg==
X-Gm-Message-State: ANhLgQ0uRUA5hLXohuT8kgpnfPDlDtb4alYR3rvHgf6oKBYLZDG4jCvw VLf/WItngdaLDHdyHkta99+6qczo6AoMMNssCW1RX7bX36U=
X-Google-Smtp-Source: ADFU+vubZNbGdGu5RhHcJiD0Sobx8Iz4QUwQ7wzT+nnFlTv++DmWWnABQLfASqHdNaQhHfdnOwbmrxQtfDm9MBoBIM8=
X-Received: by 2002:a37:9047:: with SMTP id s68mr5334164qkd.63.1583362255150; Wed, 04 Mar 2020 14:50:55 -0800 (PST)
MIME-Version: 1.0
References: <CAHw9_i+0rDUJOR3mAMAh9+whaKX0Koc_VaibbfX1zRzocOAvhw@mail.gmail.com> <20200304220727.GC32422@pfrc.org>
In-Reply-To: <20200304220727.GC32422@pfrc.org>
From: Warren Kumari <warren@kumari.net>
Date: Wed, 04 Mar 2020 17:50:18 -0500
Message-ID: <CAHw9_iKxEQggCY2C6Dd44SXreWJpX4q5gA3ziYSJHUENRMjZAw@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: bgp-autoconf@ietf.org
Content-Type: multipart/alternative; boundary="000000000000c4f79b05a00f4026"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bgp-autoconf/2pGTUh7KiXdHGSiTZEY1ic7XSiw>
Subject: Re: [Bgp-autoconf] Short comparison of the different documents.
X-BeenThere: bgp-autoconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP autoconfiguration design team discussion list <bgp-autoconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bgp-autoconf>, <mailto:bgp-autoconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bgp-autoconf/>
List-Post: <mailto:bgp-autoconf@ietf.org>
List-Help: <mailto:bgp-autoconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bgp-autoconf>, <mailto:bgp-autoconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Mar 2020 22:50:58 -0000

On Wed, Mar 4, 2020 at 5:01 PM Jeffrey Haas <jhaas@pfrc.org> wrote:

> Warren,
>
> On Sat, Feb 29, 2020 at 03:52:14PM -0500, Warren Kumari wrote:
> > 4: BGP LLDP Peer Discovery - draft-acee-idr-lldp-peer-discovery
> > ------------------
> > This seems like a very good option to me -- LLDP is a well-known, well
> > implemented protocol. It also already carries information which solves
> > much of the "auditability" (are the cables right?) use-case.
> > I am concerned about the possible message size limits
>
> The size consideration is valid.  It does mean that if we end up with a
> large bit of configuration blob that baseline LLDP is no longer suitable.
>
> There is work going on in IEEE that will permit larger stuff for LLDP.
> But for purposes of our analysis I don't think we are specifically hung up
> on that expectation.
>

What I'm not sure about is if it is acceptable for a device to send
multiple LLDP messages - I've even read some of the 802.1AB spec to try
figure this out -- Section "9.1.3 Frame reception" seems to imply that new
information replaces old information, but I didn't explicitly see something
saying that this (wildly hacky) option is not allowed.
So, perhaps we could send out one LLDP packet with: Peering Address, Local
AS, BGP Identifier,  Session Group-ID, Session Capabilities, Key Chain
Name  ... keep adding things till you hit ~1400bytes.
and then a second LLDP packet with Local Address, Recursive Routes,
Favorite Cookie Types, Chassis ID, Port ID, System Name, etc.

If the "normal" LLDP stuff gets carried in the second PDU, it would be the
one that is displayed in CLI, etc. I suspect that this really is uglier
than we want to contemplate, but I'd be interested to know if it is
"allowed"




>
> > The document does still need work -  e.g it talks about Session
> > Group-IDs, but is very handwavey about what they are / what you do
> > with them.
>
> This was intentional. :-)  Much like "color" or "tag" or "community", we
> have situations where we want to tag a bit of discovery in a way that
> flexibly allows the deployment to decide what things mean.
>
> Easy examples of this was role in a switching fabric.
>

Fair -- but I think that it would be useful to better document that --
currently it just says: "Session Group-ID Sub-TLV is an opaque 4-octet value
that is used to represent a category of BGP session that is supported on
the interface."
Adding some text saying that operators can define whatever the hell they
would like in here - also, can I have multiple of these? I currently "tag"
routes with all sorts of communities, I might like to be able to annotate
that this is an External Facing, Spine, Managed node. I could encode that
into 3 of the 4 bytes, but I might prefer to attach 3 separate Session
Group-IDs


>
> I think for purposes of our analysis, the property I'd prefer to highlight
> is that discovery information may carry a way of marking that information
> for purposes of letting listeners do something useful.  This markup may
> carry non-standardized code points.  We may wish to design standardized
> code
> points as well for specific profiles, for example fabrics.
>

Yup, fair.

Thank you for the explanation,

W



>
> -- Jeff
>


-- 
I don't think the execution is relevant when it was obviously a bad idea in
the first place.
This is like putting rabid weasels in your pants, and later expressing
regret at having chosen those particular rabid weasels and that pair of
pants.
   ---maf