This package is part of NDNts, Named Data Networking libraries for the modern web.
This package enables interaction with the NDN-DPDK high-speed forwarder.
It can create faces (either UDP or memif) for the NDNts application and perform prefix registrations.
Currently, there are several limitations when using this package:
Prefix registration replaces a FIB entry, and does not preserve other prefix registrations on the same prefix.
If the application crashes, the face will not be closed on NDN-DPDK side.
constgqlServer = process.env.DEMO_DPDKMGMT_GQLSERVER; constlocalHost = process.env.DEMO_DPDKMGMT_LOCAL; constscheme = process.env.DEMO_DPDKMGMT_MEMIF === "1" ? "memif" : "udp"; if (!gqlServer) { console.log(` To run @ndn/dpdkmgmt demo, set the following environment variables: DEMO_DPDKMGMT_GQLSERVER= NDN-DPDK forwarder management endpoint (required) DEMO_DPDKMGMT_LOCAL= IP address to reach local host from NDN-DPDK (optional) DEMO_DPDKMGMT_MEMIF=1 use memif instead of UDP (optional) `); process.exit(0); }
@ndn/dpdkmgmt
This package is part of NDNts, Named Data Networking libraries for the modern web.
This package enables interaction with the NDN-DPDK high-speed forwarder. It can create faces (either UDP or memif) for the NDNts application and perform prefix registrations.
Currently, there are several limitations when using this package: