Problem of assigning link-cost to "zero" for neighbors in Hyperbolic Routing (HR)
The cost of neighbors in HR is installed as zero. However, the local application can have a higher cost. For example, while using auto-prefix-propagation, the cost is picked from the nfd.conf file (https://github.com/named-data/NFD/blob/master/nfd.conf.sample.in#L447) and this can be greater than zero. In such a case, an interest that is supposed to go towards the local application will be forwarded towards the neighbor by NFD.
Updated by Junxiao Shi 6 months ago
In #2010-3, @Beichuan suggests:
Define a range for local applications, and a range for external sources.
The range for local applications is smaller, so that they are preferred.
One simple solution is adding 231 to every HR cost when inserting to the RIB.
Then, local applications can use any cost below 231, and they would be preferred before neighbors.