Skip to content

Commit

Permalink
docu update
Browse files Browse the repository at this point in the history
  • Loading branch information
GIC-de committed Apr 14, 2021
1 parent 7eb2cf8 commit 851ab14
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,8 @@ Attribute | Description | Default

## L2TP Server (LNS)

This section describes all attributes of the `l2tp-server` (LNS) hierarchy.
This section describes all attributes of the `l2tp-server` (LNS) hierarchy
as explained in [L2TPv2](l2tp).

The BNG Blaster supports multiple L2TPv2 servers (LNS) over the network interface
as shown in the example below.
Expand Down Expand Up @@ -566,7 +567,8 @@ received window size.

## Traffic Streams

This section describes all attributes of the `streams` hierarchy.
This section describes all attributes of the `streams` hierarchy
as explained in [Traffic Streams](streams).

Attribute | Description | Default
--------- | ----------- | -------
Expand Down
Binary file added docs/images/bbl_streams.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions docs/streams.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@

Traffic streams allow to test QoS using BNG Blaster.

![BBL Interactive Streams](images/bbl_streams.png "BNG Blaster")

## Configuration

Following a simple example using streams as described in
[Configuration](config).

```json
{
"interfaces": {
Expand Down Expand Up @@ -222,6 +227,37 @@ if there is a gap between last and new sequence number which is than reported as
The `rx/tx-accounting-packets` are all packets which should be counted in the session volume
accounting of the BNG, meaning session rx/tx packets excluding control traffic.

Each flow can be queried separately using jsonpath expression with name and direction or flow-id.

`$ sudo ./cli.py run.sock session-streams session-id 1 | jq '."session-streams".streams[] | select(.name == "BE" and .direction == "downstream" )'`
```json
{
"name": "BE",
"direction": "downstream",
"flow-id": 2,
"rx-first-seq": 33,
"rx-last-seq": 27040,
"rx-tos-tc": 213,
"rx-outer-vlan-pbit": 0,
"rx-inner-vlan-pbit": 0,
"rx-len": 126,
"tx-len": 114,
"rx-packets": 27008,
"tx-packets": 27040,
"rx-loss": 0,
"rx-delay-nsec-min": 50450,
"rx-delay-nsec-max": 10561572,
"rx-pps": 99,
"tx-pps": 99,
"tx-bps-l2": 90288,
"rx-bps-l2": 99792,
"rx-bps-l3": 79200,
"tx-mbps-l2": 0.090288,
"rx-mbps-l2": 0.099792,
"rx-mbps-l3": 0.0792
}
```

## Start/Stop Session Stream Information

Session stream traffic can be started/stopped dynamically
Expand Down

0 comments on commit 851ab14

Please sign in to comment.