Project

General

Profile

Actions

Bug #2018

closed

FIB installs more faces for a prefix than allowed by the conf file

Added by Vince Lehman over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
10/02/2014
Due date:
% Done:

100%

Estimated time:

Description

Currently, Fib::removeOldNextHopsFromFibEntryAndNfd simply checks if the route exists in the routing table. If the route does not, it is removed from the prefix in NFD's FIB. Since NLSR limits the number of faces per prefix: a route can be installed, the routing table is later recalculated, a more optimal route is installed, and the previous route will not be removed since it is still a valid route in the routing table.

e.g

max-faces-per-prefix == 2

Before:

FIB
Name   NextHops
/a/b   (id=1, cost=0), (id=2, cost=25)

The routing table is recalculated and route (id=3, cost=10) is added

After:

FIB
Name   NextHops
/a/b   (id=1, cost=0), (id=3, cost=10), (id=2, cost=25)

This violates max-faces-per-prefix == 2
Actions #1

Updated by Vince Lehman over 9 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 90
Actions #2

Updated by Vince Lehman over 9 years ago

  • Status changed from Code review to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF