[Idr] How is AS path length calculated? Issue#35

Mahesh Jethanandani <mjethanandani@gmail.com> Tue, 10 December 2019 23:03 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C93EB1200F5 for <idr@ietfa.amsl.com>; Tue, 10 Dec 2019 15:03:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.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 Lrx0CFNL0GwF for <idr@ietfa.amsl.com>; Tue, 10 Dec 2019 15:03:17 -0800 (PST)
Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) (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 F2135120059 for <idr@ietf.org>; Tue, 10 Dec 2019 15:03:16 -0800 (PST)
Received: by mail-pf1-x430.google.com with SMTP id 2so609106pfg.12 for <idr@ietf.org>; Tue, 10 Dec 2019 15:03:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=7SMLPjdgtaZcTVqngq4B1oxgoWlU2gNaCK1ELYnrQNE=; b=FfSebYyajNQ53MS/EvvtcWJOdAyQm3mBmBUVgF5pS7OiIExyDNd1ZvoFCKX3qCLF6p AiQr7O15u+HwYGhJHIetq/0p7mWabI8qNGRcaPygMl8hA+KKaLKSwbvqmPHJ2oCaLKT5 pYmBqgeeIyRv8YBhazx9UQ20nHHgD4O/oPKia65cGrXdPvX981bi31zvZRfm2NVZgAef GAcjDtaer5mKStwx4y8NtisI5y7vTYUK2a1YEK6uulekkTWt59Mmuyx9HOlzY+JDJMsJ Rh5JLQ00RWXvBmXVmnLpKeRUDhDBnHHdKNLk72J3Zb2Tm4rhAClimBTIdGPoF2BAiQU3 bCTA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=7SMLPjdgtaZcTVqngq4B1oxgoWlU2gNaCK1ELYnrQNE=; b=WL6U2uI5bf7CMjEo8i8D47NpZOkHAX2I7lhxoTY3oziYT4MmhQoaaxuMeAJEe1dqr8 wydXGIzrqcm3pOGVtb8WmCo3HbO8s4yXLmL8C7avg5pMtnSbCMDBqTaoL/ASFP3I0Zrs O55qOMQGAJpCM8uRu9jNfclcLzEeDX5lLucj3K4JjihrlG9GcrGwkpjEtPWyUnX0Ug1w kdHEpODE0M3rEfqZ2M86WNtycW9+in0Umgl4sgljuGAT8QaeprGyZUdMeSxsy62AhmUn Db2/U10M0yf1eHndTrw93sr3iphsyA0WNtoBb9Q9gEvV7MKp0Wvhrq2f3yHb4/dJCsXR 5qSw==
X-Gm-Message-State: APjAAAWnd2aQVfl8N/EIlCAupTlOlSSJerwM6EW5NRisBiguDvLNnA83 JrLGuA187HLxHcbJmZdZ0ENRUDzC
X-Google-Smtp-Source: APXvYqxdqmoEaCyBR5HNnUor74ZUTrJ0PpE3y2UoLFbb/7EXS2kYptE3E5CRpk2AceDbTPT4LEOEkw==
X-Received: by 2002:a65:590f:: with SMTP id f15mr555268pgu.381.1576018995244; Tue, 10 Dec 2019 15:03:15 -0800 (PST)
Received: from [10.33.123.64] ([66.170.99.1]) by smtp.gmail.com with ESMTPSA id x4sm96572pfx.68.2019.12.10.15.03.14 for <idr@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Dec 2019 15:03:14 -0800 (PST)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_1389F78C-BDA4-46B1-96E3-4109BF001BF7"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Message-Id: <B7DE4824-A7B8-4F97-9A70-E36B66B8CD7E@gmail.com>
Date: Tue, 10 Dec 2019 15:03:13 -0800
To: idr@ietf.org
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/-DDjh-scN3TlLfUwAFVavDtXvHY>
Subject: [Idr] How is AS path length calculated? Issue#35
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Dec 2019 23:03:19 -0000

This, and series of follow-up e-mail, one each for issues discussed in IETF 106, will summarize the issues discussed there, w.r.t. to the BGP YANG model for Service Provider Network <https://tools.ietf.org/html/draft-ietf-idr-bgp-model-07>. I will also suggest a solution. Unless an objection is heard, the suggested solution will be deemed appropriate to implement in the YANG model. The issue is also documented here <https://github.com/mjethanandani/ietf-bgp-yang/issues/35>, in case you want to comment it there.

On the question of how is AS path length calculated, we proposed that calculated AS_PATH length for route SHALL follow RFC 4271 rules. It will let the user see the number that serves as input to BGP route selection. 

Unless an objection is received, that is what will be documented in the model.

Thanks.

Mahesh Jethanandani
mjethanandani@gmail.com