Re: [spring] One question on E-flag of ABR/ASBR in OSPF SR extension

Chao Fu <chao.fu@ericsson.com> Thu, 18 May 2017 09:21 UTC

Return-Path: <chao.fu@ericsson.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F352212EB02 for <spring@ietfa.amsl.com>; Thu, 18 May 2017 02:21:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.onmicrosoft.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 Y5aEaqbhElNH for <spring@ietfa.amsl.com>; Thu, 18 May 2017 02:21:16 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (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 122E812949A for <spring@ietf.org>; Thu, 18 May 2017 02:15:57 -0700 (PDT)
X-AuditID: c1b4fb30-4163b9a0000007db-9e-591d664c9cfd
Received: from ESESSHC017.ericsson.se (Unknown_Domain [153.88.183.69]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id 79.15.02011.C466D195; Thu, 18 May 2017 11:15:56 +0200 (CEST)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.69) with Microsoft SMTP Server (TLS) id 14.3.339.0; Thu, 18 May 2017 11:15:54 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=N8EKYcB/P7F2pden4SM4pDOj12JL3SLbHVfgwweglRM=; b=FIr3W5xrlHQj1VoBC4z2qcFcSQtG846JThl4IohBnosMQ6+5GCcEPh+sB7yE1LzR0MK0yjFnk5fjjkGUzS1ECeaO3mzWesBbisOMVQjiCOElwuyCTh/tg1HFkPxo2yQqJH+7N45KHYqHdzFa0E1Da18gRCdJODxoj8eKkDCDP4Y=
Received: from VI1PR07MB1071.eurprd07.prod.outlook.com (10.163.168.19) by VI1PR07MB1072.eurprd07.prod.outlook.com (10.163.168.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.8; Thu, 18 May 2017 09:15:53 +0000
Received: from VI1PR07MB1071.eurprd07.prod.outlook.com ([10.163.168.19]) by VI1PR07MB1071.eurprd07.prod.outlook.com ([10.163.168.19]) with mapi id 15.01.1101.011; Thu, 18 May 2017 09:15:53 +0000
From: Chao Fu <chao.fu@ericsson.com>
To: Peter Psenak <ppsenak@cisco.com>, "spring@ietf.org" <spring@ietf.org>
Thread-Topic: [spring] One question on E-flag of ABR/ASBR in OSPF SR extension
Thread-Index: AdLPqkMsp7Qw/GF8TGW2zt4btSR+jQACg/IAAABBuAA=
Date: Thu, 18 May 2017 09:15:53 +0000
Message-ID: <VI1PR07MB1071C58A7353F89F2A16F3A691E40@VI1PR07MB1071.eurprd07.prod.outlook.com>
References: <VI1PR07MB1071503225586B964C69096191E40@VI1PR07MB1071.eurprd07.prod.outlook.com> <591D6136.2070208@cisco.com>
In-Reply-To: <591D6136.2070208@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [106.38.5.68]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB1072; 7:gud6sLS4Ht/I6SLd4pmejrEGNok3NnkPCeXbycvAvbcoGBWD2lAmCQ7TpAX2w9GIW9yQEPT/7WeRH5pxAY4jovlMgVC0KEinhi9ezfPmRoqZo0YKudiDCtPtRg0X4xxzg8yFgmrjUKSh1OqchkY9UYsNj/lg1WsKRTbjIs3fnxsXAPQfuX/0LXTdSAZwVA3Hioy9hxa7pcZHOe9sDTJ/pehRI39EwRtBo4QwI3VZ8AksaD/0+BoFDJlQMh5CtKkR3RQx+sU2nb20n0N6RRDnYEzRJh6CghjS4kpkVGPlYOoIKPDVdhFXb0M4gYuF3Vm/CA8V9K4N1D3sfnTQXqJaJQ==
x-ms-traffictypediagnostic: VI1PR07MB1072:
x-ms-office365-filtering-correlation-id: 3d40c273-7368-4982-4414-08d49dce7c1d
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:VI1PR07MB1072;
x-microsoft-antispam-prvs: <VI1PR07MB1072631587C1B67C736CE0B291E40@VI1PR07MB1072.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(788757137089)(95692535739014);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(6041248)(20161123555025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123560025)(6072148); SRVR:VI1PR07MB1072; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB1072;
x-forefront-prvs: 0311124FA9
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(39840400002)(39450400003)(39400400002)(39850400002)(39410400002)(13464003)(24454002)(6436002)(7696004)(6306002)(122556002)(76176999)(2501003)(54356999)(5890100001)(50986999)(6116002)(86362001)(38730400002)(99286003)(9686003)(3280700002)(55016002)(6246003)(2950100002)(77096006)(3846002)(102836003)(33656002)(53936002)(6506006)(7736002)(3660700001)(81166006)(478600001)(8676002)(229853002)(8936002)(2900100001)(53546009)(66066001)(189998001)(25786009)(5660300001)(74316002)(966005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR07MB1072; H:VI1PR07MB1071.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2017 09:15:53.3225 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB1072
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0iTcRTG+b+X+U6a/Z23k5eUVdisvBGlZRdDQSOlD5IXIp35puKc+r4m aSBWmDSzjCTRyhtboIairTR1sy3NHF0khUozpcQYItL8IGJIbu+Cvv2e8xwezjkchpRW0d5M rqqY5VQKpUzkTDWk9MUeOHPJLzX0mdU3on+wShQxNrGBThJxdRs9dJxGs06cJdKco7JYZW4J y4Ucz3DOuWPQoUKN9Er76KxTBWp3USMxA/ggVD42IDVyZqR4BMHq5AApiLcIxro7KZugcA0J m4ZvToLzgID79dMO8QbB/MzylmAYEd4Nra1htlx3HA/m+m4nG7vhBGizfqaFeiK8GJ8hBT4C N9Qj9h4K74H63lpkYwk+D1/165SNpfgqaNte2vvFWA7mMZM9B2FPWDM/JWxMYi+YXmgmhH0w aIY+kgJ7gOXnJm2bE+EaBO3tGyLB8AfztNFJYD/41FxtPwDg2yS8NluQYASBrnLK0ZQA2jm9 I7UcdDPDjnoeVA7MOzgFxiyLtBBkJeD5xKJjJF/obOhyGE00fPnwhxbu4g2zU7dQLQpq/G8N gfdDy6BVJPA+eNK6RDbaT+MK4w0LVAuiOpAHz/KZ+dnh4cEsl3uR5wtUwSq2uBdtvYdRtxHa jyy/ok0IM0i2TVJ22C9VSitK+NJ8EwKGlLlL+i5slSRZitIylitI5y4rWd6EfBhK5iWJNkyk SHG2opjNY9lClvvnEozYuwKpXUN+nKa8Hmm/Gw2G4cmdcn2i4l6A/Npo8om6jlduroV7Tz28 fjfWL01pDPDIPHouuVTyu3fHAPeOl8cPc4HiTc/lyF0uSVGR2iISZxDUsbmmvsDMnvG2laWh xEOp9JCmetWnqzx5u7HcTR8TWLRi5KE2Jul9uugmH7zmnySj+BxFWBDJ8Yq/lWRsfRoDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/0GcQWDcrrPNqc4IM0wVIpoJ31cY>
Subject: Re: [spring] One question on E-flag of ABR/ASBR in OSPF SR extension
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Stacked Tunnels for Source Routing \(STATUS\)." <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 09:21:18 -0000

Hi Peter,

It's right if the NP-flag is not set then the received E-flag is ignored. But, if the NP-flag is SET because the prefix is not directly attached to the ABR, E-flag will not be ignored and the upstream neighbor will replace the Prefix-SID with the Explicit-NULL label 0. I guess actually the packet should be forwarded with the original prefix-SID, and no need to pop the 0 label and look up path again. 

Regards,
Chao Fu


-----Original Message-----
From: Peter Psenak [mailto:ppsenak@cisco.com] 
Sent: Thursday, May 18, 2017 16:54
To: Chao Fu <chao.fu@ericsson.com>; spring@ietf.org
Subject: Re: [spring] One question on E-flag of ABR/ASBR in OSPF SR extension

Hi Chao,

On 18/05/17 09:44 , Chao Fu wrote:
> Hi,
>
> Should we clarify how to set E-flag for ABR/ASBR in OSPF SR extension?
>
> In
> https://www.ietf.org/id/draft-ietf-ospf-segment-routing-extensions-14.
> txt, the draft describes how to set NP-flag on ABR and ASBR (Section 5 
> [Page
> 14]):
>
>     The NP-Flag (No-PHP) MUST be set for Prefix-SIDs allocated to 
> inter-
>
>     area prefixes that are originated by the ABR based on intra-area 
> or
>
>     inter-area reachability between areas.  When the inter-area prefix 
> is
>
>     generated based on a prefix which is directly attached to the ABR,
>
>     the NP-Flag SHOULD NOT be set.
>
>     The NP-Flag (No-PHP) MUST be be set for Prefix-SIDs allocated to
>
>     redistributed prefixes, unless the redistributed prefix is 
> directly
>
>     attached to the ASBR, in which case the NP-flag SHOULD NOT be set.
>
> However, the E-flag (Explicit-Null Flag) is not described. Should we 
> clarify it also? I think E-flag SHOULD NOT be set if the prefix is not 
> directly attached to the ABR or ASBR, and if necessary, it SHOULD be 
> set if the prefix is directly attached to the ABR or ASBR.

The existing draft says:

"If the NP-flag is not set then the received E-flag is ignored."

Given that the draft clearly states when the NP-flag is set on ABR/ASBR above statement should be sufficient.

thanks,
Peter


>
> Regards,
>
> Chao Fu
>
>
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>