Actions
Task #1390
closedMulticast test scenario
Description
Topology: A,B,C on same Ethernet switch and same IPv4 subnet. All are NDN nodes.
NICs on this topology should set MTU to 9000, because NFD doesn't have Ethernet fragmentation yet.
Script is invoked on host A. Script should control other hosts over ssh.
Arguments: whether to test UDP multicast or Ethernet multicast.
Steps:
- Start NFD on A, B, and C.
- On host A, insert routing entry
ndn:/test-mcast
to either UDP or Ethernet multicast face.- FaceId can be found with
nfd-status
. - There may be multicast UDP/Ethernet multicast faces. Routing entry can be inserted for all of them.
- FaceId can be found with
- On host A, pick BroadcastStrategy for
ndn:/test-mcast
namespace.- This is necessary to forward Interest to all UDP/Ethernet multicast faces, and one of them will work.
- On host B, start traffic generator producer to serve
ndn:/test-mcast/B
,ndn:/test-mcast/Z
. - On host C, start traffic generator producer to serve
ndn:/test-mcast/C
,ndn:/test-mcast/Z
. - On host A, invoke
ndn-tlv-peek ndn:/test-mcast/B/1
. Fail the test if this Interest is unanswered. - On host A, invoke
ndn-tlv-peek ndn:/test-mcast/C/1
. Fail the test if this Interest is unanswered. - On host A, invoke
ndn-tlv-peek ndn:/test-mcast/Z/1
. Fail the test if this Interest is unanswered. - On host B, kill the producer.
- On host A, invoke
ndn-tlv-peek ndn:/test-mcast/Z/2
. Fail the test if this Interest is unanswered.
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