Type alias ThrottleConfig

ThrottleConfig: {
    device?: string;
    down?: ThrottleRule | ThrottleRule[];
    match?: string;
    protocol?: "udp" | "tcp";
    sessions?: string;
    up?: ThrottleRule | ThrottleRule[];
}

The network throttling rules. Specify multiple ThrottleRule with different at values to schedule network bandwidth/delay fluctuations during the test run, e.g.:

{
device: "eth0",
sessions: "0-1",
protocol: "udp",
down: [
{ rate: 1000000, delay: 50, loss: "0%", queue: 5 },
{ rate: 200000, delay: 100, loss: "5%", queue: 5, at: 60},
],
up: { rate: 100000, delay: 50, queue: 5 },
}

Type declaration