Actions
Task #1409
closedInterest loop test scenario
Description
Topology:
->A---->B--
| |
-----C<----
It's okay to have A,B,C on same Ethernet switch and in same IP subnet, but multicast must be disabled. The tunnels will have this logical topology.
All are NDN nodes.
Script is invoked on host A. Script should control other hosts over ssh.
Arguments: strategy under test.
Steps:
- Start NFD on A,B,C.
- On host A, create UDP face to host B, and add nexthop for
ndn:/test-loop
toward this face.
On host B, create UDP face to host C, and add nexthop forndn:/test-loop
toward this face.
On host C, create UDP face to host A, and add nexthop forndn:/test-loop
toward this face. - On every host, set strategy of
ndn:/test-loop
to strategy under test. - On host A, execute ndn-traffic-client to send 100 Interests to
ndn:/test-loop/A/<random>
. - On every host, execute nfd-status to see face counters.
Fail if NInInterests or NOutInterests counter of a UDP face is greater than 200.
Script can assume integrated test suite is cloned to all hosts, necessary programs are installed and accessible in $PATH, and current user can ssh to other hosts and has sudo privilege.
Actions