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

"Les Ginsberg (ginsberg)" <ginsberg@cisco.com> Fri, 23 February 2018 21:08 UTC

Return-Path: <ginsberg@cisco.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 1F2B2124C27; Fri, 23 Feb 2018 13:08:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.53
X-Spam-Level:
X-Spam-Status: No, score=-14.53 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, 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
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 L6dcoXjR75m1; Fri, 23 Feb 2018 13:08:08 -0800 (PST)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F462124207; Fri, 23 Feb 2018 13:08:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=32903; q=dns/txt; s=iport; t=1519420088; x=1520629688; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=j6ik1Yb3EoNc5p5ZdyWH5twId4t1udiGqbOvDVjtQfk=; b=UQGT1ChoAc0U7FbWB/MYRWre0ooS5a6te9KYUmxgFAfICy468QAbHE7s pWutKNtJr4QXnrKxImbZY9bllIgJJw7wW42gpXzITUYDeUlvxvUmx4WcL bp5d/MAJGq80t/8mqIRkX9Tc60G0CfcmLFU5qjYk/Y04yhrjbOl135vJF M=;
X-Files: image001.png : 7156
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AoAQC2gZBa/5NdJa1dGQEBAQEBAQEBAQEBAQcBAQEBAYJadWZwKAqNb417ggKBFpZRFIICBwECJYUOAoI4VBgBAgEBAQEBAQJrKIUjAQEBBAUgCAFLEAIBCBEDAQEBBgEBARgDBAcCBRABDgwUCQgBAQQOBAEGAgaKFRCqQhGDToh5gh4BAQEBAQEBAQEBAQEBAQEBAQEBAQEOCgWFGIIngVeBZoMtgy4BAQIBgTZPCRaFRgWkQgkChyEBgQWNXoIohimLfYscgnGJcQIRGQGBOwEfOYFRcBWCfYJUHBmBbXgBjA+BGQEBAQ
X-IronPort-AV: E=Sophos;i="5.47,383,1515456000"; d="png'150?scan'150,208,217,150";a="74542212"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Feb 2018 21:08:07 +0000
Received: from XCH-RCD-004.cisco.com (xch-rcd-004.cisco.com [173.37.102.14]) by rcdn-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id w1NL872l023830 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 23 Feb 2018 21:08:07 GMT
Received: from xch-aln-001.cisco.com (173.36.7.11) by XCH-RCD-004.cisco.com (173.37.102.14) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 23 Feb 2018 15:08:06 -0600
Received: from xch-aln-001.cisco.com ([173.36.7.11]) by XCH-ALN-001.cisco.com ([173.36.7.11]) with mapi id 15.00.1320.000; Fri, 23 Feb 2018 15:08:06 -0600
From: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
To: Mahendra Singh Negi <mahendrasingh@huawei.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: draft-ietf-spring-conflict-resolution/draft-ietf-ospf-segment-routing-extensions: If you please provide your inputs on the issue.
Thread-Index: AdOrmDoKtvH811w7SQ6U3oTJ9e/oJwAxyePAABseD4AAFApegAAMeWVQ
Date: Fri, 23 Feb 2018 21:08:06 +0000
Message-ID: <4e1901ac8f9f47878963f700be4d0a5d@XCH-ALN-001.cisco.com>
References: <B495DF531F7B5943B1816E2031125EF8A846E542@DGGEMI512-MBX.china.huawei.com>, <85b56959d3e74ffd9ca6edbadc4d0f3c@XCH-ALN-001.cisco.com> <etPan.5a908191.200954b5.1b77@localhost>
In-Reply-To: <etPan.5a908191.200954b5.1b77@localhost>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.24.98.188]
Content-Type: multipart/related; boundary="_004_4e1901ac8f9f47878963f700be4d0a5dXCHALN001ciscocom_"; type="multipart/alternative"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ospf/GWgc9WKwB7PI_onTMgx36DJp1vo>
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:08:11 -0000

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