Project

General

Profile

Actions

Task #1444

closed

Hub Discovery test scenario

Added by Beichuan Zhang about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Integration Tests
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Topology

B---A---R---D

A,B,D are NDN hosts.

R is an IP router and is not NDN host; R does not forward multicast packets.

Script is invoked on host A. It can control other hosts via ssh.

  1. On host A,
    1. start NFD
    2. start ndn-autoconfig-server, set FaceUri to udp4://10.63.18.1
    3. start bind to serve these records
      • _ndn._udp.autoconfig-test.named-data.net => 10.63.18.2
      • _ndn._udp.autoconfig-test.tmp._homehub._autoconf.named-data.net => 10.63.18.3
  2. On host B
    1. invoke ndnsec-keygen /tmp/autoconfig-test | ndnsec-install-cert -
    2. in /etc/resolv.conf, set DNS Server to A's IP address on A-B link, set DNS search domain to autoconfig-test.named-data.net (stage 2 would work, but autoconfig tool should try stage 1 first)
    3. start NFD
    4. invoke nfd-autoconfig
    5. execute nfd-status -f,
      • search output for 10.63.18.1, fail if not found.
      • search output for 10.63.18.2, fail if found.
      • search output for 10.63.18.3, fail if found.
    6. stop NFD
  3. On host D, invoke ndnsec-keygen /tmp/autoconfig-test | ndnsec-install-cert -
  4. On host D,
    1. in /etc/resolv.conf, set DNS Server to A's IP address on A-R link, set DNS search domain to autoconfig-test.named-data.net
    2. start NFD
    3. invoke nfd-autoconfig
    4. execute nfd-status -f,
      • search output for 10.63.18.1, fail if found.
      • search output for 10.63.18.2, fail if not found.
      • search output for 10.63.18.3, fail if found.
    5. stop NFD
  5. On host D,
    1. in /etc/resolv.conf, set DNS Server to A's IP address on A-R link, set DNS search domain to autoconfig-test-none.named-data.net
    2. start NFD
    3. invoke nfd-autoconfig
    4. execute nfd-status -f,
      • search output for 10.63.18.1, fail if found.
      • search output for 10.63.18.2, fail if found.
      • search output for 10.63.18.3, fail if not found.
    5. stop NFD

Files

result_c947-3.tgz (70.1 KB) result_c947-3.tgz Junxiao Shi, 06/24/2014 04:58 AM
result_c947-6.tgz (71.2 KB) result_c947-6.tgz Junxiao Shi, 06/27/2014 03:26 PM
Actions

Also available in: Atom PDF