Project

General

Profile

Actions

Task #4169

closed

Write unit test to ensure selection of cheapest next-hop

Added by Nicholas Gordon over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
07/06/2017
Due date:
% Done:

0%

Estimated time:

Description

Given a topology where router A's neighbor X can reach some prefix P at two destinations D1 and D2, it's important to only register the route in NFD with the minimum cost.

Currently, two NextHops are only considered equal if both the Face URI and the cost are equal. In other cases, when the NextHop is being added to the NextHopList for the FIB, it will use the cheaper of the two costs.

Since this is such an important property of efficient routing, we should have a unit test to verify that this occurs.

Actions #1

Updated by Nicholas Gordon over 6 years ago

  • Status changed from In Progress to Code review
Actions #2

Updated by Nicholas Gordon over 6 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF