Re: [OSPF] [spring] draft-psenak-ospf-segment-routing-extensions-05

Peter Psenak <ppsenak@cisco.com> Mon, 02 February 2015 16:52 UTC

Return-Path: <ppsenak@cisco.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85A711A1AFB; Mon, 2 Feb 2015 08:52:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 t0555i1CK30M; Mon, 2 Feb 2015 08:52:45 -0800 (PST)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ADAB31A03A2; Mon, 2 Feb 2015 08:52:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4195; q=dns/txt; s=iport; t=1422895965; x=1424105565; h=message-id:date:from:mime-version:to:subject:references: in-reply-to:content-transfer-encoding; bh=Waccd02ug5DbuwFppkDFI/kcI4qstmEILFHFJzBsNBk=; b=fo2lz9cWyN6CEvl5ZSh+ehVvFMMIMZJA4wYbhGkawrjvpecWw+WMQujP d1i2O36NfDg2OZmLsebFG+JaTp2Q7IqOVVmUEhqieawjUeYWkzCQrVdtr 6j/uLUOSY38zZmRHFFHa2DWeRhpP1HegsieQVJnl68iTwElagZVz+Cg0T 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DoBAA2qs9U/xbLJq1bg1hZgwHBXQqFcQKBYQEBAQEBfYQNAQEEAQEBIA8BBTYKEQsYAgIFFgsCAgkDAgECARUwBgEMBgIBAYgpDcBIlWoBAQEBAQEBAQEBAQEBAQEBAQEWBIEhjl6CaIFBAQSFS5Jjhj2MHyKCAhyBUT0xgkIBAQE
X-IronPort-AV: E=Sophos;i="5.09,507,1418083200"; d="scan'208";a="335998441"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP; 02 Feb 2015 16:52:42 +0000
Received: from [10.148.128.133] ([10.148.128.133]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id t12GqfaM007253; Mon, 2 Feb 2015 16:52:42 GMT
Message-ID: <54CFAB4F.9060306@cisco.com>
Date: Mon, 02 Feb 2015 17:52:31 +0100
From: Peter Psenak <ppsenak@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: "Anil Kumar S N (VRP Network BL)" <anil.sn@huawei.com>, OSPF WG List <ospf@ietf.org>, "spring@ietf.org" <spring@ietf.org>
References: <327562D94EA7BF428CD805F338C31EF02B70A76D@nkgeml512-mbx.china.huawei.com>
In-Reply-To: <327562D94EA7BF428CD805F338C31EF02B70A76D@nkgeml512-mbx.china.huawei.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/ospf/hZZpT-5MHEA_YAkAMVkPtth2FwM>
Subject: Re: [OSPF] [spring] draft-psenak-ospf-segment-routing-extensions-05
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Mon, 02 Feb 2015 16:52:47 -0000

Anil,

Adj-SID is a link attribute. Link is identified the same way as it is 
identified in the Router LSA - link-type, link-id, link-data.

for unnumbered link:

link-type = 1
link-id = Neighboring router's Router ID
link-data = interface's ifIndex

So if RTA wants to use a particular link between RTB and RTC, it needs 
to know the ifIndex of that link and pick the link based on that.

regards,
Peter

On 2/2/15 15:39 , Anil Kumar S N (VRP Network BL) wrote:
> Hi All,
>
>       I have a question on Adjacency Segment Identifier:
>
> How will RTA indentify and map adj-labels originated by RTB (having
> unnumbered point-to-point connections b/w RTB and RTC) among labels to
> which link ?
>
> Router ID
>
> 1.1.1.1            2.2.2.2                     3.3.3.3
>
>                     +-------+  P2p Links 1-5   +-------+  
>
>                     |       +-------------+----+       |
>
>                     |       |                  |       |
>
> +-------+          |       +------------------+       |
>
> |       |          |       |                  |       |
>
> |  RTA  +----------+  RTB  +------------------+  RTC  |
>
> |       |          |       |                  |       |
>
> +-------+          |       +------------------+       |
>
>                     |       |                  |       |
>
>                     |       +------------------+       |
>
>                     |       |                  |       |
>
>                     +-------+                  +-------+
>
> Router vertex 2.2.2.2
>
> LinkType  LinkId          LinkData        Metric  IfIndex  IfType
>
> P2P       1.1.1.1         11.0.0.112      100     0        NULL
>          >> Connected to Nbr vertex 1.1.1.1
>
> P2P       3.3.3.3         12.0.0.112      100     0        NULL
>          >> Connected to Nbr vertex 3.3.3.3
>
> P2P       3.3.3.3         13.0.0.112      100     0        NULL
>          >> Connected to Nbr vertex 3.3.3.3
>
> P2P       3.3.3.3         14.0.0.112      100     0        NULL
>          >> Connected to Nbr vertex 3.3.3.3
>
> P2P       3.3.3.3         15.0.0.112      100     0        NULL
>          >> Connected to Nbr vertex 3.3.3.3
>
> P2P       3.3.3.3         16.0.0.112      100     0        NULL
>          >> Connected to Nbr vertex 3.3.3.3
>
> Quick Reference RFC 2328 A.4.2 Router-LSAs [Link Type]
>
> Type
> A quick description of the router link. One of the following.
> Note that host routes are classified as links to stub networks
> with network mask of 0xffffffff.
>
> Type Description
> __________________________________________________
> 1 Point-to-point connection to another router
> 2 Connection to a transit network
> 3 Connection to a stub network
> 4 Virtual link
>
> Link ID
> Identifies the object that this router link connects to. Value
> depends on the link's Type. When connecting to an object that
> also originates an LSA (i.e., another router or a transit
> network) the Link ID is equal to the neighboring LSA's Link
> State ID. This provides the key for looking up the neighboring
> LSA in the link state database during the routing table
> calculation. See Section 12.2 <#Title_12.2>for more details.
>
> Type Link ID
> ______________________________________
> 1 Neighboring router's Router ID
> 2 IP address of Designated Router
> 3 IP network/subnet number
> 4 Neighboring router's Router ID
>
>
> Link Data
> Value again depends on the link's Type field. For connections to
> stub networks, Link Data specifies the network's IP address
> mask. For unnumbered point-to-point connections, it specifies
> the interface's MIB-II [Ref8] <#BibRef_Ref8>ifIndex value. For the other
> link
> types it specifies the router interface's IP address. This
> latter piece of information is needed during the routing table
> build process, when calculating the IP address of the next hop.
> See Section 16.1.1 <#Title_16.1.1>for more details.
>
> With Regards
>
> Anil S N
>
>
>
> _______________________________________________
> OSPF mailing list
> OSPF@ietf.org
> https://www.ietf.org/mailman/listinfo/ospf
>