Project

General

Profile

Actions

Task #1942

closed

NextHopFaceId test scenario

Added by Junxiao Shi over 9 years ago. Updated over 7 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 an IntegrationTests scenario to test NDNLPv2 NextHopFaceId field.

Topology:

B--A--C

Procedure:

  1. start NFD on A,B,C
  2. on A, create a route for prefix ndn:/P toward B and C, where the cost toward B is lower than the cost toward C
  3. on B, start traffic generator producer on ndn:/P prefix, serving payload "BBBBBBBB"
  4. on C, start traffic generator producer on ndn:/P prefix, serving payload "CCCCCCCC"
  5. on A, execute a consumer to enable NextHopFaceId feature and then express an Interest for ndn:/P/1 without NextHopFaceId tag, expect Data with payload "BBBBBBBB"
  6. on A, execute a consumer to enable NextHopFaceId feature and then express an Interest for ndn:/P/2 tagged NextHopFaceId=faceB, expect Data with payload "BBBBBBBB"
  7. on A, execute a consumer to enable NextHopFaceId feature and then express an Interest for ndn:/P/3 tagged NextHopFaceId=faceC, expect Data with payload "CCCCCCCC"
  8. on A, execute a consumer to enable NextHopFaceId feature and then express an Interest for ndn:/P/4 tagged NextHopFaceId=null-face, expect either a timeout or a Nack
  9. on A, execute a consumer to disable NextHopFaceId feature and then express an Interest for ndn:/P/5 tagged NextHopFaceId=faceC, expect either a timeout or Data with payload "BBBBBBBB"

Files

20161211184844.tgz (702 KB) 20161211184844.tgz integ 3433,3 Junxiao Shi, 12/11/2016 12:47 PM
20161211230354.tgz (739 KB) 20161211230354.tgz integ 3433,5 Junxiao Shi, 12/12/2016 01:37 PM

Related issues 2 (0 open2 closed)

Blocked by NFD - Feature #3731: FaceManager commands: LocalFieldsEnabledClosedEric Newberry

Actions
Blocked by NFD - Feature #3783: Honor NextHopFaceId universallyClosedJunxiao Shi

Actions
Actions

Also available in: Atom PDF