Change in osmo-bsc[master]: manual: Include QoS chapter and add osmo-bsc specific example

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Apr 28 17:00:30 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/23961 )


Change subject: manual: Include QoS chapter and add osmo-bsc specific example
......................................................................

manual: Include QoS chapter and add osmo-bsc specific example

Change-Id: I35b0b67dfe40d37c3f2896472b8bf35bfcc89cda
Depends: osmo-gsm-manuals.git Id344c29eda2a9b3e36376302b425e9db1f6c0f28
Depends: libosmo-abis.git I8991dd6eb406a5b9a70498974fc1ad339452f871
---
M TODO-RELEASE
A doc/manuals/chapters/qos-example.adoc
M doc/manuals/osmobsc-usermanual.adoc
3 files changed, 52 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/61/23961/1

diff --git a/TODO-RELEASE b/TODO-RELEASE
index d0852fc..e8d67c3 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,3 +7,4 @@
 # If any interfaces have been added since the last public release: c:r:a + 1.
 # If any interfaces have been removed or changed since the last public release: c:r:0.
 #library	what		description / commit summary line
+update dependency to libosmo-abis > 1.1.1 for new e1_input vty commands for DSCP + priority
diff --git a/doc/manuals/chapters/qos-example.adoc b/doc/manuals/chapters/qos-example.adoc
new file mode 100644
index 0000000..2897377
--- /dev/null
+++ b/doc/manuals/chapters/qos-example.adoc
@@ -0,0 +1,49 @@
+==== Full example of QoS for osmo-bsc Abis downlink QoS
+
+In the below example we will show the full set of configuration required
+for both DSCP and PCP differentiation of downlink Abis traffic by osmo-bsc.
+
+What we want to achieve in this example is the following configuration:
+
+.DSCP and PCP assignments for osmo-bsc Abis downlink traffic in this example
+[options="header",width="30%",cols="2,1,1"]
+|===
+|Traffic      |DSCP|PCP
+|A-bis RSL    |  56|  7
+|A-bis RTP    |  46|  6
+|A-bis OML    |  34|  5
+|===
+
+The RTP related configuration must be configured on the BSC-colocated `osmo-mgw`,
+and is hence out of scope for this manual.
+
+. configure the osmocom program to set the DSCP value
+. configure an egrees QoS map to map from priority to PCP
+
+.Example Step 1: add related VTY configuration to `osmo-bsc.cfg`
+----
+...
+e1_input
+ ipa dscp oml 34
+ ipa priority oml 5
+ ipa dscp rsl 56
+ ipa priority rsl 7
+...
+----
+
+.Example Step 2: egress QoS map to map from DSCP values to priority values
+----
+$ sudo ip link set dev eth0.9<1> type vlan egress-qos-map 0:0 5:5 6:6 7:7 <2>
+----
+<1> make sure to specify your specific VLAN interface name here instead of `eth0.9`.
+<2> create a egress QoS map that maps the priority value 1:1 to the PCP. We also include the
+    mapping 5:5 from the osmo-mgw example (see <<userman-osmomgw>>) here.
+
+NOTE:: The settings of the `ip` command are volatile and only active until
+the next reboot (or the network device or VLAN is removed).  Please refer to
+the documentation of your specific Linux distribution in order to find out how
+to make such settings persistent by means of an `ifup` hook whenever the interface
+comes up.  For CentOS/RHEL 8 this can e.g. be achieved by means of an `/sbin/ifup-local
+script` (when using `network-scripts` and not NetworkManager).  For Debian or Ubuntu,
+this typically involves adding `up` lines to `/etc/network/interfaces` or a `/etc/network/if-up.d`
+script.
diff --git a/doc/manuals/osmobsc-usermanual.adoc b/doc/manuals/osmobsc-usermanual.adoc
index e66b2be..e00eba0 100644
--- a/doc/manuals/osmobsc-usermanual.adoc
+++ b/doc/manuals/osmobsc-usermanual.adoc
@@ -48,6 +48,8 @@
 
 include::./common/chapters/vty_cpu_sched.adoc[]
 
+include::./common/chapters/qos-dscp-pcp.adoc[]
+
 include::{srcdir}/chapters/aoip-flows.adoc[]
 
 include::./common/chapters/port_numbers.adoc[]

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/23961
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I35b0b67dfe40d37c3f2896472b8bf35bfcc89cda
Gerrit-Change-Number: 23961
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210428/b32163c8/attachment.htm>


More information about the gerrit-log mailing list