Skip to content

Commit

Permalink
github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
GIC-de committed Dec 19, 2024
1 parent 02db976 commit 6a4d7b7
Show file tree
Hide file tree
Showing 93 changed files with 1,070 additions and 27 deletions.
2 changes: 0 additions & 2 deletions docs/_sources/access/li.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ mediation device as shown in the following example.
{
"interfaces": {
"tx-interval": 10,
"rx-interval": 1,
"network": {
"interface": "eth2",
"address": "100.0.0.10/24",
Expand Down
18 changes: 18 additions & 0 deletions docs/_sources/api/icmp.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
+-----------------------------------+----------------------------------------------------------------------+
| Command | Description |
+===================================+======================================================================+
| **icmp-clients** | | Display all ICMP client instances. |
| | | |
| | | **Arguments:** |
| | | ``session-id`` |
+-----------------------------------+----------------------------------------------------------------------+
| **icmp-clients-start** | | Start all ICMP client instances. |
| | | |
| | | **Arguments:** |
| | | ``session-id`` |
+-----------------------------------+----------------------------------------------------------------------+
| **icmp-clients-stop** | | Stop all ICMP client instances. |
| | | |
| | | **Arguments:** |
| | | ``session-id`` |
+-----------------------------------+----------------------------------------------------------------------+
9 changes: 8 additions & 1 deletion docs/_sources/api/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,11 @@ HTTP
This is explained detailed in the
:ref:`HTTP <http>` section.

.. include:: http.rst
.. include:: http.rst

ICMP
----
This is explained detailed in the
:ref:`ICMP <icmp>` section.

.. include:: icmp.rst
49 changes: 49 additions & 0 deletions docs/_sources/configuration/icmp_client.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
.. code-block:: json
{ "icmp-client": {} }
+-----------------------------------+----------------------------------------------------------------------+
| Attribute | Description |
+===================================+======================================================================+
| **icmp-client-group-id** | | ICMP client identifier. |
| | | This identifier is used to create ICMP clients for sessions. |
| | | Range: 1 - 65535 |
+-----------------------------------+----------------------------------------------------------------------+
| **network-interface** | | ICMP client network-interface. |
| | | Use **network-interface** instead of **icmp-client-group-id** when |
| | | creating ICMP clients on a network interface. These two options |
| | | are mutually exclusive, but at least one of them is required. |
+-----------------------------------+----------------------------------------------------------------------+
| **destination-address** | | Mandatory destination IPv4 address. |
+-----------------------------------+----------------------------------------------------------------------+
| **source-address** | | Optional source IPv4 address. |
| | | Default: session/interface address |
+-----------------------------------+----------------------------------------------------------------------+
| **size** | | ICMP data size. |
| | | Default: 8 Range: 0 - 65507 |
+-----------------------------------+----------------------------------------------------------------------+
| **interval** | | ICMP send interval in seconds. |
| | | Default: 1.0 |
+-----------------------------------+----------------------------------------------------------------------+
| **count** | | ICMP requests to send before stopping. |
| | | Default: 0 (infinity) |
+-----------------------------------+----------------------------------------------------------------------+
| **results** | | ICMP request to track results for. |
| | | Default: 3 or **count** if set |
+-----------------------------------+----------------------------------------------------------------------+
| **ttl** | | IPv4 header TTL value. |
| | | Default: 64 |
+-----------------------------------+----------------------------------------------------------------------+
| **tos** | | IPv4 header TOS value. |
| | | Default: 0 |
+-----------------------------------+----------------------------------------------------------------------+
| **df** | | IPv4 header dont-fragement (DF) bit. |
| | | Default: false |
+-----------------------------------+----------------------------------------------------------------------+
| **autostart** | | Autostart ICMP client after session reconnects. This applies only |
| | | to ICMP clients that are bound to access sessions. |
| | | Default: true |
+-----------------------------------+----------------------------------------------------------------------+
| **start-delay** | | ICMP client start delay in seconds. |
| | | Default: 0 |
+-----------------------------------+----------------------------------------------------------------------+
6 changes: 5 additions & 1 deletion docs/_sources/configuration/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,8 @@ HTTP-Client

HTTP-Server
-----------
.. include:: http_server.rst
.. include:: http_server.rst

ICMP-Client
-----------
.. include:: icmp_client.rst
74 changes: 74 additions & 0 deletions docs/_sources/icmp.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
.. _icmp:

ICMP
====

The BNG Blaster responds to ICMP echo-requests (PING) on all interfaces,
allowing you to ping PPPoE and IPoE sessions, as well as network interfaces.
When it comes to network interfaces, the BNG Blaster replies to any request
with matching MAC address. This means you can ping all advertised prefixes
over those interfaces.

Beyond simply responding to echo-requests, the BNG Blaster also includes
an ICMP client. With this client, you can initiate ICMP echo-requests (PING)
from PPPoE and IPoE sessions and network interfaces. Each client instance
maintains its result tracking. Consequently, if the client receives
ICMP unreachable, TTL exceeded, or fragmentation needed messages, these are
properly logged and made accessible through the associated ICMP commands.

ICMP Client
-----------

Following is a basic ICMP client configuration example.

.. code-block:: json
{
"interfaces": {
"network": [
{
"interface": "eth1",
"address": "10.0.1.2/24",
"gateway": "10.0.1.1",
"vlan": 10
}
],
"access": [
{
"interface": "eth2",
"outer-vlan": 7,
"icmp-client-group-id": 1
}
]
},
"icmp-client": [
{
"__comment__": "ping from session"
"icmp-client-group-id": 1,
"destination-address": "10.10.10.10"
},
{
"__comment__": "ping from network interface"
"network-interface": "eth1:10",
"destination-address": "10.0.1.1"
}
]
}
.. include:: configuration/icmp_client.rst

The association between the ICMP client and sessions is established through
the use of the ICMP client group identifier (icmp-client-group-id). Multiple
ICMP clients can be defined with the same ICMP client group identifier.

For instance, if you define 4 ICMP clients with the same ICMP client group
identifier and bind them to 100 sessions each, the BNG Blaster will generate
a total of 400 ICMP client instances.

It is also possible to setup ICMP clients over network interfaces, in this
case the network interface name (network-interface) must be defined instead
of the ICMP client group identifier (icmp-client-group-id).

It is mandatory to set either ICMP client group identifier or network interface
but only one as those attributes are mutually exclusive.

1 change: 1 addition & 0 deletions docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Contents
access/index
routing/index
streams
icmp
http
nat
reports
Expand Down
5 changes: 0 additions & 5 deletions docs/_sources/interfaces.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,6 @@ as shown in the example below.
{
"interfaces": {
"tx-interval": 1,
"rx-interval": 1,
"io-slots": 4096,
"network": [
{
"interface": "eth2",
Expand Down Expand Up @@ -498,8 +495,6 @@ as shown in the example below.
{
"interfaces": {
"tx-interval": 1,
"rx-interval": 1,
"a10nsp": [
{
"interface": "eth4",
Expand Down
3 changes: 0 additions & 3 deletions docs/_sources/quickstart.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,6 @@ BNG Blaster configuration files needed.
{
"interfaces": {
"tx-interval": 1,
"rx-interval": 1,
"io-slots": 4096,
"network": {
"interface": "veth1.2",
"address": "192.168.92.2/24",
Expand Down
1 change: 1 addition & 0 deletions docs/access/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/access/ipoe.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/access/l2bsa.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/access/l2tp.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down
3 changes: 1 addition & 2 deletions docs/access/li.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down Expand Up @@ -117,8 +118,6 @@
mediation device as shown in the following example.</p>
<div class="highlight-json notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="w"> </span><span class="nt">&quot;interfaces&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="nt">&quot;tx-interval&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">10</span><span class="p">,</span>
<span class="w"> </span><span class="nt">&quot;rx-interval&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span>
<span class="w"> </span><span class="nt">&quot;network&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="nt">&quot;interface&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;eth2&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="nt">&quot;address&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;100.0.0.10/24&quot;</span><span class="p">,</span>
Expand Down
1 change: 1 addition & 0 deletions docs/access/monkey.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/access/multicast.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/access/pppoe.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/access/traffic.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/api/bgp.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<li class="toctree-l1"><a class="reference internal" href="../access/index.html">Access Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/api/cfm.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<li class="toctree-l1"><a class="reference internal" href="../access/index.html">Access Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/api/http.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<li class="toctree-l1"><a class="reference internal" href="../access/index.html">Access Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../icmp.html">ICMP</a></li>
<li class="toctree-l1"><a class="reference internal" href="../http.html">HTTP Emulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../nat.html">NAT / CGNAT</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
Expand Down
Loading

0 comments on commit 6a4d7b7

Please sign in to comment.