tree: a45aa52cb8e0d927f2b9e06dd6fa454ca605cbcd [path history] [tgz]
  1. channel-module.t.cpp
  2. command-definition.t.cpp
  3. command-parser.t.cpp
  4. cs-module.t.cpp
  5. execute-command-fixture.hpp
  6. face-module.t.cpp
  7. fib-module.t.cpp
  8. format-helpers.t.cpp
  9. forwarder-general-module.t.cpp
  10. help.t.cpp
  11. mock-nfd-mgmt-fixture.hpp
  12. nfdc-batch.t.txt
  13. README.md
  14. rib-module.t.cpp
  15. status-fixture.hpp
  16. status-report.t.cpp
  17. strategy-choice-module.t.cpp
tests/tools/nfdc/README.md

Manual test for nfdc batch mode

To run the test from this folder

nfdc -f nfdc-batch.t.txt

nfdc --batch nfdc-batch.t.txt

If everything works, it should execute 3 commands with example output like this in both cases (can be different depending on the NFD runtime):

face-exists id=263 local=udp4://192.168.100.240:6363 remote=udp4://192.0.2.1:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B mtu=8800
route-add-accepted prefix=/ nexthop=264 origin=static cost=0 flags=child-inherit expires=never
route-add-accepted prefix=/test2/foo%20bar nexthop=265 origin=static cost=0 flags=child-inherit expires=never
CS information:
  capacity=65536
     admit=on
     serve=on
  nEntries=14
     nHits=0
   nMisses=53