Project

General

Profile

Actions

Feature #1687

closed

Route inheritance test scenario

Added by Alex Afanasyev over 10 years ago. Updated over 8 years ago.

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

100%

Estimated time:
6.00 h

Description

Develop a integration test for route inheritance flags.

Topology

B---A---C
    |
    D

Edges represent logical links (UDP tunnels).

Steps

  1. start NFD on A,B,C,D
  2. set multicast strategy for root namespace on A
  3. run traffic generator server on B,C,D each with these prefixes
    • ndn:/A/P
    • ndn:/A/B/C/Q
    • ndn:/D/R
    • ndn:/S
  4. add routes on A
    • ndn:/ , nexthop=hostB, CHILD_INHERIT=yes, CAPTURE=no
    • ndn:/ , nexthop=hostC, CHILD_INHERIT=no, CAPTURE=no
    • ndn:/A , nexthop=hostB, CHILD_INHERIT=yes, CAPTURE=no
    • ndn:/A/B/C , nexthop=hostD, CHILD_INHERIT=yes, CAPTURE=no
    • ndn:/D , nexthop=hostC, CHILD_INHERIT=yes, CAPTURE=yes
    • ndn:/D , nexthop=hostD, CHILD_INHERIT=yes, CAPTURE=no
  5. run traffic generator client on A to send 20 Interests to each of:
    • ndn:/A/P
    • ndn:/A/B/C/Q
    • ndn:/D/R
    • ndn:/S
  6. stop traffic generator server on B,C,D
  7. in traffic generator server reports, verify the number of served Interests of each traffic pattern, fail the test case if any condition is violated
    • traffic generator server on B
      • ndn:/A/P , >=18
      • ndn:/A/B/C/Q , >=18
      • ndn:/D/R , =0
      • ndn:/S , >=18
    • traffic generator server on C
      • ndn:/A/P , =0
      • ndn:/A/B/C/Q , =0
      • ndn:/D/R , >=18
      • ndn:/S , >=18
    • traffic generator server on D
      • ndn:/A/P , =0
      • ndn:/A/B/C/Q , >=18
      • ndn:/D/R , >=18
      • ndn:/S , =0

Files

client.log (21.7 KB) client.log Hila Ben Abraham, 02/08/2016 01:02 PM
serverB.log (12.3 KB) serverB.log Hila Ben Abraham, 02/08/2016 01:03 PM
NDNTrafficClient.conf (369 Bytes) NDNTrafficClient.conf Hila Ben Abraham, 02/08/2016 03:13 PM
20160209230045.tgz (166 KB) 20160209230045.tgz Hila Ben Abraham, 02/09/2016 04:08 PM
20160215233745.tgz (167 KB) 20160215233745.tgz integ 2706,5 Junxiao Shi, 02/16/2016 01:01 PM
20160224213124.tgz (168 KB) 20160224213124.tgz integ 2706,6 Junxiao Shi, 02/24/2016 02:40 PM

Related issues 1 (0 open1 closed)

Related to NFD - Task #1325: Generate FIB updatesClosedVince Lehman03/07/2014

Actions
Actions

Also available in: Atom PDF