You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the link-cost for a pre-existing neighbor at runtime
Describe the solution you'd like
It would be great if nlsrc had a neighbor command for adding/removing/updating neighbor information.
The syntax could be something like:
nlsrc neighbor add [name] PREFIX [face-uri] FACEURI [link-cost] LINK_COST
Command requests to add a neighbor. If a neighbor already exists with the same prefix and face-uri, it is updated with the specified link-cost
nlsrc neighbor destroy [name] PREFIX
Command to manually destroy a neighbor. Even if the face is still active
Describe alternatives you've considered
I tried changing the cost of the routes manually using nfdc, but it seems that these new link costs did not propagate their way to NLSR.
For example, in a two node network, when I use nfdc to edit the following routes from:
Additional context?
I'm probably not the first person to try and change a neighbor's link-cost at runtime. Did I miss some secret configuration somewhere? Maybe there is a duplicate issue for that I missed
The text was updated successfully, but these errors were encountered:
Both of these are currently "intend to add" type features, we've mostly just had labor bottlenecks for people whose research work would align with implementing this. The current best method is bringing NLSR down briefly to add a new configuration before bringing it back up.
The "alternative" method is acting more or less as I'd expect- NFD face cost is not the same as the link cost is used for routing calculations; the latter is used to set the former.
Is your feature request related to a problem? Please describe.
I'm struggling to find a way to update neighbor information at runtime.
The two things I would like to do:
Describe the solution you'd like
It would be great if
nlsrc
had a neighbor command for adding/removing/updating neighbor information.The syntax could be something like:
Describe alternatives you've considered
I tried changing the cost of the routes manually using
nfdc
, but it seems that these new link costs did not propagate their way to NLSR.For example, in a two node network, when I use nfdc to edit the following routes from:
to:
The routing table reported by nlsrc did not change:
Additional context?
I'm probably not the first person to try and change a neighbor's link-cost at runtime. Did I miss some secret configuration somewhere? Maybe there is a duplicate issue for that I missed
The text was updated successfully, but these errors were encountered: