Re: [Idr] Some comments about the flags in draft-ietf-idr-te-lsp-distribution-11

"Dongjie (Jimmy)" <> Thu, 04 July 2019 11:28 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 06A16120048; Thu, 4 Jul 2019 04:28:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id jwAbX_ffx_BI; Thu, 4 Jul 2019 04:28:13 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id B013012003F; Thu, 4 Jul 2019 04:28:12 -0700 (PDT)
Received: from (unknown []) by Forcepoint Email with ESMTP id 1C5514A2EADE02EFB192; Thu, 4 Jul 2019 12:28:11 +0100 (IST)
Received: from ( by ( with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 4 Jul 2019 12:28:10 +0100
Received: from ([]) by ([]) with mapi id 14.03.0415.000; Thu, 4 Jul 2019 19:28:04 +0800
From: "Dongjie (Jimmy)" <>
To: "Ketan Talaulikar (ketant)" <>, "" <>
CC: "" <>
Thread-Topic: Some comments about the flags in draft-ietf-idr-te-lsp-distribution-11
Thread-Index: AdUZtXNNpFwWiZR2SGe57tDeoqrMCwX8hpJAACRcxaA=
Date: Thu, 04 Jul 2019 11:28:04 +0000
Message-ID: <>
References: <> <>
In-Reply-To: <>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
x-originating-ip: []
Content-Type: multipart/alternative; boundary="_000_76CD132C3ADEF848BD84D028D243C927CCEE1590NKGEML515MBSchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <>
Subject: Re: [Idr] Some comments about the flags in draft-ietf-idr-te-lsp-distribution-11
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 04 Jul 2019 11:28:15 -0000

Hi Ketan,

Thanks for your reply, please see further inline with [Jie]:

From: Ketan Talaulikar (ketant) []
Sent: Wednesday, July 03, 2019 10:13 PM
To: Dongjie (Jimmy) <>;
Subject: RE: Some comments about the flags in draft-ietf-idr-te-lsp-distribution-11

+ IDR list

Hi Jie,

Please check inline below for responses.

From: Dongjie (Jimmy) <<>>
Sent: 03 June 2019 08:26
Subject: Some comments about the flags in draft-ietf-idr-te-lsp-distribution-11

Dear coauthors,

After reviewing the latest version of this draft, here are some comments about the description of the flags:

1)       6.1. SR Binding SID
*  S-Flag : Indicates the BSID value in use is specified or provisioned value when set and dynamically allocated value when clear.

o  Provisioned BSID: Optional field used to report the explicitly provisioned BSID value as indicated by the S-Flag being clear.
When the provisioned BSID is unavailable, there can be two cases, in the first case a dynamically allocated BSID is used, in another case a statically configured BSID is used.
[KT] Provisioned BSID indicates a statically configured (when using a mgmt. interface like CLI or Yang) or signaled (when using a protocol like PCEP or BGP-SRTE) value. The Provisioned BSID field never carries a dynamically allocated value. So we only have the second case you mention.

[Jie] Let me rephrase to clarify my comment: In section 6.1, the format of SR Binding SID TLV contains a BSID field and an optional provisioned BSID field. If my understanding is correct, the optional Provisioned BSID field is to carry the provisioned BSID when it is unavailable (and not in use) on the ingress node, in this case the BSID field would contain the BSID in use, which can be either dynamically allocated, or statically configured. If the BSID in use is dynamically allocated, the S-Flag should be clear, while if the BSID in use is statically configured on the device, the S-Flag should be set. This shows that the provisioned BSID can be unavailable and reported when the S-Flag is either set or clear.  Thus my suggestion is to remove “as indicated by the S-Flag being clear.”

In both cases the Provisioned BSID needs to be reported using BGP-LS, which means the provisioned BSID needs to be reported regardless of the value of the S-flag. Thus it is suggested to remove “as indicated by the S-Flag being clear.”
[KT] The S-flag indicates whether the CP had a provisioned BSID value or not. I think it would be clearer if the text was “Optional field used to report the explicitly provisioned BSID value when the S-Flag is set.” We can fix this in the next version if you agree.

2)       6.2. SR Candidate Path State
      *  V-Flag : Indicates the CP has at least one valid SID-List when set.

In some cases a candidate path may not be verified, should the V-flag also be set?  The similar cases are described in the V-flag definition in 6.5 “SR Segment List” and 6.6 “SR Segment”, where the V-flag is set when the verification was not required.
[KT] You are right that a CP may not be verified. We have an E flag that indicates whether it has been verified or not in the first place. So the V flag comes into picture only if E is set. Otherwise, validation has not been done and hence V flag is not set.

Thus it is suggested to use the similar statement in the definition of V-flag of SR Candidate Path State: “Indicates the CP has at least one valid SID-List or its verification was not required when set and failed verification when clear.”
[KT] Does it help to indicate explicitly that the V flag should be clear when the CP has not been verified (i.e. when E flag is clear)?

These are minor changes to the description of Flags, while they can help to clarify the setting of the flags in different cases.
[KT] Agree. Please let know your views and we can accordingly update the text in the next update.

[Jie] Agree that V-flag makes sense only when E flag is set. It would be good to make this explicit in the next update. Thanks.

Best regards,



Best regards,