Task #4453
closedInvestigate why node routing status lists intermediate nexthops
100%
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)
Updated by Laqin Fan almost 7 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)
)
Updated by Ashlesh Gawande almost 7 years ago
- Status changed from Code review to Closed
- % Done changed from 0 to 100
Updated by Ashlesh Gawande almost 7 years ago
- Target version set to Minor release 0.4.1