|
1 | 1 | # `@ndn/nfdmgmt` Interoperability Test |
2 | 2 |
|
3 | | -`NDNTS_UPLINK` must point to a running NFD or YaNFD as a local-scope face, such as: |
| 3 | +Test environment: |
4 | 4 |
|
5 | | -* `export NDNTS_UPLINK=unix:///run/nfd/nfd.sock` |
6 | | -* `export NDNTS_UPLINK=tcp://127.0.0.1:6363` |
| 5 | +* Ubuntu 26.04 |
| 6 | +* ndn-cxx 0.9.0-39-g093f5006 |
| 7 | +* Node.js 26.5.0 |
7 | 8 |
|
8 | | -To perform the tests, run one of these scripts and observe the stdout: |
| 9 | +Reference implementation: |
| 10 | + |
| 11 | +* NFD 24.07-34-g146968d3 |
| 12 | + * Launched with `nfd.conf.sample` |
| 13 | +* [NDNd](https://github.com/named-data/ndnd) commit `c45174db7d18dc5b9b5d632d1439e8a5c945fca2` (2026-07-11) |
| 14 | + * YaNFD launched with `yanfd.sample.yml` |
| 15 | + |
| 16 | +Ensure test script points to the running NFD or YaNFD as a local-scope face with one of these commands: |
| 17 | + |
| 18 | +```bash |
| 19 | +export NDNTS_UPLINK=unix:///run/nfd/nfd.sock |
| 20 | +export NDNTS_UPLINK=tcp://127.0.0.1:6363 |
| 21 | +``` |
| 22 | + |
| 23 | +Test [Forwarder Status](https://redmine.named-data.net/projects/nfd/wiki/ForwarderStatus): |
9 | 24 |
|
10 | 25 | ```bash |
11 | 26 | corepack pnpm literate integ/nfdmgmt-interop/general.ts |
| 27 | +``` |
| 28 | + |
| 29 | +Test [Face Management](https://redmine.named-data.net/projects/nfd/wiki/FaceMgmt) and [RIB Management](https://redmine.named-data.net/projects/nfd/wiki/RibMgmt): |
| 30 | + |
| 31 | +```bash |
12 | 32 | corepack pnpm literate integ/nfdmgmt-interop/face-rib.ts |
| 33 | +``` |
| 34 | + |
| 35 | +Test [Strategy Choice Management](https://redmine.named-data.net/projects/nfd/wiki/StrategyChoice): |
| 36 | + |
| 37 | +```bash |
13 | 38 | corepack pnpm literate integ/nfdmgmt-interop/strategy.ts |
| 39 | +``` |
| 40 | + |
| 41 | +Test [Content Store Management](https://redmine.named-data.net/projects/nfd/wiki/CsMgmt) (incompatible with YaNFD due to [NDNd issue 196](https://github.com/named-data/ndnd/issues/196)): |
| 42 | + |
| 43 | +```bash |
14 | 44 | corepack pnpm literate integ/nfdmgmt-interop/cs.ts |
| 45 | +``` |
15 | 46 |
|
| 47 | +Test [Prefix Announcement](https://redmine.named-data.net/projects/nfd/wiki/RibMgmt#Register-a-route-with-Prefix-Announcement-object) (incompatible with YaNFD due to [NDNd issue 195](https://github.com/named-data/ndnd/issues/195)): |
| 48 | + |
| 49 | +```bash |
16 | 50 | env NDNTS_NFDREGANN=1 corepack pnpm literate integ/nfdmgmt-interop/prefixann.ts |
17 | 51 | ndnping -c 20 /localhost/demo-prefixann |
18 | 52 | ``` |
0 commit comments