Re: [Lsvr] AD Review of draft-ietf-lsvr-bgp-spf-11.txt

Alvaro Retana <aretana.ietf@gmail.com> Wed, 08 February 2023 13:00 UTC

Return-Path: <aretana.ietf@gmail.com>
X-Original-To: lsvr@ietfa.amsl.com
Delivered-To: lsvr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 376BBC1524C8; Wed, 8 Feb 2023 05:00:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wkj8WzEFEoww; Wed, 8 Feb 2023 05:00:04 -0800 (PST)
Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B7A2EC1516F3; Wed, 8 Feb 2023 05:00:04 -0800 (PST)
Received: by mail-pj1-x102b.google.com with SMTP id bx22so15398823pjb.3; Wed, 08 Feb 2023 05:00:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=rE0rmzBbiXN086+71YV9XucSf6KCZpDcNMsD0ZnXdZ0=; b=ga5fuohLotReUt1ajyN+IpdV64opWgG8m+UkvIPTlEBtEVc6w3VQ542xKglBxLMH/A WfOoPHyz8J9mFFTykonOFamuG2VQBQsbLv8493ISCpISt8ZJk5ACSLSedT524k7YqEWn 68qepUCvlW/mA80doVBD1/XztlcFnzKiEfm8KY6EI67WbklSncV6nnALk+VyaddEDtx4 HVItZUuxBmO5AZGJyoFfMk93u4TKCxbq6TKLdCeT5V0/6AH4sxNfYOwY7BM1ssqF6kPT z7SCqZGJkiKmgmqkQ5ay6VvwDJXB/xFE75BZPqfbnHgKeF+ezUeSUl0dgU4W7aMiE77Q EJDg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=rE0rmzBbiXN086+71YV9XucSf6KCZpDcNMsD0ZnXdZ0=; b=W6Vqhewa2MSYHLJI/Ktm/GW7FryR/dOS0cNqYPba1WHJB/RRbW0kuDfyX/gcSv8Xfw Z0kElOBVSk9kTE8MDzji8G9u16MnKAoB9dmvyGyoZmByK2ZdbdMRet0RXkrdgFd2QA4P hIGl4lw/P4YFKab12ZODspf+NSZaQ+B8p75HLvZoHEvRb2HigdqAxdRkATtWcQDPTMf0 4zSQ8jL+KcM7Q4JqLguKv/02UfbPyGltQh7xdblQaljCi/4eo5b3kBdLXYwjIpPcIU0p oNyAOZ08uAQDSXJrjML9gIp/sLkiiOArWupuSpVzDsLDfEJT9MzQcNXupT82sarVHc6+ kwBw==
X-Gm-Message-State: AO0yUKXx8DFjL9SQ0g9+K+b2lPfmTX5Q2H0SYyP8u1VegCDk5bF0sXo6 Pe36YP7IC0/p0JcmxQ597dC42L9dpJdk3ut0jgw=
X-Google-Smtp-Source: AK7set8fdtg/S7YeQMXiugrW39PoFp6RBUyuJrGRlokUhzeQsSeF3N9Q09XIqphEe1vpJlezdqMxyZRtqMC+pWodSxk=
X-Received: by 2002:a17:903:41c9:b0:199:642:1c2c with SMTP id u9-20020a17090341c900b0019906421c2cmr1803053ple.33.1675861203994; Wed, 08 Feb 2023 05:00:03 -0800 (PST)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Wed, 8 Feb 2023 07:00:02 -0600
From: Alvaro Retana <aretana.ietf@gmail.com>
In-Reply-To: <F1DFEA4B-600C-4989-AA84-F81AAF3BD19B@cisco.com>
References: <F1DFEA4B-600C-4989-AA84-F81AAF3BD19B@cisco.com>
MIME-Version: 1.0
Date: Wed, 08 Feb 2023 07:00:02 -0600
Message-ID: <CAMMESsxTfAnhEKsm63THP9e9+JxEsJ3j1qgUCE_AJKatddv6qg@mail.gmail.com>
To: Acee Lindem <acee.ietf@gmail.com>
Cc: "draft-ietf-lsvr-bgp-spf@ietf.org" <draft-ietf-lsvr-bgp-spf@ietf.org>, "lsvr@ietf.org" <lsvr@ietf.org>, lsvr-chairs@ietf.org, Victor Kuarsingh <victor@jvknet.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsvr/yDq4Ltl3XwWeAjuYD1f88q-oWK4>
Subject: Re: [Lsvr] AD Review of draft-ietf-lsvr-bgp-spf-11.txt
X-BeenThere: lsvr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Link State Vector Routing <lsvr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsvr>, <mailto:lsvr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsvr/>
List-Post: <mailto:lsvr@ietf.org>
List-Help: <mailto:lsvr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsvr>, <mailto:lsvr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Feb 2023 13:00:05 -0000

