Re: [Lsvr] Need clarification on IGP-Metric TLV for LS Link Attributes in BGP-SPF deployments

"Acee Lindem (acee)" <acee@cisco.com> Fri, 20 March 2020 18:40 UTC

Return-Path: <acee@cisco.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 CC05B3A0D7C; Fri, 20 Mar 2020 11:40:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.597
X-Spam-Level:
X-Spam-Status: No, score=-9.597 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=US8Lippi; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=A8bt7Iy3
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 p4Jkd3UoBZxM; Fri, 20 Mar 2020 11:40:18 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 261FD3A0DC6; Fri, 20 Mar 2020 11:40:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=18059; q=dns/txt; s=iport; t=1584729617; x=1585939217; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=ezvKzfN2pdGWlLeB8j/RYXTFpvc4+kbN/Ds7XB5NY4w=; b=US8LippifLlTRrkENndEWVq6BPVyKbwDBOs7qHCmFLYzIaCZrNnNko0V RY1sc/KwthGf9mLL6dxsU4QoZrWiKgKTUuBxO4oecsXMBdnnTW28Y+f3I /PyCDPOEpodCl9h80lyQcTGfD0VXiodNslMpsK6gKvb/Di4h4Rs4cQhHJ E=;
IronPort-PHdr: 9a23:eC3W+RchD503z+VATH4XbvlYlGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwKUD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFlcejNkO2QkpAcqLE0r+effhYiESF8VZX1gj9Ha+YgBY
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CABwCvDXVe/4kNJK1mHAEBAQEBBwEBEQEEBAEBgXuBJS8kLAVsWCAECyqEGINFA4pwgjoliWqJUIRiglIDVAkBAQEMAQEtAgQBAYREAheCDSQ4EwIDAQELAQEFAQEBAgEFBG2FVgyFYwEBAQEDEhEdAQElEgEPAgEIEQMBAisCAgIfER0IAgQBDQUigwQBgX5NAy4BohcCgTmIYnWBMoJ/AQEFhR4NC4IMCYE4jC8aggCBECgMFIIfLj6CG4JHCQaCazKCLJBzhXeYazJECoI8kkKEPB2CS5kKjwqBT4lskCsCBAIEBQIOAQEFgWkigVhwFWUBgkFQGA2OHQkaFYM7ilV0gSmNaQEB
X-IronPort-AV: E=Sophos;i="5.72,285,1580774400"; d="scan'208,217";a="744661002"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 20 Mar 2020 18:40:12 +0000
Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by alln-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 02KIeCrO002854 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 20 Mar 2020 18:40:12 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 20 Mar 2020 13:40:11 -0500
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 20 Mar 2020 13:40:11 -0500
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 20 Mar 2020 13:40:11 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R7oJjOWHvYelkkPpGLxG2Bv5ny9RvExMr3thGH+i5RFOW2w9ml2kfSoRsRAJNmIlAIhCQGd+Gm7G9GtdSTWYcDGrHYz9ka/x7Ok7U0JMDDt/9Cme5sY/lruTNVpGIyycnuwoSsjEVGGF/krgbrAmn7l6NR0XBIoXrMggAOEozk+S1fENh3GT7uALwvDYVziU3hoFvegCuKJScUFDR+1tJEmsG0XfwiwLhLHQKgZzTR1y/duT/Mpv4p+R0bZcTPoMuvRw6Sqt3DPffB6pNkKUg6uUEVyZWTjpBXVkMMlsBogQo/zR+ZC7j1pKgO8v9YNB6hOXpAxcfxokdDAYTEiQlQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;bh=ezvKzfN2pdGWlLeB8j/RYXTFpvc4+kbN/Ds7XB5NY4w=; b=K3xD9WVF4gr6qxE3B5xxXTIe4WF0r9oyV+N2E35cyBtc76292rVNIdWTflbzggqSPHCWimMgGQIN7L2ITgFvppyDgcjc5tYnc6o0OiexvIMYqpytjEbWoMaN7lqaKB3987CYXNwnP5rSI00XyfWWgSZiTVnYFGa/tBeiGCAOmR5gBOYirbnA7vtMfjgks+ONB69GM/fXALChPj2pAcdb7G+5vNVn/4RLmAM8G7URWvT/HAdxhecVI0Ywba401X51EC7QEcPwFY7Elw9kV7hsKdQ9XtVt+Orn3hKkC83urAo8Eek1JkVrJjc3gIpXhbROdokkrYEhq/thQGbG0rMWDg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ezvKzfN2pdGWlLeB8j/RYXTFpvc4+kbN/Ds7XB5NY4w=; b=A8bt7Iy3YxK03f9GrjtgChURYon0JEhmic24yiJ8ig8UEA3ThKDtlCgCb14FukQP0g+B+efQ07bxmtnrLNpM9SOpRC+wckZfzwqB/qkqZhMjrY9e94uuce6Iu99VnLsA6f3UXy04drPCIFVF/EFrro9tE4jydIuywOh+yZikRug=
Received: from BN8PR11MB3794.namprd11.prod.outlook.com (2603:10b6:408:8f::13) by BN8PR11MB3668.namprd11.prod.outlook.com (2603:10b6:408:81::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.18; Fri, 20 Mar 2020 18:40:10 +0000
Received: from BN8PR11MB3794.namprd11.prod.outlook.com ([fe80::55b2:c415:675f:5fb7]) by BN8PR11MB3794.namprd11.prod.outlook.com ([fe80::55b2:c415:675f:5fb7%3]) with mapi id 15.20.2835.017; Fri, 20 Mar 2020 18:40:10 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Pushpasis Sarkar <pushpasis.ietf@gmail.com>, "draft-ietf-lsvr-bgp-spf@ietf.org" <draft-ietf-lsvr-bgp-spf@ietf.org>
CC: "lsvr@ietf.org" <lsvr@ietf.org>
Thread-Topic: Need clarification on IGP-Metric TLV for LS Link Attributes in BGP-SPF deployments
Thread-Index: AQHV9ifHldI2Y/pjvUWBbZk/jhUzi6hRnpcA
Date: Fri, 20 Mar 2020 18:40:09 +0000
Message-ID: <7DFD0D7F-65FC-4032-BCD2-7A2A1CA44512@cisco.com>
References: <CAEFuwkh=zmq_W_DD_MLePtc2pAZY7T1aENbbE01_cU588ZxDxQ@mail.gmail.com>
In-Reply-To: <CAEFuwkh=zmq_W_DD_MLePtc2pAZY7T1aENbbE01_cU588ZxDxQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.35.20030802
authentication-results: spf=none (sender IP is ) smtp.mailfrom=acee@cisco.com;
x-originating-ip: [2001:420:c0c8:1003::801]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 8862c7cc-39ce-4541-8e05-08d7ccfe1e7c
x-ms-traffictypediagnostic: BN8PR11MB3668:
x-microsoft-antispam-prvs: <BN8PR11MB366895661E28ECCDAC8841D0C2F50@BN8PR11MB3668.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 03484C0ABF
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(396003)(39860400002)(136003)(376002)(366004)(199004)(33656002)(2906002)(9326002)(71200400001)(5660300002)(186003)(36756003)(86362001)(81166006)(8936002)(2616005)(316002)(81156014)(8676002)(110136005)(76116006)(53546011)(66476007)(66556008)(6506007)(4326008)(45080400002)(478600001)(6512007)(66446008)(6486002)(64756008)(66946007)(91956017); DIR:OUT; SFP:1101; SCL:1; SRVR:BN8PR11MB3668; H:BN8PR11MB3794.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: J585u4rc71Pqfz3sFDs0E+YwJekQe0u43SvAz6pF8gDV1ipm/lkt/C4yJ0kUQF+Mgexq4SgGf99+ZmS96z2T8K8dxqtmRzSMaiVMYTzWImgbUeZVy9xABZDtzpCngIM0o/dWV99iFEu0PGVnkJrmNMltJekZOrjoekOa4zDC6fDEJwQJj6XlugQ4R56ZSrAUkeh8mqO+GTu2G+K4oGfL+bQT4xZddp5mtpswpZo1QsIO5SpC5msf59p99pnxUjyb95oMtO8hglI9110ibl+7wGD+xGp/qMs6qiTQn7pD20Oigm0V6vycMVFNUBxFtorY7XN4+agGdK7PIonHJwjJcB0pq3H439oVhbW7SR9mUYGJIj8MWc1MVqODPTb2UHNDyRtaE8u+qKDsdAl16y1MxdNpevbGEeUtZ4P0r1Szh05Wi6gYVq6DYvoweD2l+btI
x-ms-exchange-antispam-messagedata: rRIp9GLmMxWXPZRKa9J0QTofksofAm313XMlCU302+1RUQ2cZ1zneOGkG2oUSCTRwOYpYVerAlyykAumjLhnLOlaP3BWfaLqsUVEchFF6cUBXRDYxn90VcsxRiOUd50CNUr2H9LXawFnAX+IC0kgaFJgdSm5qwVXOsyhMPNJ89E=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_7DFD0D7F65FC4032BCD27A2A1CA44512ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 8862c7cc-39ce-4541-8e05-08d7ccfe1e7c
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2020 18:40:09.9984 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 56w2hcsq7CJTI8ByBna2qy9qXrxIJx7q5azW+zMfKZ2PsOMlItCscK/KA3Q3gT/r
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3668
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.11, xch-rcd-001.cisco.com
X-Outbound-Node: alln-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsvr/5BfGBNV4cZoTXbvD6JJ5waesfek>
Subject: Re: [Lsvr] Need clarification on IGP-Metric TLV for LS Link Attributes in BGP-SPF deployments
X-BeenThere: lsvr@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 20 Mar 2020 18:40:35 -0000

Hi Pushpasis,
I think for BGP-LS SPF we should always use 3 octet metrics. This will offer the most flexibility w/o redefining the TLV. If you agree, I will update the SPF draft to state this.
Thanks,
Acee

From: Pushpasis Sarkar <pushpasis.ietf@gmail.com>
Date: Monday, March 9, 2020 at 11:31 AM
To: "draft-ietf-lsvr-bgp-spf@ietf.org" <draft-ietf-lsvr-bgp-spf@ietf.org>
Cc: "lsvr@ietf.org" <lsvr@ietf.org>
Subject: Need clarification on IGP-Metric TLV for LS Link Attributes in BGP-SPF deployments
Resent-From: <alias-bounces@ietf.org>
Resent-To: Keyur Patel <keyur@arrcus.com>, Acee Lindem <acee@cisco.com>, Shawn Zandi <szandi@linkedin.com>, Wim Henderickx <wim.henderickx@nokia.com>
Resent-Date: Monday, March 9, 2020 at 11:31 AM

Hi Authors,

I need a small clarification on how the Link IGP-Metric TLV (type 1095) for the links originated by an BGP-SPF speaker look like. My doubt is specifically on what would be the length of the metric value. For example, following is the excerpt from RFC7752 section 3.3.2.4 which specifies the length to be 1, 2 or 3 bytes for ISIS narrow-metrics, OSPF and ISIS wide-metrics.


3.3.2.4.  IGP Metric TLV



   The IGP Metric TLV carries the metric for this link.  The length of

   this TLV is variable, depending on the metric width of the underlying

   protocol.  IS-IS small metrics have a length of 1 octet (the two most

   significant bits are ignored).  OSPF link metrics have a length of 2

   octets.  IS-IS wide metrics have a length of 3 octets.



      0                   1                   2                   3

      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

     |              Type             |             Length            |

     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

     //      IGP Link Metric (variable length)      //

     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+



                     Figure 21: IGP Metric TLV Format

What should be the length of the metric field when the origin is a BGP-SPF speaker?

Looking forward to your clarification on this. Also it will be appreciated a lot if a sentence or two can be added to the draft clarifying the above in the next version.

Thanks and regards,
-Pushpasis