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

Peter Psenak <ppsenak@cisco.com> Thu, 18 May 2017 08:59 UTC

Return-Path: <ppsenak@cisco.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 403F4129503 for <spring@ietfa.amsl.com>; Thu, 18 May 2017 01:59:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, 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 0tsimVDv2U7x for <spring@ietfa.amsl.com>; Thu, 18 May 2017 01:59:35 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 673CA129487 for <spring@ietf.org>; Thu, 18 May 2017 01:54:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1586; q=dns/txt; s=iport; t=1495097656; x=1496307256; h=message-id:date:from:mime-version:to:subject:references: in-reply-to:content-transfer-encoding; bh=f5ACgoVlR0Xk2szokEBL8iKkoHQAdY9Yw581K4ufuuA=; b=Uh0Uf4suGpy2DoMG1Fup1XZvC0cSrP6EaYWRWSWZgJ+aXP+yhux8hot7 BsyWhlkuGJt+Vmqvr7x3Aju9F+T/6cvU6qRU6ZmMzPFr9Dg8+/jW3S2Sp jUHD8XDYjt7ERp5ysY1C96v/4DtLt0nhPpyal0z1S+K6PnpkjuFDYt0P0 o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CMAAD0Xx1Z/xbLJq1cGQEBAQEBAQEBAQEBBwEBAQEBhDeBDI4Fc5B2lXaCDyENhSxKAoYnGAECAQEBAQEBAWsohRgBAQEBAgEBATY2ChELGAkWDwkDAgECARUwBgEMBgIBAYoXCA6vfBKKfgEBAQEBAQEBAQEBAQEBAQEBARsFhl+BXoMbilUBBJ4TkxuLBIZqlEYfOIEKLyAIGRVGhng+NgGIMQEBAQ
X-IronPort-AV: E=Sophos;i="5.38,358,1491264000"; d="scan'208";a="694498656"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 May 2017 08:54:14 +0000
Received: from [10.147.24.61] ([10.147.24.61]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id v4I8sDmv002002; Thu, 18 May 2017 08:54:14 GMT
Message-ID: <591D6136.2070208@cisco.com>
Date: Thu, 18 May 2017 10:54:14 +0200
From: Peter Psenak <ppsenak@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Chao Fu <chao.fu@ericsson.com>, "spring@ietf.org" <spring@ietf.org>
References: <VI1PR07MB1071503225586B964C69096191E40@VI1PR07MB1071.eurprd07.prod.outlook.com>
In-Reply-To: <VI1PR07MB1071503225586B964C69096191E40@VI1PR07MB1071.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/HRg0YjCuk9zf2JhxII6wkLmal3A>
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 08:59:36 -0000

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
>