Skip to content

Commit

Permalink
documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
GIC-de committed Feb 9, 2023
1 parent 9c1222c commit 2905b14
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docsrc/sources/api/sessions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@

The argument ``reconnect-delay`` is only applicable in combination with
session reconnect enabled in the configuration. This argument delays the
session reconnect by the defined amount of seconds.
session reconnect by the defined amount of seconds.
3 changes: 3 additions & 0 deletions docsrc/sources/configuration/interfaces_access.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@
* - `igmp-version`
- Overwrite IGMP protocol version (1, 2 or 3)
-
* - `session-group-id`
- Session group identifier
-
* - `stream-group-id`
- Stream group identifier
-
Expand Down
48 changes: 43 additions & 5 deletions docsrc/sources/interfaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ The interfaces section contains all configurations around interface links and op
"interfaces": {
"tx-interval": 0.1,
"rx-interval": 0.1,
"io-slots": 2048,
"io-slots": 4096,
}
}
Expand All @@ -120,7 +120,7 @@ for interface links referenced by interface functions.
"interfaces": {
"tx-interval": 0.1,
"rx-interval": 0.1,
"io-slots": 2048,
"io-slots": 4096,
}
}
Expand Down Expand Up @@ -216,9 +216,9 @@ The configured traffic streams are automatically balanced over all TX threads of
interfaces but a single stream can't be split over multiple threads to prevent re-ordering issues.

Enabling multithreaded I/O causes some limitations. First of all, it works only on systems with
CPU cache coherence, which should apply to all modern CPU architectures. It is also not possible
to bundle (Link Aggregation) multithreaded interfaces. It is also not possible to capture traffic
streams send or received on threaded interfaces. All other traffic is still captured on threaded
CPU cache coherence, which should apply to all modern CPU architectures. TX threads are not allowed
for LAG (Link Aggregation) interfaces but RX threads are supported. It is also not possible to capture
traffic streams send or received on threaded interfaces. All other traffic is still captured on threaded
interfaces.

.. note::
Expand Down Expand Up @@ -425,6 +425,7 @@ or VLAN ranges as shown in the example below.
{
"interface": "eth1",
"type": "pppoe",
"session-group-id": 1,
"username": "pta@rtbrick.com",
"outer-vlan-min": 1000,
"outer-vlan-max": 1999,
Expand All @@ -434,6 +435,7 @@ or VLAN ranges as shown in the example below.
{
"interface": "eth1",
"type": "pppoe",
"session-group-id": 2,
"username": "l2tp@rtbrick.com",
"outer-vlan-min": 2000,
"outer-vlan-max": 2999,
Expand All @@ -443,6 +445,7 @@ or VLAN ranges as shown in the example below.
{
"interface": "eth3",
"type": "pppoe",
"session-group-id": 1,
"username": "test@rtbrick.com",
"outer-vlan-min": 128,
"outer-vlan-max": 4000,
Expand All @@ -452,6 +455,7 @@ or VLAN ranges as shown in the example below.
{
"interface": "eth4",
"type": "ipoe",
"session-group-id": 3,
"outer-vlan-min": 8,
"outer-vlan-max": 9,
"address": "200.0.0.1",
Expand Down Expand Up @@ -498,6 +502,40 @@ section using this mode.
]
}
One or more access interface blocks can be grouped using the ``session-group-id``,
which allows applying some commands like `session-start`, `session-stop` or
`session-restart` to all sessions belonging to the same group. The example
below shows how to assign all even VLAN identifiers to session group 1 and
all odd VLAN identifiers to session group 2.

.. code-block:: json
{
"access": [
{
"interface": "eth1",
"type": "pppoe",
"session-group-id": 1,
"username": "even@rtbrick.com",
"outer-vlan-min": 1000,
"outer-vlan-max": 1998,
"outer-vlan-step": 2,
"inner-vlan": 7
},
{
"interface": "eth1",
"type": "pppoe",
"session-group-id": 2,
"username": "odd@rtbrick.com",
"outer-vlan-min": 1001,
"outer-vlan-max": 1999,
"outer-vlan-step": 2,
"inner-vlan": 7
},
]
}
The BNG Blaster supports access and network interface functions on the same
interface link if both are tagged with disjoint VLAN ranges.

Expand Down

0 comments on commit 2905b14

Please sign in to comment.