Project

General

Profile

Actions

Task #1717

closed

Route expiration test scenario

Added by Syed Amin over 10 years ago. Updated over 10 years ago.

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

100%

Estimated time:
6.00 h

Description

Develop a integration test for route expiration.

Topology

B---A---C

Edges represent logical links (UDP tunnels).

Steps

  1. start NFD (including RIB Daemon) on A,B,C
  2. add routes on A
    • ndn:/P , nexthop=hostB, expiration=10s
    • ndn:/P , nexthop=hostC, expiration=20s
    • ndn:/Q , nexthop=hostB, expiration=20s
    • ndn:/R , nexthop=hostC, expiration=10s
    • ndn:/S , nexthop=hostB, expiration=3600s
  3. delay 5 seconds; run nfd-status on A to inspect RIB
    Expected:
    • ndn:/P (hostB expires in 3-8s, hostC expires in 13-18s)
    • ndn:/Q (hostB expires in 13-18s)
    • ndn:/R (hostC expires in 3-8s)
    • ndn:/S (hostB expires in >3000s)
  4. delay 10 seconds; run nfd-status on A to inspect RIB
    Expected:
    • ndn:/P (hostC expires in 3-8s)
    • ndn:/Q (hostB expires in 3-8s)
    • ndn:/R : entry does not exist
    • ndn:/S (hostB expires in >3000s)
  5. delay 8 seconds; run nfd-status on A to inspect RIB
    Expected:
    • ndn:/P : entry does not exist
    • ndn:/Q : entry does not exist
    • ndn:/R : entry does not exist
    • ndn:/S (hostB expires in >3000s)

Files

integ.ns (1.22 KB) integ.ns Junxiao Shi, 08/05/2014 03:11 PM

Related issues 3 (0 open3 closed)

Related to NFD - Task #1326: Delete expired RIB entriesClosedSyed Amin

Actions
Blocked by NFD - Task #1662: RIB dataset publisherClosedVince Lehman

Actions
Blocked by NFD - Task #1749: nfd-status: RIB datasetClosedChengyu Fan

Actions
Actions

Also available in: Atom PDF