RE: [rtgwg] draft-ietf-rtgwg-mrt-frr-algorithm-03

"Anil Kumar S N (VRP Network BL)" <anil.sn@huawei.com> Tue, 23 June 2015 11:04 UTC

Return-Path: <anil.sn@huawei.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4AFE31B2AF1; Tue, 23 Jun 2015 04:04:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.91
X-Spam-Level:
X-Spam-Status: No, score=-3.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 4PNqkyCem4r4; Tue, 23 Jun 2015 04:03:59 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 811151B2AED; Tue, 23 Jun 2015 04:03:58 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml404-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BXV95789; Tue, 23 Jun 2015 11:03:57 +0000 (GMT)
Received: from NKGEML410-HUB.china.huawei.com (10.98.56.41) by lhreml404-hub.china.huawei.com (10.201.5.218) with Microsoft SMTP Server (TLS) id 14.3.158.1; Tue, 23 Jun 2015 12:03:56 +0100
Received: from NKGEML512-MBX.china.huawei.com ([169.254.7.152]) by nkgeml410-hub.china.huawei.com ([10.98.56.41]) with mapi id 14.03.0158.001; Tue, 23 Jun 2015 19:03:52 +0800
From: "Anil Kumar S N (VRP Network BL)" <anil.sn@huawei.com>
To: Chris Bowers <cbowers@juniper.net>, Gábor Sándor Enyedi <gabor.sandor.enyedi@ericsson.com>, "Andras.Csaszar@ericsson.com" <Andras.Csaszar@ericsson.com>, Alia Atlas <akatlas@juniper.net>, "abishek@ece.arizona.edu" <abishek@ece.arizona.edu>
Subject: RE: [rtgwg] draft-ietf-rtgwg-mrt-frr-algorithm-03
Thread-Topic: [rtgwg] draft-ietf-rtgwg-mrt-frr-algorithm-03
Thread-Index: AdCsIyHvkAdI4JvZScukBh5syZhVqAARUGPQAE6/CrA=
Date: Tue, 23 Jun 2015 11:03:50 +0000
Message-ID: <327562D94EA7BF428CD805F338C31EF04FB44296@nkgeml512-mbx.china.huawei.com>
References: <327562D94EA7BF428CD805F338C31EF04FB4412B@nkgeml512-mbx.china.huawei.com> <BLUPR05MB29219107600DC4002B04D4AA9A20@BLUPR05MB292.namprd05.prod.outlook.com>
In-Reply-To: <BLUPR05MB29219107600DC4002B04D4AA9A20@BLUPR05MB292.namprd05.prod.outlook.com>
Accept-Language: en-US, zh-CN
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.18.212.150]
Content-Type: multipart/alternative; boundary="_000_327562D94EA7BF428CD805F338C31EF04FB44296nkgeml512mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtgwg/quSeDToUVUsKziWBCY6I66g4Eqc>
Cc: "rtgwg-owner@ietf.org" <rtgwg-owner@ietf.org>, "rtgwg@ietf.org" <rtgwg@ietf.org>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Jun 2015 11:04:03 -0000

Hi Chirs,

gadag_root.localroot will remain as  None at the end of algorithm and gadag_root.block_id will be 0 (rest of the nodes in the block will be 1 higher than gadag_root.block_id)
Below psudocode will return false while comparing a node in a block and gadag_root.

                Please correct me if I am wrong.

In_Common_Block(x, y)
  if ( (x.block_id is y.block_id)
       or (x is y.localroot) or (y is x.localroot) )
     return true
  return false

Thanks & Regards
Anil S N

"Be liberal in what you accept, and conservative in what you send" - Jon Postel


From: Chris Bowers [mailto:cbowers@juniper.net]
Sent: 22 June 2015 03:08
To: Anil Kumar S N (VRP Network BL); Gábor Sándor Enyedi; Andras.Csaszar@ericsson.com; Alia Atlas; abishek@ece.arizona.edu
Cc: rtgwg@ietf.org; rtgwg-owner@ietf.org
Subject: RE: [rtgwg] draft-ietf-rtgwg-mrt-frr-algorithm-03

Anil,


Thanks.  With respect to comment 1, I think your description is the expected behavior for block-ids.  The localroot for a given block will not have the same block-id as the rest of the nodes in the block.  This is taken into account in In_Common_Block() which not only compares block-ids, but also checks if either node is the localroot for the other node.  It was not initially obvious to me why it was done this way, but if you think about a topology where a given node is the localroot for two different blocks, it makes sense that the localroot can't share the same block-id with both blocks.  Therefore, the simplest thing is to have the localroot not share the block-id with either of the blocks.

I incorporated comment 2 in the github commit at:
https://github.com/cbowers/draft-ietf-rtgwg-mrt-frr-algorithm/commit/b5d1fe5354d44e9416f27b0fac1f99a66e54a79c

Chris

From: Anil Kumar S N (VRP Network BL) [mailto:anil.sn@huawei.com]
Sent: Sunday, June 21, 2015 8:07 AM
To: Chris Bowers; Gábor Sándor Enyedi; Andras.Csaszar@ericsson.com<mailto:Andras.Csaszar@ericsson.com>; Alia Atlas; abishek@ece.arizona.edu<mailto:abishek@ece.arizona.edu>
Cc: rtgwg@ietf.org<mailto:rtgwg@ietf.org>; rtgwg-owner@ietf.org<mailto:rtgwg-owner@ietf.org>
Subject: [rtgwg] draft-ietf-rtgwg-mrt-frr-algorithm-03

HI Authors,

Comment 1:
In below topology if [R] is the local root of the topology, Block id of R is 0 and Block ID of all other nodes in the topology as per psudo-code, I feel it should be 0/1 for all.
When Assign_Block_ID is invoked, root gets the blockid 0, then since first DFS child local root is GADAG root block id is incremented to 1 and assigned, for all other DFS child block-id
Is assigned without incrementing it gets the value 1.

             [E]----|
            (5,0)   |
              |     |
              |     |
             [R]   [D]---[C]
            (0,0) (4,0) (3,0)
              |           |
              |           |
             [A]---------[B]
            (1,0)       (2,0)



global_var: max_block_id

                 Assign_Block_ID(x, cur_block_id)
                   x.block_id = cur_block_id
                   foreach DFS child c of x
                      if (c.local_root is x)
                         max_block_id += 1
                         Assign_Block_ID(c, max_block_id)
                      else
                        Assign_Block_ID(c, cur_block_id)

                 max_block_id = 0
                 Assign_Block_ID(gadag_root, max_block_id)

Comment 2:  "This is necessary for the DFS in
   Lowpoint_Visit above, where the selection order of the interfaces to
   explore results in different trees."

This sentence can be changed,
"This is necessary for the DFS in  Lowpoint_Visit  as per section 4.3. , where the
selection order of the interfaces to explore results in different trees."

5.1.  Interface Ordering

   To ensure consistency in computation, all routers MUST order
   interfaces identically down to the set of links with the same metric
   to the same neighboring node.  This is necessary for the DFS in
   Lowpoint_Visit above, where the selection order of the interfaces to
   explore results in different trees.  Consistent interface ordering is
   also necessary for computing the GADAG, where the selection order of
   the interfaces to use to form ears can result in different GADAGs.
   It is also necessary for the topological sort described in
   Section 5.8, where different topological sort orderings can result in
   undirected links being added to the GADAG in different directions.

Thanks & Regards
Anil S N

"Be liberal in what you accept, and conservative in what you send" - Jon Postel