Project

General

Profile

Actions

Task #4401

closed

Feature #4279: Self-learning strategy

Unit tests for Self-learning Forwarding Strategy

Added by tianxiang li over 6 years ago. Updated 5 months ago.

Status:
Abandoned
Priority:
Normal
Assignee:
-
Category:
Forwarding
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Write two test cases for Broadcast-based Self-learning Forwarding Strategy.

Test Case 1 (Wired network scenario):
Set up point to point link with three nodes, node A broadcast packet to node B and C.
Node B and C returns data packet, Node A creates the corresponding forwarding table.
Node A unicast to Node B based on self-learned forwarding path .
Check that only Node B received the packet.

Test case 2 (Wireless network scenario):
Set up multicast link with three nodes, node A broadcast packet to node B and C using multicast face.
Node B and C returns data packet, Node A creates the corresponding forwarding table.
Node A uses unicast face to send packet to Node B based on self-learned forwarding path .
Check that A successfully set up unicast face.
Check that only node B received the packet.


Related issues 1 (1 open0 closed)

Is duplicate of NFD - Task #5026: Self-learning: unit testingNew

Actions
Actions

Also available in: Atom PDF