Actions
Task #1389
closedBroadcastStrategy test scenario
Description
Topology:
B---A---C
|
D
It's okay to have all hosts 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.
Steps:
- Start NFD on A,B,C,D.
- On host B,C, start ndn-traffic-server to serve
ndn:/test-bcast
. - On host A, invoke nfdc to set BroadcastStrategy at
ndn:/test-bcast
. - On host A, invoke nfdc to create UDP tunnel to B, and add nexthop for
ndn:/test-bcast
to this face with cost 10. - On host A, invoke nfdc to create UDP tunnel to C, and add nexthop for
ndn:/test-bcast
to this face with cost 20. - On host D, invoke nfdc to create UDP tunnel to A, and add nexthop for
ndn:/test-bcast
to this face. - On host D, execute ndn-traffic-client to send 100 Interest to
ndn:/test-bcast/A/<random>
. - On host B,C, stop ndn-traffic-server. Fail if total served Interests on either host is less than 80.
- On host D, invoke nfd-status to observe counters on the face created in step 6. Fail if total received Interests on this face is greater than 120 (because A should not forward the second copy of Data to D after PIT entry is satisfied).
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.
Updated by Junxiao Shi over 10 years ago
- Subject changed from Test Strategy (flooding and NCC) to BroadcastStrategy test scenario
- Description updated (diff)
Updated by Yi Huang over 10 years ago
- Status changed from New to In Progress
- Assignee set to Yi Huang
Updated by Yi Huang over 10 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 90
Updated by Junxiao Shi over 10 years ago
- Status changed from Code review to Closed
- % Done changed from 90 to 100
Actions