Actions
Task #1362
closedTCP/UDP tunnel test scenario
Description
Test correctness of unicast faces.
Build three virtual machines connected via IP network as A-R-B.
Host A and B are NDN nodes.
Host R is an IP router, and is not a NDN forwarder. This is required in the topology to avoid host A and B communicate over multicast.
- Script is invoked on host A. Command line arguments:
- SSH hostname for host B.
- FaceUri of host B's forwarder, which could be tcp4, tcp6, udp4, udp6.
- Start NFD on A and B.
- Script should control host B via ssh.
- On host A, invoke
nfdc
to initiate a tunnel to B using the given FaceUri. - On host A, invoke
nfdc
to add a nexthop record to the tunnel, so that Interests under a certain prefix go to B. The prefix can be hard coded. - Run traffic generator producer on host B, and run traffic generator consumer on host A.
- Collect results.
The script can assume:
- All programs involved are installed and accessible in $PATH.
- IP router R is correctly configured and can forward IP packets between A and B.
- Executing
ssh <SSH hostname for host B>
on host A gives a terminal of host B with sudo privilege. - The integrated tests repository is cloned at the same path on host A and B, and has the same version.
Actions