Task #4453
closed
Investigate why node routing status lists intermediate nexthops
Added by Ashlesh Gawande almost 7 years ago.
Updated over 6 years ago.
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)
- Assignee set to Laqin Fan
- 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)
)
Can you explain what the bug was?
- Status changed from Code review to Closed
- % Done changed from 0 to 100
- Target version set to Minor release 0.4.1
Also available in: Atom
PDF