Re: [Idr] Queries on draft https://datatracker.ietf.org/doc/html/draft-ietf-idr-te-lsp-distribution-18.txt

Abhishek Chakraborty <cabhi@juniper.net> Sat, 19 November 2022 18:54 UTC

Return-Path: <cabhi@juniper.net>
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 B7BA6C14CE51 for <idr@ietfa.amsl.com>; Sat, 19 Nov 2022 10:54:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.697
X-Spam-Level:
X-Spam-Status: No, score=-2.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=aPXs6w5F; dkim=pass (1024-bit key) header.d=juniper.net header.b=Dea6CxU9
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 D3nbXZrzEgzX for <idr@ietfa.amsl.com>; Sat, 19 Nov 2022 10:54:50 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 56C8CC14CE4B for <idr@ietf.org>; Sat, 19 Nov 2022 10:54:50 -0800 (PST)
Received: from pps.filterd (m0108160.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2AJHd3Y2029760; Sat, 19 Nov 2022 10:54:36 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=moK4jEvxZ9MNtSkM6e9FxzAB0WkwoRqdlF0hc2fPmt0=; b=aPXs6w5FPyRHTljKl4a35cBqIAiJPPWcJxfKP52gq1OqnKjlikN1P44aodjvy4Vf6iHf q+bSeXr0jPAGTV7rRX/UZohz6RVzWHl5rGhSmsNKozEtf39v8uo+9G9Dx7k9UK4ON9eu QYsJabG+E+Otr2FAVW5iQhbGJ+1lIH6Wu+VnUuU8vi6ao/DwX5vTHgCtd0jfPne8YEd3 f1hGnHxqE/foZ/kBPZ0g/mWwctrcw7ABS0FhEi2keq/fQo7wAPwsx6LGzx5KKgGdb82r TtfuNQYpy9gm1e6oUrdMomlk/Z50xI74wYs6GV14GnMUv9LrUCQl5vUPlqoadV9HCh8M qQ==
Received: from na01-obe.outbound.protection.outlook.com (mail-westcentralusazlp17012022.outbound.protection.outlook.com [40.93.6.22]) by mx0b-00273201.pphosted.com (PPS) with ESMTPS id 3kxwxp0bk3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 19 Nov 2022 10:54:35 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oSEQEdoUX7RbQmFidJx6H3puXok7yhelnS2xEvqyJQQHCiCqznYo9uqmx/Rd+HxW38Ct9pfCiS9oMNTDHlfa3E9SKMIqFWsBtMj7DCT8QHeT80jsqbfUQyvWYHy3HUPeJ4AWy/r4QUXFTfFTJjkCSzuobLSGQulRDiZBNuPOSbmXOsE05g1ZVoAfcU2TgtRLzILDNRW7idnbZLKmhX8yVtgh7CQ9Zmcj//tjVmcdAAEIy7m5i5GIlYP+w85W15CSAuoZxsn1Mbj026Jrdp38rYEQwvgm0C9VyStJ1A2/wW6u+juFD9JG2HUcIiY/uR/WeDNX/CBtsBPs7XWIZizaFA==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=moK4jEvxZ9MNtSkM6e9FxzAB0WkwoRqdlF0hc2fPmt0=; b=YUpn21UlIfak0m4/EFdZxFKurewUFx397oxVivtmS74ngpLGqCRoRMp6dRwQGP2amBr0MMrRMZCN6xRfPKUJPTqTl4NVrW3P/Vr0VdPsWacex8yuYLwMlB9cvVH2nIt+RlBQpnyu3e7TClFtLU7+v6dsvFZZonaOYr6LyMgY0lyeiXdo3vDtmv9QlfR8Q8a3kN62jm6jdiDx94hD/Xt/nAO5mq7NERlKw+GvJRkyHqAZfIIzy0v0kgviUfFlb5vvAceOoSfrxPnW0mOhwXLweI8dN4H81GrX4F0+Km7WIsJdJr4EIyCSPJGXhKrUIZSVevPqV1ivS/Qs1v78Xr5rKQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=moK4jEvxZ9MNtSkM6e9FxzAB0WkwoRqdlF0hc2fPmt0=; b=Dea6CxU9J1vZ+pqZRhEDV2uuQfAOPjgqK76px9787fvH35LSuQG4HCs52sR5LwxSfBvWFKaJJNYh4v00fADYqtRYCt8PPRRMV6mKQFgxmNjoB2bZdNflIHtl3fNqTI6Nc8K6I09npSUcbDN1HxVfeM/TG/NYE3yjz6DqUdVzqAA=
Received: from PH0PR05MB8735.namprd05.prod.outlook.com (2603:10b6:510:b3::9) by BN7PR05MB4225.namprd05.prod.outlook.com (2603:10b6:406:8f::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.9; Sat, 19 Nov 2022 18:54:32 +0000
Received: from PH0PR05MB8735.namprd05.prod.outlook.com ([fe80::baa:65dc:bd92:a629]) by PH0PR05MB8735.namprd05.prod.outlook.com ([fe80::baa:65dc:bd92:a629%5]) with mapi id 15.20.5834.009; Sat, 19 Nov 2022 18:54:32 +0000
From: Abhishek Chakraborty <cabhi@juniper.net>
To: Ketan Talaulikar <ketant.ietf@gmail.com>
CC: "idr@ietf.org" <idr@ietf.org>, "jie.dong@huawei.com" <jie.dong@huawei.com>, "stefano@previdi.net" <stefano@previdi.net>, "mach.chen@huawei.com" <mach.chen@huawei.com>, "hannes@rtbrick.com" <hannes@rtbrick.com>, "jefftant.ietf@gmail.com" <jefftant.ietf@gmail.com>
Thread-Topic: Queries on draft https://datatracker.ietf.org/doc/html/draft-ietf-idr-te-lsp-distribution-18.txt
Thread-Index: AQHY/EhcWxU+A5BYXkCJ1lR82uDvbg==
Date: Sat, 19 Nov 2022 18:54:32 +0000
Message-ID: <PH0PR05MB873520B3C6B0B73DD39336FAB5089@PH0PR05MB8735.namprd05.prod.outlook.com>
References: <PH0PR05MB873537FF945A3251B0566F13B5969@PH0PR05MB8735.namprd05.prod.outlook.com> <CAH6gdPxde8LaLhqbpSO-syaLSH6-kJk31Xik_XTULL6K2HvAeQ@mail.gmail.com> <PH0PR05MB87359058059950EB28E85034B5969@PH0PR05MB8735.namprd05.prod.outlook.com>
In-Reply-To: <PH0PR05MB87359058059950EB28E85034B5969@PH0PR05MB8735.namprd05.prod.outlook.com>
Accept-Language: en-IN, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=true; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2022-11-19T18:54:24Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=0633b888-ae0d-4341-a75f-06e04137d755; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=cab9ce5c-90c4-46af-9723-51782e0adf63; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=2
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH0PR05MB8735:EE_|BN7PR05MB4225:EE_
x-ms-office365-filtering-correlation-id: 2f75cf48-110f-4b69-16de-08daca5f7ee3
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: G3zUvqwVwbAA1kBRKivJz6c6N7Ggonoi7kLsVngcgCHjWzDK/UObWnJEWX/oyn/+NqcfofZLRCwQliMkgN54DpQmz6B+MRgc9CN8ssfif9loay2cBoTm5o+4YdJg8weZ9t8Ohge/yHC/F6xTTIxu5wf6tKWXGE1DsdzHNLsYu/AoCpuM0LMLm95b6KYz+ANtk6zovEQMqfoCVkPA/jHJ90dfHfRIvLwe2/Z6Wv2+W+ibuDXERym9ln7cLJhIB211DrUBGU0IehU2Eigluoxd8xqhHWE0DDLtHAa4+v6fuS6wZ7lEhgFzvYYoCzE14TkayGMHH50F1lUhZTAuzwtoDmO/ukxOPEfLdAnEpa+7uSZriljdDMdF8z1Ovnyd98UXH0jfJyESBhfo0PRAg2amR+ES7rl92VV5BgymXHJdA44ksEjcZB6sYTNmnz3BnEkNqTkQnr1cRetvCv6NWCkHZMKpX8ghhYv+B1DinEIoVB55uFqWFU7fAwDTnzyXYl7lVNz5RHFt5ukUseDbiCB6X3WfWI9vamchZ8U5FM2bIiz1I655l/hYYVAuBv6rAMIDNJZt2pI5biO2LqgCgLlf9IUsAS8VwpFNcvK+EUr+gMrmzKnjY2kyBiF9/TMDqmSweBQcLb3zbpTFwoT74sFZ9x0KA7vA4XeGYUITm6OinYQLNGi6iKv4m5AVnPQgy1VA9UnVe4NsDlyDHJdvQ8FNlkhjdo8Rfuhu6LTj3M+QFgBs7KQJSfEroMAjz3fpC7WY8xPEpwMqts1zg8uGmMF8FEZMnaN1TRH4vlMVoft00idp4tK682xIkAt5s4RdrOxV
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR05MB8735.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(396003)(346002)(366004)(376002)(39860400002)(136003)(451199015)(26005)(52536014)(64756008)(66446008)(66946007)(4326008)(5660300002)(76116006)(8676002)(66476007)(66556008)(41300700001)(54906003)(316002)(6916009)(8936002)(2906002)(6506007)(122000001)(71200400001)(478600001)(53546011)(7696005)(9686003)(66574015)(966005)(186003)(33656002)(38070700005)(38100700002)(166002)(55016003)(86362001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: DUlULdrlMMId72nK9WRtw47RLwrlPMmCZxWMwZENVpio1L0ig4LrAJOUBNs09qfAVIkd+EzfJyU9GFH10+i1Q8G9NZF0R/TJ/5Y23lqljIUQPbuLrKU4RC203KImtUVaE85wvEF3w5DRwj+kr23ImkvRQecLAwlAQHYo/Jqv+hQzPukfnqw6GJSALPW1BSPi+gPixrBQq0Phj54QkmESyTLdRELQ2Wq1AaWthSR7JcOTwhmCNl0mnkTL7TCrdUY5Ds9hagHI0mzQdOtsPNEpSTk0+726hd+ZdWKEgfvdyg2UvhA0Ef7OxTXyxRnUvB+E8JfFwu5h+Mm4QLDTyyYB6c/laY2ADxwhXemw9N56y/7b8NyFwun0SSh/EIo0igsOWt5VBXQ9/7motkrSHihUUWIOtvhZnYHNqkc+hwOs4IJnxfUFNl6uHrfrBZCBoNxieiry2v25u4kn+bV5jSBlJylekXaWV/bJylLXLlq8GMi4L9CiJhRcAEaCyrlVm7f8j+5YDrwN4tTdJ2Q4ufIWuU9x/1DjriuywYmvmgAU3PgzLaveNSvLOG5/4UTSCKicG7x6zkugvgQQpv0XARPr0yNUIcbUyShNgCEe4eGlEEIxLrXb/WEbMzP1xyzIub3TzA42wAleP4st3Y1yasEeHWd+iCNRb0/Jbqh7pTcg4l4HAxDWe7WZHf8MRFQIpIYto2gJrKDy8CE+aagDQViUIim6yvf0ENx3ossXBJyxQywapP9P5bXK5imlcNIWL+xIJnA9m09VhqTW0C3byiznfHSc0YaW9HdrmGeN9ZN5BXqbPqa+96cxkLeJNwOz0h5HGRJQQjcsxs+3+TByHTq6a5dfxv3XTPusAzve54MuUIn1+0d8/iLo0CBIz9f4PhQ4RsZZVp2CPyUKcW1Koqtm+si7aBTPDOhNVzHh0xlseADhOTqrsGi+kjE+wcT49briP99Df75P1RI7UxoRQNouBg/gp3Lw2qAKo+6094kP5jIjVr2G/Kqg2mkMA++OR9Jg74GJN0XXj91ox+h6xxx3gKubzmGFOY6yZXo22uZeS7s5wpqDiky663VHMh1UFUankOMz7LfkR5iEfrxi224KXo6JwjlZmGzMpsLc4CSqkXSP0Gp1/nl35lzzZX2ucr5gAVQQC2EbJjgM+xMdZ9m2A7elDGy1VsdfzXyzdXBolV2jGJWFHPOs1IBalX8Y7w8GWA4Z5w1WvvVPjK1cSYT/nXJhdYe6clAwULGKZI4ujciXvvWiLlwABsSJZp49srvpYYqHDl5YNX++7lafQvLjtgyYB8Fu8KTepX6b7nWjsJoyBneo/OstFjaGkXLLi+re5RKygAL4263HmyDZt9z4ELQP16svsN5G9O1G6JoWhdcmdcFfIqFLXV9XwOtDNwr8lC5JWK4Yun+6PpxFf6RLpln5YxcrYzBzTuGNUCvOmURNiT1EFwpt4oEXIHz75P0MAJYX2aR7KU6AxRiDE98DwBj1EXcOSGf3AGpIQ8CGteUtv5X13c61HBQo+NxdpOZnMb9Bf6bG++SlEiR2bq6tRDNfx7QrIwMDK8oBKHPcRonD254BjFOrBKHDH+wEFoqZ
Content-Type: multipart/alternative; boundary="_000_PH0PR05MB873520B3C6B0B73DD39336FAB5089PH0PR05MB8735namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR05MB8735.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2f75cf48-110f-4b69-16de-08daca5f7ee3
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2022 18:54:32.5549 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: /8QITAEKKmpGxILx9Lb2sqyFQZtLo1I5elFV/LAnrxIB/ohKhtL+ys8zBrtQGGh2F9k+0BjgvqBqPTf/giOuJg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR05MB4225
X-Proofpoint-ORIG-GUID: MJLa1SJvFj1YaHaxXgqT0guhdwrgFIAh
X-Proofpoint-GUID: MJLa1SJvFj1YaHaxXgqT0guhdwrgFIAh
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-18_08,2022-11-18_01,2022-06-22_01
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 spamscore=0 mlxlogscore=999 clxscore=1011 malwarescore=0 adultscore=0 mlxscore=0 impostorscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211190146
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/773bJfiiMfFCRY0B2BQv8Cgo6To>
Subject: Re: [Idr] Queries on draft https://datatracker.ietf.org/doc/html/draft-ietf-idr-te-lsp-distribution-18.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
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: Sat, 19 Nov 2022 18:54:55 -0000

I hope all are doing well.

Hello Ketan,

It is a long due query from my side on this draft but couldn't find time to shoot out an email.

1.
When I see section 6.1 and 6.2 for binding SID, the flag bits for these 2 section overlap each other at 0th bit with 2 different flags:
For SR Binding SID:
          0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
         +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
         |D|B|U|L|F|                     |
         +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
For SRv6 Binding SID:
          0                   1
          0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
         +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
         |B|U|F|                         |
         +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

The D bit is used to identify if the SID is SR-MPLS or SRv6. Now the B flag in SRv6 Binding SID is placed at the 0th Bit in the draft. Is it a typo or intentional which I am missing? Shouldn't the SRv6 flag have the beow:
          0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
         +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
         |D|B|U|F|                     |
         +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Depending on D flag the rest of the bits can be parsed.

2.
In section 6.6:
      -  P-Flag: Indicates that the CP prefers the use of only protected
         SIDs when set.  This flag is mutually exclusive with the
         U-Flag.

      -  U-Flag: Indicates that the CP prefers the use of only
         unprotected SIDs when set.  This flag is mutually exclusive
         with the P-Flag.
...
..
      -  S-Flag: Indicates that the use of protected (P-Flag) or
         unprotected (U-Flag) SIDs becomes a strict constraint instead
         of a preference when set

P and U flag already says that we use only Protected and Unprotected. How is it different from a strict constraint? Setting P/U means we are using strictly Protected/Unprotected.
Can you please help to clarify.

Thanks and Regards,
Abhishek



Juniper Business Use Only
From: Abhishek Chakraborty
Sent: Friday, July 29, 2022 12:03 AM
To: Ketan Talaulikar <ketant.ietf@gmail.com>
Cc: idr@ietf.org; jie.dong@huawei.com; stefano@previdi.net; mach.chen@huawei.com; hannes@rtbrick.com; jefftant.ietf@gmail.com
Subject: RE: Queries on draft https://datatracker.ietf.org/doc/html/draft-ietf-idr-te-lsp-distribution-17

Thanks a lot Ketan for your response.
It has clarified all my doubts.

Thanks and Regards,
Abhishek



Juniper Business Use Only
From: Ketan Talaulikar <ketant.ietf@gmail.com<mailto:ketant.ietf@gmail.com>>
Sent: Thursday, July 28, 2022 6:15 PM
To: Abhishek Chakraborty <cabhi@juniper.net<mailto:cabhi@juniper.net>>
Cc: idr@ietf.org<mailto:idr@ietf.org>; jie.dong@huawei.com<mailto:jie.dong@huawei.com>; stefano@previdi.net<mailto:stefano@previdi.net>; mach.chen@huawei.com<mailto:mach.chen@huawei.com>; hannes@rtbrick.com<mailto:hannes@rtbrick.com>; jefftant.ietf@gmail.com<mailto:jefftant.ietf@gmail.com>
Subject: Re: Queries on draft https://datatracker.ietf.org/doc/html/draft-ietf-idr-te-lsp-distribution-17

[External Email. Be cautious of content]

Hi Abhishek,

Thanks for your email that brings up some very good questions. Please check inline below for responses.


On Thu, Jul 28, 2022 at 3:33 PM Abhishek Chakraborty <cabhi@juniper.net<mailto:cabhi@juniper.net>> wrote:
Hope everyone is doing well.

My queries are regarding the following flags:

  1.  https://datatracker.ietf.org/doc/html/draft-ietf-idr-te-lsp-distribution-17#section-6.7<https://urldefense.com/v3/__https:/datatracker.ietf.org/doc/html/draft-ietf-idr-te-lsp-distribution-17*section-6.7__;Iw!!NEt6yMaO-gk!AadXpHLhwOmex9PJdephXXL1Ef1EKb2Dama9xDh4w6VooSngX6wI7WQCaQwbcG06enKPN7ok-dWW7tMZXyY$>


E-Flag : Indicates that SID-List is an explicit path when set
        and indicates dynamic path when clear.



         C-Flag : Indicates that SID-List has been computed for a

           dynamic path when set.  It is always reported as set for

           explicit paths.


     Does E flag only get set for Statically configured segment-list (non-compute) on headend router?

KT> Yes, but not "only" that. Please see further.

     Does E flag includes PCE/Controller provisioned segment-lists as well? Because PCE/Controller provisioned segment-lists are dynamically provisioned by controller on the headend.

KT> Yes.

     Does C flag only gets set for locally computed segment-lists? Because if PCE/Controller provisioned segment-lists are also dynamic paths but not locally computed, will this C flag
                    be set for those as well?

KT> The draft is about reporting from the SR Policy headend. If the headend does not see this as a dynamically computed path (e.g., if it is not delegating computation) then the C flag won't be set.


KT> The reference here is explicit and dynamic paths per RFC9256 and not about how they are provisioned. Specifically, please check section 5.1.

                    What is the meaning of "It is always reported as set for explicit paths" in C flag?

KT> The SID list is pre-computed always for explicit path and hence this flag is always set. For a dynamic path, not all paths may be computed (e.g., if it is not the preferred/active then the path may not yet have been computed).

                   In case of delegation how these 2 flags will be set? Because the computation is done in the controller with the local constraint set.

KT> Please check if my prior response clarifies.



  1.  https://datatracker.ietf.org/doc/html/draft-ietf-idr-te-lsp-distribution-17#section-6.8<https://urldefense.com/v3/__https:/datatracker.ietf.org/doc/html/draft-ietf-idr-te-lsp-distribution-17*section-6.8__;Iw!!NEt6yMaO-gk!AadXpHLhwOmex9PJdephXXL1Ef1EKb2Dama9xDh4w6VooSngX6wI7WQCaQwbcG06enKPN7ok-dWWAqrqNz4$>

      *  E-Flag : Indicates the SID value is explicitly provisioned

         value (locally on headend or via controller/PCE) when set and

         is a dynamically resolved value by headend when clear

Does this E flag on each segment means if this segment is explicitly configured in the segment-list locally?
KT> This one is not about a dynamic or explicit path but about whether the headend is doing SID resolution. Even for an explicit path, the operator config could be simply using a node's IP address for a Prefix-SID (Type C). The headend needs to dynamically resolve to a SID value and so this flag is not set. For a dynamic path, if the controller is fully resolving the SID values and providing them to the headend then this flag would be set.


i.e. if a segment-list is a mixture of some statically configured segments (non-compute) and some are computed/translated segments, then segment-list will be set with both segment-list C and E flags and only the non-compute segments will be set with E flag?
KT> I hope my previous comments clarify.


Does this E flag be set on all segments of a PCE/controller provisioned segment-list? If yes then will such PCE/Controller provisioned segment-lists be marked with segment-list E flag? But then such segment-lists are not dynamic anymore right?
KT> I hope my previous comments clarify.

Thanks,
Ketan


Thanks and Regards,
Abhishek



Juniper Business Use Only