Project

General

Profile

Actions

Bug #4836

closed

ns2: load sharing function for UDP data

Added by lynxis about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
libosmogb
Target version:
-
Start date:
10/27/2020
Due date:
% Done:

100%

Spec Reference:

Description

Implement the load sharing function for UDP data.

  • on a new LSP select a NSVC based on data weight
    e.g. count all weight as sum_weight, LSP %modulo sum_weight, select the NSVC.
NSVC1: data weight: 10
NSVC2: data weight:  5

sum = 15, LSP%sum in  (0- 9) => NSVC1
sum = 15, LSP%sum in (10-14) => NSVC2

Maintain a LSP table per NSE containing "LSP, NSVC, timestamp/counter". The timestamp is used to remove old entries when the table is full.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)