Project

General

Profile

Actions

Task #1390

closed

Multicast test scenario

Added by Yi Huang over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Integration Tests
Target version:
Start date:
03/22/2014
Due date:
% Done:

100%

Estimated time:
3.00 h

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:

  1. Start NFD on A, B, and C.
  2. 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.
  3. 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.
  4. On host B, start traffic generator producer 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 the test if this Interest is unanswered.
  7. On host A, invoke ndn-tlv-peek ndn:/test-mcast/C/1. Fail the test if this Interest is unanswered.
  8. On host A, invoke ndn-tlv-peek ndn:/test-mcast/Z/1. Fail the test if this Interest is unanswered.
  9. On host B, kill the producer.
  10. 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 #1

Updated by Junxiao Shi over 10 years ago

  • Description updated (diff)
  • Estimated time set to 3.00 h
Actions #2

Updated by Junxiao Shi over 10 years ago

  • Description updated (diff)
Actions #3

Updated by Yi Huang over 10 years ago

  • Status changed from New to In Progress
  • Assignee set to Yi Huang
Actions #4

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
Actions #5

Updated by Junxiao Shi over 10 years ago

See StrategyChoice for a list of strategy names.

Actions #6

Updated by Yi Huang over 10 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 90
Actions #7

Updated by Junxiao Shi over 10 years ago

  • Status changed from Code review to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF