Re: [Idr] Few questions about Segment Routing extensions for BGP LS (draft-ietf-idr-bgp-ls-segment-routing-ext)

"Ketan Talaulikar (ketant)" <ketant@cisco.com> Thu, 22 July 2021 08:43 UTC

Return-Path: <ketant@cisco.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 0BDAC3A3E00 for <idr@ietfa.amsl.com>; Thu, 22 Jul 2021 01:43:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.595
X-Spam-Level:
X-Spam-Status: No, score=-9.595 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_NONE=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=fznuAdBW; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=f1GjRcuA
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 KTRjS16E4HBF for <idr@ietfa.amsl.com>; Thu, 22 Jul 2021 01:43:28 -0700 (PDT)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 98D5B3A3E2D for <idr@ietf.org>; Thu, 22 Jul 2021 01:43:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=22514; q=dns/txt; s=iport; t=1626943408; x=1628153008; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=0N+JKDshN+/Z5oshArx76WxyuJYaAoSZKoeCEtXEm+g=; b=fznuAdBW8aAmjKGlLrYPGS0Q0XHuFr3css6U3UPE1uU/cdq5oRBiyCla AxynPbmPXVjlsi0toT2uQgvgZNi+7t79oFwGGJ/uhGZuGu22B4qQqWx0y LJlPM5amjG8QYfN889EBcr6l8gItfJC5Nr9skqXtyvZWuelglisJzh6Oh A=;
X-IPAS-Result: =?us-ascii?q?A0AfAgCwLvlgl5xdJa1aHgEBCxIMgg4LgSMwUX5aNzGES?= =?us-ascii?q?INIA4U5iGEDmjCBLhSBEQNUCwEBAQ0BATcKBAEBhFcCF4JfAiU0CQ4CBAEBA?= =?us-ascii?q?QEDAgMBAQEBBQEBBQEBAQIBBgQUAQEBAQEBAQFyhWgNhkUBAQEEEhEKEwEBJ?= =?us-ascii?q?RMPAgEIEQQBASQHAgICMB0IAgQBEggagk8BgX5XAy8BDp0TAYE6AoofeoEyg?= =?us-ascii?q?QGCBwEBBgQEgUpBgxsYgjQDBoE6gnyEDAEBhmInHIFJRIEVQ4IyMD6CYgEBA?= =?us-ascii?q?gGBKAESASMrgmo2gi6CMWYIFVFRAiAmCkhHKlWRNINViDqNNpIUCoMlijWUH?= =?us-ascii?q?hKDY4telDmCZZYIghyKF5NlhHQCBAIEBQIOAQEGgWA5a3BwFTuCaVAZDo4fD?= =?us-ascii?q?A0JFYM6hRSFSnMCATUCBgEKAQEDCYteAQE?=
IronPort-PHdr: A9a23:9oyahxQYhTwc9aPY1A8NABFWcNpso1vLVj580XJvo75Le76ouZXvI EKZ4u9i3xfFXoTevvRDjeee86XtQncJ7pvJtnceOIdNWBkIhYRz/UQgDceJBFe9IKvsaCo3T 8hHXUVuuXC2LUYTH9zxNBXep3So5msUHRPyfQN+OuXyHNvUiMK6n+C/8pHeeUNGnj24NLhzN x6x6w7Ws5p+vA==
IronPort-HdrOrdr: A9a23:wlWBVawwoHZUk1lP6VGiKrPx5OskLtp133Aq2lEZdPULSKGlfp GV9sjziyWetN9IYgBGpTnyAtjnfZq8z+8C3WB/B8bGYOCLggqVxeJZnMLfKl/baknDH4dmvM 8NHMZD4bbLfDtHZLPBkWuF+rgboOWvweSNv6Pz3n1tRQZlZ+VL9AFiEDuWFUVwWU1vGYc5PI D03LsNmxOQPVAsKuirDHgMWObO4/fRkoj9XBIADxk7rCGTkDKT7qLgGRTw5GZVb9oP+8ZvzY CJ+zaJq5lLgcvLhCM05FWjrqi+reGRheeqXKS3+4gow3vX+0WVjc9aKsS/VXgO0ZmSARAR4Z HxSrsbTrpOAze4RBDLnfOpszOQqwrGxkWSumNwu0GT0/DRVXY/EY5MlIhZehzW5w4pu8x9yr tC2yacu4BMBR3NkSzh75yQPisa4nacsD4ni6oennZfWYwRZPtYqpEe5lpcFNMFEDjh4I4qHe FyBIXX5epQc1mdc3fF11MfteBFdRwIb227q205y7uoOhRt7QFEJhEjtbAid187heIAo7kt3Z W4DphV
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.84,260,1620691200"; d="scan'208,217";a="744765025"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 22 Jul 2021 08:43:27 +0000
Received: from mail.cisco.com (xbe-rcd-005.cisco.com [173.37.102.20]) by rcdn-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id 16M8hRq5029671 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Thu, 22 Jul 2021 08:43:27 GMT
Received: from xfe-rtp-004.cisco.com (64.101.210.234) by xbe-rcd-005.cisco.com (173.37.102.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 22 Jul 2021 03:43:27 -0500
Received: from xfe-aln-001.cisco.com (173.37.135.121) by xfe-rtp-004.cisco.com (64.101.210.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 22 Jul 2021 04:43:26 -0400
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (173.37.151.57) by xfe-aln-001.cisco.com (173.37.135.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Thu, 22 Jul 2021 03:43:25 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MNiGKyTW8LuilRPnisXHH8xDx3i0sUL0OGtWABi0JKjr2WUgS2gSIIM+jNBWsv31Cilm0KArY1Eg0F+ed2VxDaL06kyryCLqPELAxsEb5Ic5IcZElPuz9OLwu8hQFDnRVxa5YTSaN6AQItjbDc7ipNjXmJKohktDGYH+2KRW5Sj2mFvbrcFDm5a+1oqMHNDAlbvXAkG/xnJf0ujUCq+NO3DFBKmbW87IhQb6MnExydWZIanz1ND3V3WDsZdtGgRPQqT8Vj45MF7XrYA7rZQl7yDyx2SSwGaTfNEmyoWNMruIXpSbZXkS9lhapqwzWrWW+tnk2WYpxmpvVUG5ga+vlg==
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=0N+JKDshN+/Z5oshArx76WxyuJYaAoSZKoeCEtXEm+g=; b=bHhpLjj9NydEFPq7RKGUp1hBdgB9tQrhRL5uq2tmaOfdtQDd/uE57D6yctrozsLutKOTeBVgHU9dEQqdkwQn2fFpWvCpgR/zxJVcIoYspvgHNAkXN48LaTFORiIph/BQgwfkOVIv/SEIlIa6QYz6xWo4ix9jSF/8w9UMbJ6xIfzBc6/wX2jDI3cP5vcyBprVB1i7YOvgfbKze94eBzaeD1gsm8NFfV67lJXmPigh4QvvRDi5tj1v2mZJzK+VqKZnxDtmjTa0IlvAnkZMtBl9EN29wY4yNX8XtuAxKY7y+6bDz4ix8OloyQiRwFmLeyPy7oSqodOofPBnxPppXKg/pQ==
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=0N+JKDshN+/Z5oshArx76WxyuJYaAoSZKoeCEtXEm+g=; b=f1GjRcuA1HkvwaWhZ4hMoPhjSxFm87E6fkNTMuotPSnHr7m3p/4falB9G6ITctvo+iyRdZbb0b9gP9XkG7MQkbGMu3QJLb8rHvvHcOgbq3kUx3/UrIZpUmTkMV+RvSJperuxLnZ1ud4B8EYgTL2rqtZSgBadgcJ2Vfdr7MZMn1A=
Received: from MW3PR11MB4570.namprd11.prod.outlook.com (2603:10b6:303:5f::22) by MWHPR1101MB2126.namprd11.prod.outlook.com (2603:10b6:301:50::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24; Thu, 22 Jul 2021 08:43:24 +0000
Received: from MW3PR11MB4570.namprd11.prod.outlook.com ([fe80::7c01:5b00:b7b8:3e87]) by MW3PR11MB4570.namprd11.prod.outlook.com ([fe80::7c01:5b00:b7b8:3e87%3]) with mapi id 15.20.4331.034; Thu, 22 Jul 2021 08:43:23 +0000
From: "Ketan Talaulikar (ketant)" <ketant@cisco.com>
To: Boris Hassanov <bhassanov=40yahoo.com@dmarc.ietf.org>, IDR List <idr@ietf.org>
Thread-Topic: [Idr] Few questions about Segment Routing extensions for BGP LS (draft-ietf-idr-bgp-ls-segment-routing-ext)
Thread-Index: AQHXfhbo3FnytKkAE06hZYcSY0y7eKtOqHGA
Date: Thu, 22 Jul 2021 08:43:23 +0000
Message-ID: <MW3PR11MB457012F92C38715126ED4F7EC1E49@MW3PR11MB4570.namprd11.prod.outlook.com>
References: <1162423632.764584.1626861282633.ref@mail.yahoo.com> <1162423632.764584.1626861282633@mail.yahoo.com>
In-Reply-To: <1162423632.764584.1626861282633@mail.yahoo.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 02544e51-0cae-4e7e-4f67-08d94cecc457
x-ms-traffictypediagnostic: MWHPR1101MB2126:
x-microsoft-antispam-prvs: <MWHPR1101MB2126BFFDA4BCFB16CF5A634AC1E49@MWHPR1101MB2126.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Ka7SS1A87MpD6JUYI/5A8aXqJe7xHBghk2YJszBlF157FELUwP7FK9QOMtZXnyzGlPD6S7utRe7J8NH1gJqgzLbu5aIOg5a/WCEiHAYhOZd+96/Nnsq0RBYzyizilvl/iG1UmoNcIM8DKLY+x8sO0tzUV/HcjZUTVx3djL+5tMR56zETSc55ffHz9AKEgOGm1xvbE4rvHsF/doVu2E8FqUKX+sZj720HW8NnXbAjC64/BdJlk0l0g6Dll7JJ0CC5t4BDQQESHcL7naFucVB8SQ78bYGdUj6scKiIaPipqvdgb+YhFBd6dJeuiRiEFyVcpa7Ok2oesBFRhPMmjdbKvvkcdTpDyrj9V86yIkDRhnu470Tu/9+cc4QklGDxZMTZwMvP2Rx2UYU1LaXltE0/uNQf7I0GYJz7T3xwbPueCMCiVrTCGc/BwJm+ox2c2n7+cQaJk8S4M4rWmBkjNvgHQJzL+CM5dCqw+flnljBU65Xw5oilRhCE8JAfzz4uZYmzFRLa0PtWAXerw+3/WY3i3vMNNgC5YHop+ueDEqZkRZrSBE8epVnszaQveLuThDm2cxbU5pAp4mHtz9XAs/fANCDZQ0eLCe77qLukQsVN1dtxPnwyYEo+u8y6a40p5UeCLeQc55J1nlE2sYSkQMwRLfPE60owbaqcc59D6l0SSmtS6s/O9KlN41bIHgVoCoedMaF1V7i2Q4GueAorzYUrHX4Tczy67fFce24W3XxrCvfoGsPiI2ryTgc+ErvvrP7GBA2LB5Pp8tbt1IPnZekHCl6Zzd79pAEDbe0G3QzTfvEoGTk78Nls1FBoT2smazvCW8yCT6fKXB2413sPVp8xwQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW3PR11MB4570.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(39860400002)(136003)(366004)(376002)(396003)(186003)(9326002)(966005)(53546011)(76116006)(8676002)(66946007)(26005)(66556008)(86362001)(33656002)(66574015)(83380400001)(2906002)(166002)(52536014)(71200400001)(8936002)(5660300002)(64756008)(66476007)(66446008)(6506007)(316002)(478600001)(110136005)(122000001)(55016002)(9686003)(38100700002)(7696005)(38070700004); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VUlrVGxtOTNHeGQybDNsNDRLUFlrVU9Ra1lzTjVMbnFkTFVvdTBqb0V5Z0or?= =?utf-8?B?RDhNaERpaXR1eFJWdGxUSEx0RlFHZEZORGptcmh2YmxweXl4NVFMRGpZQi9K?= =?utf-8?B?YzBxV2JmaGdjR0dWa2tzUkErcVVSTzBEYWcvMm5ER3BEMDV1UitUa1RrZUF4?= =?utf-8?B?ZnZETHUzKy81NTNkemxCVjJnYmEwY3dmWHFMMmN6SG0xNmlSZUdqR0FyMGRo?= =?utf-8?B?dkNOdnA3R3M0UHk4VFBzR0J1Y0tQQUpidndwSjhldUg4VEx6dWhHL2ZBdnRC?= =?utf-8?B?UHE3Q2dUTW9kaDhvcVphUDRKcHJXUW52RnV2TXAzNHNCOUc3M1h4ZVU4RFVR?= =?utf-8?B?T3dhWTR0UlNsMHlsY2VnZHh6OHNUb3pyVzRnT0R6RHMwMnVDdkNKVStpVitl?= =?utf-8?B?dkVQMzNHeitVeHVrZytVT0o0Q1JTUHpsMVNjQ1IwdHNCajdGcHJzdVBzd29k?= =?utf-8?B?cm8rQnU4blR1em9TSWE1UVF2d054YXVVQlZ5U0IyTGtYdWFaaTEyOFVNYnBh?= =?utf-8?B?ZlorRVY1bWMrWnBzcC9rR0oySWJEMzBFRG5qbmFjWjNNeUMvR0FaWWpFaWNR?= =?utf-8?B?MThsa09LNTlkN2NCTm5FNXN3UUU2Rmd0VmJGalhJblRaVGhzaHR0NGxSNjE0?= =?utf-8?B?QndaTDQ4dmx3RW8vdUlkaW4yenZaR0ZhaXVOakpoNU1vOEhwa3VaaENNOXRK?= =?utf-8?B?YXZBZlFnenpXbE9Bd1FsRGJGL3hOM0Zsd2EwK2xwdWRRekZwaFo2VndMNVo1?= =?utf-8?B?WXFKbTFNc3RUbWhpQ2N6TnNkYXE4U3JsdHdUUWdRNVI2dDQvMHlDRDlmZHN5?= =?utf-8?B?TC9obkFEb0t0WWZ2ZTZaRVVqNDQyZmhRVjdyMHY1QjFYclFoL3FocnFIWWI2?= =?utf-8?B?QS9XUGhvWDRNUFdwYmI0d1BBdXlSeHFtQ2RpS3dqTFhQVWpwenJyV0pIQUVP?= =?utf-8?B?ODI5WXF0SW1EbHh3dFJ4Tk5lY28veCswOFR3eTZUY0lwRlUxUkxDU3VsSXFV?= =?utf-8?B?SWgyajRJblhXdHpYNmJ0TTB2NkRtckFKZ0p1OWdpb0JmZ0ZWdHhGMmphaVFC?= =?utf-8?B?djA1ZGEvK1Z2bWllQlRlQ08zUGlISktISEg4djBpUEpScjAzNFNZcnhrMW4y?= =?utf-8?B?UXAzQjVEdURJaUkrMWVWbU85ZTZJMDJIY2V4TElLQnlNTXBtOEFBVlJTMjg1?= =?utf-8?B?RHdUUHlGRHpyZUYzb2p2M2tmR1RVd1FFTmdoT0FGb1loRjFJNEVBaE9zdWV1?= =?utf-8?B?c0VxSC9oZ1g1NGplMEVxL0pIM0xHQkhQSHkzUkY2UmtNNzI1KzV5R2I1UEk5?= =?utf-8?B?TlRZVjBCaktibVZudjdSWGQ1NmFQVmpYdlo5V0RpYURqMDFFR1pGa1RmMHlU?= =?utf-8?B?RWtFTUh6aGh2RjF0QUs2czlYeHM3ZHJKaGdMNGdBR3lWSjNVRTF5bFB0a2NY?= =?utf-8?B?ME1zY3Qvc2ExVlhvN0tEU3hXZEtOajk2eGV6eGs4UTh3aVl0ZUw1S1VsL3Q5?= =?utf-8?B?UVVQenNCbDkvWEw2SkZvUzBhUWVUYVlGaTRXYTZwM29TblYvV3N3N3hIeDFq?= =?utf-8?B?SkFYMzk3OE5jeG53QXRrUTgyQlhLZHkvdWgyV01kOWZCVWh5N3lHenAxU3VT?= =?utf-8?B?MFpEeW5lWERGUDFyeTdpUXJBNVpTajlzNWtUM0d0TEtSZHhHcnBYdTRuRG1V?= =?utf-8?B?SktJcW5QYVlxem1EV0xLeHdsL3JWSmFvQlQ4dTdYK3NWamRqVUE2c3Nadnpn?= =?utf-8?Q?CQeGFZX0LQiqDGRDtd0w9cSmqdfr/rwbp2qz7LH?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MW3PR11MB457012F92C38715126ED4F7EC1E49MW3PR11MB4570namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MW3PR11MB4570.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 02544e51-0cae-4e7e-4f67-08d94cecc457
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jul 2021 08:43:23.8470 (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: R9gVnr92nAskCHJJHFLQJ+lV0kXuwTEfmEQTB/jJ5H8eRtEfCMeKH8U/ydiAkplReSHJfqzujQz1Hk1LZiUjtg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2126
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.20, xbe-rcd-005.cisco.com
X-Outbound-Node: rcdn-core-5.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/yk6h_Wb321YkIam106tXwylNoJA>
Subject: Re: [Idr] Few questions about Segment Routing extensions for BGP LS (draft-ietf-idr-bgp-ls-segment-routing-ext)
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: Thu, 22 Jul 2021 08:43:33 -0000

Hi Boris,

Using your original email to respond instead of top-posting so I do not miss anything in your original query. This builds on top of the responses from Robert and Jeff with some more details.

Please check inline below.

From: Idr <idr-bounces@ietf.org> On Behalf Of Boris Hassanov
Sent: 21 July 2021 15:25
To: IDR List <idr@ietf.org>
Subject: [Idr] Few questions about Segment Routing extensions for BGP LS (draft-ietf-idr-bgp-ls-segment-routing-ext)

Hi all,

1) Need an advice, I might be missing something but I see that Anycasi SID (3333 in the example below)  is in BGP-LS update as regular Prefix SID TLV:

 Path Attribute - BGP-LS Attribute

            Flags: 0x80, Optional, Non-transitive, Complete

                1... .... = Optional: Set

                .0.. .... = Transitive: Not set

                ..0. .... = Partial: Not set

                ...0 .... = Extended-Length: Not set

                .... 0000 = Unused: 0x0

            Type Code: BGP-LS Attribute (29)

            Length: 12

            Link State

                Prefix SID TLV

                    Type: 1158

                    Length: 8

                    Flags: 0x40, Node-SID (N)

                        0... .... = Re-advertisement (R): Not set

                        .1.. .... = Node-SID (N): Set

                        ..0. .... = No-PHP (P): Not set

                        ...0 .... = Explicit-Null (E): Not set

                        .... 0... = Value (V): Not set

                        .... .0.. = Local (L): Not set

                    Algorithm: 0

                    SID/Index: 3333

Here is confusion, how, let's say, a controller, which receives such BGP-LS update, could  distinguish it from regular Prefix/Node SID?
[KT] Node SID or Anycast SID are sub-sets of the Prefix SID and therefore both are advertised using the Prefix SID TLV. The way to distinguish them would be based on the flags in the Prefix Attribute Flags TLV https://datatracker.ietf.org/doc/html/draft-ietf-idr-bgp-ls-segment-routing-ext-18#section-2.3.2. It carries the Node and Anycast flags. Note that the Anycast flag was introduced very recently. The indication of Node flag surely eliminates the Prefix being Anycast – this is by definition. Of course, a prefix’s association with the Node or Anycast flag will depend on the accuracy of the router configuration by the operator. In the case of anycast, this can be verified by the controller using the network-wide topology.

Unfortunately draft-ietf-idr-bgp-ls-segment-routing-ext-18 does not clarify this issue because it only describes Prefix SID TLV type 1158. Any suggestions?

2)  draft-ietf-idr-bgp-ls-segment-routing-ext-18 has two types of labels TLV: SID/Label TLV type 1161 and Prefix SID  TLV type 1158.  I checked several vendors implementations of BGP-LS, all of them use only Prefix SID TLV.
Why the draft does not have some conditions or clarifications when to use SID/Label TLV and when Prefix SID TLV?
[KT] The SID/Label TLV (1161) is used as a sub-TLV of SR Capabilities and SRLB TLVs as indicated here https://datatracker.ietf.org/doc/html/draft-ietf-idr-bgp-ls-segment-routing-ext-18#section-2.1.1. I am not sure why this would be mixed up with the Prefix SID TLV which is very different.

Thanks,
Ketan


Thank you.

SY,
Boris