A partial implementation of the NFD Management protocol, used to send control commands -- like registering a route -- to a locally running NFD forwarder.
This crate only implements the parts of the protocol that ndn-app needs -- it is not a complete implementation of NFD Management.
cargo add ndn-nfd-mgmt
make_commandbuilds the command Interest for a module/method pair (e.g.rib/register) andControlParameters, following NFD's/localhost/nfd/<module>/<method>/<parameters>naming convention. The caller is responsible for signing and sending it.ControlParametersonly carries a name; NFD's control commands support several more optional fields (FaceId, Cost, Flags, ...) this crate doesn't implement.ControlResponsedecodes NFD's reply: a status code, a status message, and a body.
ndn-appis an application framework that uses this crate to register routes with a local forwarder.ndn-tlvprovides the TLV encoding/decoding traits this crate's types are built on.ndn-protocolimplements the Interest and Data packet types this crate's commands are built from.
MIT
Produced as part of a Master's thesis in Computer Science.