Re: [OSPF] draft-ietf-spring-conflict-resolution/draft-ietf-ospf-segment-routing-extensions: If you please provide your inputs on the issue.

Mahendra Singh Negi <mahendrasingh@huawei.com> Fri, 23 February 2018 21:22 UTC

Return-Path: <mahendrasingh@huawei.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D6FF0124207; Fri, 23 Feb 2018 13:22:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.23
X-Spam-Level:
X-Spam-Status: No, score=-4.23 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 gpfe4xmz6hcv; Fri, 23 Feb 2018 13:22:36 -0800 (PST)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) (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 56D221241F5; Fri, 23 Feb 2018 13:22:36 -0800 (PST)
Received: from lhreml708-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 140E76BD3BD82; Fri, 23 Feb 2018 21:22:33 +0000 (GMT)
Received: from DGGEMI401-HUB.china.huawei.com (10.3.17.134) by lhreml708-cah.china.huawei.com (10.201.108.49) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 23 Feb 2018 21:22:34 +0000
Received: from DGGEMI512-MBX.china.huawei.com ([169.254.4.157]) by dggemi401-hub.china.huawei.com ([10.3.17.134]) with mapi id 14.03.0361.001; Sat, 24 Feb 2018 05:22:24 +0800
From: Mahendra Singh Negi <mahendrasingh@huawei.com>
To: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
CC: draft-ietf-spring-conflict-resolution <draft-ietf-spring-conflict-resolution@ietf.org>, draft-ietf-ospf-segment-routing-extensions <draft-ietf-ospf-segment-routing-extensions@ietf.org>, ospf <ospf@ietf.org>
Thread-Topic: RE: RE: draft-ietf-spring-conflict-resolution/draft-ietf-ospf-segment-routing-extensions: If you please provide your inputs on the issue.
Thread-Index: AQHTrOxln5PBTZ1jX0WKGOdRzSVizg==
Date: Fri, 23 Feb 2018 21:22:23 +0000
Message-ID: <etPan.5a90860d.16e62c99.1b77@localhost>
References: <B495DF531F7B5943B1816E2031125EF8A846E542@DGGEMI512-MBX.china.huawei.com>, <85b56959d3e74ffd9ca6edbadc4d0f3c@XCH-ALN-001.cisco.com> <etPan.5a908191.200954b5.1b77@localhost>, <4e1901ac8f9f47878963f700be4d0a5d@XCH-ALN-001.cisco.com>
In-Reply-To: <4e1901ac8f9f47878963f700be4d0a5d@XCH-ALN-001.cisco.com>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
Content-Type: multipart/related; boundary="_004_etPan5a90860d16e62c991b77localhost_"; type="multipart/alternative"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ospf/_FWNY4nYzcshiFXOrAjgtHhsl_8>
Subject: Re: [OSPF] draft-ietf-spring-conflict-resolution/draft-ietf-ospf-segment-routing-extensions: If you please provide your inputs on the issue.
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ospf/>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Feb 2018 21:22:39 -0000

Thanks for the clarification.

Regards,
Mahendra
From:Les Ginsberg (ginsberg)
To:Mahendra Singh Negi
Cc:draft-ietf-spring-conflict-resolution,draft-ietf-ospf-segment-routing-extensions,ospf
Date:2018-02-24 02:38:19
Subject:RE: RE: draft-ietf-spring-conflict-resolution/draft-ietf-ospf-segment-routing-extensions: If you please provide your inputs on the issue.

Mahendra –

What is advertised depends on what is configured (right or wrong). We do not “overwrite” config based on detected conflicts – the misconfiguration has to be addressed by the network operator.

   Les


From: Mahendra Singh Negi [mailto:mahendrasingh@huawei.com]
Sent: Friday, February 23, 2018 1:03 PM
To: Les Ginsberg (ginsberg) <ginsberg@cisco.com>
Cc: draft-ietf-spring-conflict-resolution <draft-ietf-spring-conflict-resolution@ietf.org>; draft-ietf-ospf-segment-routing-extensions <draft-ietf-ospf-segment-routing-extensions@ietf.org>; ospf <ospf@ietf.org>
Subject: Re: RE: draft-ietf-spring-conflict-resolution/draft-ietf-ospf-segment-routing-extensions: If you please provide your inputs on the issue.

Dear Les,

Abrs RT1 and RT2 advertise SID 1 in area a1 10.10.10.10 SID:1 inter-area.

Now in RT1 change the configuration to SID:4.

RT1 assumes that SID:1 being originated by RT2 as SID:1 (inter-area is not yet deleted), hence Prefix conflict resolution is triggerred and SID:1 wins.

RT1 advertise 10.10.10.10 SID:1 in area a1 and 10.10.10.10 SID:4 in area a0.
In general I understand it like this : each node resolves the conflict, downloads wining SID for forwarding but advertises locally configured SID. I think advertisement should not depend on conflict-resolution, If you please clarify on this basic point.
Agreed, issue will not persist, its a transient one.

Regards,
Mahendra
From:Les Ginsberg (ginsberg)
To:Mahendra Singh Negi,draft-ietf-spring-conflict-resolution@ietf.org,draft-ietf-ospf-segment-routing-extensions@ietf.org
Cc:ospf@ietf.org
Date:2018-02-23 23:08:17
Subject:RE: draft-ietf-spring-conflict-resolution/draft-ietf-ospf-segment-routing-extensions: If you please provide your inputs on the issue.

Mahendra –

Similar to Peter, I don’t fully understand your scenario.

You claim:

10.10.10.10/SID 1 is originated by RT1
10.10.10.10/SID 3 os originated by RT3

Now you change SID config on RT1 so it advertises:
10.10.10.10/SID 4

In a short period of time RT2 should also reflect this update.

So the statement “SID:1 is forever in LSDB” makes no sense to me.

Certainly there is a transient period during which databases may have different combinations of (1,3) or (4,3) or even (1,3,4) but this will not persist.

   Les


From: Mahendra Singh Negi [mailto:mahendrasingh@huawei.com]
Sent: Thursday, February 22, 2018 8:49 PM
To: draft-ietf-spring-conflict-resolution@ietf.org<mailto:draft-ietf-spring-conflict-resolution@ietf.org>; draft-ietf-ospf-segment-routing-extensions@ietf.org<mailto:draft-ietf-ospf-segment-routing-extensions@ietf.org>
Cc: ospf@ietf.org<mailto:ospf@ietf.org>
Subject: RE: draft-ietf-spring-conflict-resolution/draft-ietf-ospf-segment-routing-extensions: If you please provide your inputs on the issue.

Dear Authors,

Amidst implementing conflict resolution for OSPF SR ( https://tools.ietf.org/html/draft-ietf-spring-conflict-resolution-05) we came across this issue.


Topology:
[cid:image001.png@01D3ACA7.574A2830]

Issue:



1.       Prefix conflict occurs at RT1 and RT2.

2.       Both RT1 and RT2 resolve the conflict and download corresponding Label for SID:1 (SID:1 wins conflict resolution).

3.       Both RT1 and RT2 advertise inter-area Extended Prefix Opaque LSA for prefix 10.10.10.10 in area a1 with SID:1.

Reference: https://tools.ietf.org/html/draft-ietf-ospf-segment-routing-extensions-24#section-7.2

&

https://tools.ietf.org/html/draft-ietf-ospf-segment-routing-extensions-24#section-5

  (If an OSPF router advertises multiple Prefix-SIDs for the same prefix, topology and algorithm, all of them MUST be ignored.)



4.       Now at RT1, user changes the  SID configuration value to 4, and still SID 1 wins the conflict resolution as in area a1 RT2 has not flushed or updated SID:1, and SID:1 is forever in LSDB.

How to fix the issue?

a)       think ABRs should advertise all the SIDs to leaking areas and MUST condition mentioned highlighted in yellow above be relaxed (i.e. update inter-area segment routing section accordingly) and let each node run conflict-resolution.

b)       On SID configuration change, RT1 Flushes the SID:1 and waits for SID:1 flushing out from the LSDB and then originates with new SID:4.(How long to wait is decided locally).


I prefer (a), if you please provide your opinion on this. We are under development, highly appreciate prompt  responses.



Regards,
Mahendra