Project

General

Profile

Actions

Task #4453

closed

Investigate why node routing status lists intermediate nexthops

Added by Ashlesh Gawande about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
01/11/2018
Due date:
% Done:

100%

Estimated time:

Description

Example, in this topology: c--a--b--d
Node c has the following entry for node d.
Why does it not keep only the last one?

Destination: /ndn/d-site/%C1.Router/cs/d
NextHopList:
NextHop(Uri: udp4://1.0.0.5:6363, Cost: 10)
NextHop(Uri: udp4://1.0.0.5:6363, Cost: 20)
NextHop(Uri: udp4://1.0.0.5:6363, Cost: 30)

Actions #1

Updated by Ashlesh Gawande about 6 years ago

  • Assignee set to Laqin Fan
Actions #2

Updated by Laqin Fan about 6 years ago

  • Status changed from New to Code review

This is a bug in my previous merged patch related to routing table publisher.
I have a new patch which fixes it and the output in dry-run is:
mini-ndn> c nlsrc routing
Routing Table
Destination: /ndn/a-site/%C1.Router/cs/a
NexthopList(
NextHop(Uri: udp4://1.0.0.5:6363, Cost: 10)
)
Destination: /ndn/b-site/%C1.Router/cs/b
NexthopList(
NextHop(Uri: udp4://1.0.0.5:6363, Cost: 20)
)
Destination: /ndn/d-site/%C1.Router/cs/d
NexthopList(
NextHop(Uri: udp4://1.0.0.5:6363, Cost: 30)
)
Destination: /ndn/a-site/%C1.Router/cs/a
NexthopList(
NextHop(Uri: udp4://1.0.0.5:6363, Cost: 0)
)
Destination: /ndn/b-site/%C1.Router/cs/b
NexthopList(
NextHop(Uri: udp4://1.0.0.5:6363, Cost: 0.554153)
)
Destination: /ndn/d-site/%C1.Router/cs/d
NexthopList(
NextHop(Uri: udp4://1.0.0.5:6363, Cost: 1.33615)
)

Actions #3

Updated by Ashlesh Gawande about 6 years ago

Can you explain what the bug was?

Actions #4

Updated by Ashlesh Gawande about 6 years ago

  • Status changed from Code review to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Ashlesh Gawande about 6 years ago

  • Target version set to Minor release 0.4.1
Actions

Also available in: Atom PDF