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.
Updated by Junxiao Shi almost 11 years ago
- Description updated (diff)
- Estimated time set to 3.00 h
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
I think I will need some more information on nfdc. How do I set BroadcastStrategy?
ltr120@traffic-gen-vm1:~$ nfdc set-strategy ndn:/test-mcast BroadcastStrategy
ERROR: Failed to set strategy choice: Unsupported strategy
Updated by Junxiao Shi over 10 years ago
See StrategyChoice for a list of strategy names.
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