-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
194 changed files
with
13,487 additions
and
8,640 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ on: | |
push: | ||
paths-ignore: | ||
- 'docs/**' | ||
branches-ignore: | ||
- pages | ||
|
||
env: | ||
BUILD_TYPE: Release | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,56 @@ | ||
Access Protocols | ||
================ | ||
|
||
A BNG, or Broadband Network Gateway, is a network device that | ||
connects customer premises equipment to the service provider's | ||
broadband network, managing user authentication, traffic routing, | ||
and quality of service (QoS) for internet services. | ||
|
||
.. _sessions: | ||
|
||
The BNG Blaster is equipped with versatile support for various | ||
access protocols, allowing the creation of seubscriber sessions, | ||
each of which can comprise multiple protocols. For instance, in the | ||
case of dual-stack IPoE sessions, these are formed by a combination of | ||
DHCPv4, DHCPv6, as well as ARP/ND protocols. Every session is | ||
defined by an :ref:`access interface function <access-interface>` | ||
and identified by a globally unique **session-id**, with the | ||
numbering starting at 1 and increasing sequentially for each | ||
new session established. Furthermore, you have the flexibility | ||
to group multiple sessions together using the optional | ||
**session-group-id**, which enables the application of commands | ||
:ref:`commands <api>` to an entire group of sessions simultaneously. | ||
|
||
.. code-block:: json | ||
{ | ||
"access": [ | ||
{ | ||
"interface": "eth1", | ||
"type": "pppoe", | ||
"session-group-id": 1, | ||
"username": "[email protected]", | ||
"outer-vlan-min": 1000, | ||
"outer-vlan-max": 1998, | ||
"outer-vlan-step": 2, | ||
"inner-vlan": 7 | ||
}, | ||
{ | ||
"interface": "eth1", | ||
"type": "pppoe", | ||
"session-group-id": 2, | ||
"username": "[email protected]", | ||
"outer-vlan-min": 1001, | ||
"outer-vlan-max": 1999, | ||
"outer-vlan-step": 2, | ||
"inner-vlan": 7 | ||
}, | ||
] | ||
} | ||
It is also possible to assign multiple access interface | ||
sections to a single session group. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
.. list-table:: | ||
:header-rows: 1 | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| Command | Description | | ||
+===================================+======================================================================+ | ||
| **bgp-sessions** | | Display all matching BGP sessions. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``local-ipv4-address`` | | ||
| | | ``peer-ipv4-address`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **bgp-disconnect** | | Disconnect all matching BGP sessions. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``local-ipv4-address`` | | ||
| | | ``peer-ipv4-address`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **bgp-teardown** | | Teardown BGP. | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **bgp-raw-update-list** | | List all loaded BGP RAW update files. | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **bgp-raw-update** | | Update all matching BGP sessions. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``file`` Mandatory path to BGP RAW update file. | | ||
| | | ``local-ipv4-address`` | | ||
| | | ``peer-ipv4-address`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
|
||
* - Attribute | ||
- Description | ||
- Mandatory Arguments | ||
- Optional Arguments | ||
* - `bgp-sessions` | ||
- Display all matching BGP sessions | ||
- | ||
- `local-ipv4-address`, `peer-ipv4-address` | ||
* - `bgp-disconnect` | ||
- Disconnect all matching BGP sessions | ||
- | ||
- `local-ipv4-address`, `peer-ipv4-address` | ||
* - `bgp-teardown` | ||
- Teardown BGP | ||
- | ||
- | ||
* - `bgp-raw-update-list` | ||
- List all loaded BGP RAW update files | ||
- | ||
- | ||
* - `bgp-raw-update` | ||
- Update all matching BGP session | ||
- `file` | ||
- `local-ipv4-address`, `peer-ipv4-address` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
.. list-table:: | ||
:header-rows: 1 | ||
|
||
* - Attribute | ||
- Description | ||
- Mandatory Arguments | ||
- Optional Arguments | ||
* - `cfm-cc-start` | ||
- Start EOAM CFM CC | ||
- | ||
- `session-id` | ||
* - `cfm-cc-stop` | ||
- Stop EOAM CFM CC | ||
- | ||
- `session-id` | ||
* - `cfm-cc-rdi-on` | ||
- Set EOAM CFM CC RDI | ||
- | ||
- `session-id` | ||
* - `cfm-cc-rdi-off` | ||
- Unset EOAM CFM CC RDI | ||
- | ||
- `session-id` | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| Command | Description | | ||
+===================================+======================================================================+ | ||
| **cfm-cc-start** | | Start EOAM CFM CC. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``session-id`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **cfm-cc-stop** | | Stop EOAM CFM CC. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``session-id`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **cfm-cc-rdi-on** | | Set EOAM CFM CC RDI. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``session-id`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **cfm-cc-rdi-off** | | Unset EOAM CFM CC RDI. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``session-id`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
.. list-table:: | ||
:header-rows: 1 | ||
|
||
* - Attribute | ||
- Description | ||
- Mandatory Arguments | ||
- Optional Arguments | ||
* - `http-clients` | ||
- Display all HTTP client instances | ||
- | ||
- `session-id` | ||
* - `http-clients-start` | ||
- Start all HTTP client instances | ||
- | ||
- `session-id` | ||
* - `http-clients-stop` | ||
- Stop all HTTP client instances | ||
- | ||
- `session-id` | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| Command | Description | | ||
+===================================+======================================================================+ | ||
| **http-clients** | | Display all HTTP client instances. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``session-id`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **http-clients-start** | | Start all HTTP client instances. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``session-id`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **http-clients-stop** | | Stop all HTTP client instances. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``session-id`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,44 @@ | ||
.. list-table:: | ||
:header-rows: 1 | ||
|
||
* - Attribute | ||
- Description | ||
- Mandatory Arguments | ||
- Optional Arguments | ||
* - `igmp-join` | ||
- Join group | ||
- `session-id`, `group` | ||
- `source1`, `source2`, `source3` | ||
* - `igmp-join-iter` | ||
- Join multiple groups over all sessions | ||
- `group` | ||
- `group-iter`, `group-count`, `source1`, `source2`, `source3` | ||
* - `igmp-leave` | ||
- Leave group | ||
- `session-id`, `group` | ||
- | ||
* - `igmp-leave-all` | ||
- Leave all groups from all sessions | ||
- | ||
- | ||
* - `igmp-info` | ||
- Display group information | ||
- `session-id` | ||
- | ||
* - `zapping-start` | ||
- Start IGMP zapping test | ||
- | ||
- | ||
* - `zapping-stop` | ||
- Stop IGMP zapping test | ||
- | ||
- | ||
* - `zapping-stats` | ||
- Return IGMP zapping stats | ||
- | ||
- `reset` | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| Command | Description | | ||
+===================================+======================================================================+ | ||
| **igmp-join** | | Join group. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``session-id`` Mandatory | | ||
| | | ``group`` Mandatory | | ||
| | | ``source1`` | | ||
| | | ``source2`` | | ||
| | | ``source3`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **igmp-join-iter** | | Join multiple groups over all sessions. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``group`` Mandatory | | ||
| | | ``group-iter`` | | ||
| | | ``group-count`` | | ||
| | | ``source1`` | | ||
| | | ``source2`` | | ||
| | | ``source3`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **igmp-leave** | | Leave group. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``session-id`` Mandatory | | ||
| | | ``group`` Mandatory | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **igmp-leave-all** | | Leave all groups from all sessions. | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **igmp-info** | | Display group information. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``session-id`` Mandatory | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **zapping-start** | | Start IGMP zapping test. | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **zapping-stop** | | Stop IGMP zapping test. | | ||
+-----------------------------------+----------------------------------------------------------------------+ | ||
| **zapping-stats** | | Return IGMP zapping stats. | | ||
| | | | | ||
| | | **Arguments:** | | ||
| | | ``reset`` | | ||
+-----------------------------------+----------------------------------------------------------------------+ |
Oops, something went wrong.