Project

General

Profile

Actions

Feature #4572

open

nfdc route add: support local+remote FaceUri matching to identify nexthop face

Added by Nicholas Gordon over 6 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Tools
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Currently, if NFD is running on a machine with a NIC using ethernet multicast, routes can be added to that Face in the ordinary way, by using the ether:// address. However, if that machine has more than one NIC, then more than one device is using that ethernet multicast address, and trying to add routes as before will cause nfdc to tell you that you have to use Face ID instead, and list the Faces you can use.

This is a fine approach for interactive, user sessions, but this means that in a script you have to do something like:

nfdc face list | grep 'ether://' | grep 'eth0' | cut -d' ' -f 1 | cut -d'=' -f 2

in order to get the Face ID of eth0. This works now, but relying on the output of nfdc as being parseable is brittle. It would be preferrable if the device you want to add the route to could be specified in the invocation somehow.

Actions

Also available in: Atom PDF