On February 15, 2021 at 10:55:53 AM, Acee Lindem wrote:

Acee:

Hi!

I started looking at the latest version (-18).

Instead of going through this whole message and the diffs, I think it
might be better for everyone to send out bite-size comments/answers.
Here's the first one (it only covers the items you highlighted for WG
discussion).

Thanks!

Alvaro.




> Thank you for your extensive review and comments. Now that the document
> is back in the WG, we have couple things to discuss in the WG:

I didn't see much discussion in the WG.  I'm making some comments here
in case anyone looks...



> 1. NLRI packing - Well it is almost implied, I think we need to
> limit a BGP Update to a single NLRI and BGP-LS Attribute.

>From §5.1.1 (BGP-LS-SPF NLRI TLVs):

   Given that there is a single BGP-LS Attribute for all the BGP-LS-SPF
   NLRI in a BGP Update, Section 3.3, [RFC7752], a BGP Update will
   normally contain a single BGP-LS-SPF NLRI since advertising multiple
   NLRI would imply identical attributes.

This is not a limit, as you suggested above.  FWIW, it seems to me
that the reasoning implies that setting a limit is not necessary
because it will happen naturally.



> 2. Initial synchronization - we need to discuss this in the draft
> and potentially add an option to require this, such as the IS-IS
> suppress adjacency option. I don't think we'd want to require
> this as it would limit deployment.

I didn't find anything about this in -18.

Thinking out loud.  The End-of-RIB marker from rfc4724 could be used
as a default behavior in BGP SPF (for this specific SAFI) without a
Capability.  I know that Graceful Restart is not supported -- the
suggestion is to only use the End-of-RIB marker part of rfc4724.



> 3. NEXT_HOP requiremeent - We now say we are following RFC 4760.
> However, we need to be sure we are consistent throughout.

I'll keep an eye out for that.



> 4. Single session requirement for BGP-LS. Right now we don't
> prevent this.

As with BGP-LS, it would be nice if you (at least) RECOMMENDED it.
Given the peering models and that they don't map to "normal" BGP
deployments, it would be nice to have that separation.

This is the related text from rfc7752bis (especially the last sentence):

   Distribution of the BGP-LS NLRIs SHOULD be handled by dedicated route
   reflectors in most deployments providing a level of isolation and
   fault containment between different BGP address families.  In the
   event of dedicated route reflectors not being available, other
   alternate mechanisms like separation of BGP instances or separate BGP
   sessions (e.g. using different addresses for peering) for Link-State
   information distribution SHOULD be used.

As you mention, any peering configuration is ok, nothing is prevented.

BTW, I noticed that you borrowed the "AFI/SAFI disable" text from
rfc7752bis; §7.2 now reads:

   ...
   such malformed NLRIs as 'Treat-as-withdraw'. In other cases, where
   the error in the NLRI encoding results in the inability to process
   the BGP update message (e.g., length related encoding errors), then
   the router SHOULD handle such malformed NLRIs as 'AFI/SAFI disable'
   when other AFI/SAFI besides BGP-LS are being advertised over the same
   session. Alternately, the router MUST perform 'session reset' when
   the session is only being used for BGP-LS-SPF or when its 'AFI/SAFI
   disable' action is not possible.

The recommendation above (for a separate BGP-LS-SPF session) would be
a good follow up to this too.