Task #1390
Updated by Junxiao Shi over 10 years ago
Topology: A,B,C on same Ethernet switch Create three VMs A, B, and C within the same IP subnet. All are NDN nodes. Script is invoked On B and C, start producer. Then on host A. Script should control other hosts over ssh. Arguments: whether to test UDP multicast or Ethernet multicast. Steps: 1. Start NFD on A, B, and C. 2. On host A, insert routing entry `ndn:/test-mcast` use nfdc 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. 3. On host A, pick BroadcastStrategy for `ndn:/test-mcast` namespace. * This is necessary associate some prefix to forward Interest to all UDP/Ethernet multicast faces, and one of them will work. 4. On host B, face, then start traffic generator producer a consumer to serve `ndn:/test-mcast/B`, `ndn:/test-mcast/Z`. 5. On host C, start traffic generator producer to serve `ndn:/test-mcast/C`, `ndn:/test-mcast/Z`. 6. On host A, invoke `ndn-tlv-peek ndn:/test-mcast/B/1`. Fail send the test if interest. Try this Interest is unanswered. 7. On host A, invoke `ndn-tlv-peek ndn:/test-mcast/C/1`. Fail with B and C serves different prefix and same prefix. Write a script to automate the test if this Interest is unanswered. test. The script can assume: * All programs involved are installed and accessible in $PATH. 8. On host A, invoke `ndn-tlv-peek ndn:/test-mcast/Z/1`. Fail * Executing ssh gives a terminal of the test if this Interest is unanswered. 9. On remote host B, kill the producer. with sudo privilege. 10. On host A, invoke `ndn-tlv-peek ndn:/test-mcast/Z/2`. Fail the test if this Interest is unanswered. Script can assume * The integrated test suite tests repository is cloned to at the same path on all hosts, necessary programs are installed and accessible in $PATH, and current user can ssh to other hosts and has sudo privilege. the same version.