Project

General

Profile

Feature #4572

Updated by Nicholas Gordon about 6 years ago

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` -f` 

 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.

Back