<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/23961">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">manual: Include QoS chapter and add osmo-bsc specific example<br><br>Change-Id: I35b0b67dfe40d37c3f2896472b8bf35bfcc89cda<br>Depends: osmo-gsm-manuals.git Id344c29eda2a9b3e36376302b425e9db1f6c0f28<br>Depends: libosmo-abis.git I8991dd6eb406a5b9a70498974fc1ad339452f871<br>---<br>M TODO-RELEASE<br>A doc/manuals/chapters/qos-example.adoc<br>M doc/manuals/osmobsc-usermanual.adoc<br>3 files changed, 52 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/61/23961/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/TODO-RELEASE b/TODO-RELEASE</span><br><span>index d0852fc..e8d67c3 100644</span><br><span>--- a/TODO-RELEASE</span><br><span>+++ b/TODO-RELEASE</span><br><span>@@ -7,3 +7,4 @@</span><br><span> # If any interfaces have been added since the last public release: c:r:a + 1.</span><br><span> # If any interfaces have been removed or changed since the last public release: c:r:0.</span><br><span> #library    what            description / commit summary line</span><br><span style="color: hsl(120, 100%, 40%);">+update dependency to libosmo-abis > 1.1.1 for new e1_input vty commands for DSCP + priority</span><br><span>diff --git a/doc/manuals/chapters/qos-example.adoc b/doc/manuals/chapters/qos-example.adoc</span><br><span>new file mode 100644</span><br><span>index 0000000..2897377</span><br><span>--- /dev/null</span><br><span>+++ b/doc/manuals/chapters/qos-example.adoc</span><br><span>@@ -0,0 +1,49 @@</span><br><span style="color: hsl(120, 100%, 40%);">+==== Full example of QoS for osmo-bsc Abis downlink QoS</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+In the below example we will show the full set of configuration required</span><br><span style="color: hsl(120, 100%, 40%);">+for both DSCP and PCP differentiation of downlink Abis traffic by osmo-bsc.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+What we want to achieve in this example is the following configuration:</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+.DSCP and PCP assignments for osmo-bsc Abis downlink traffic in this example</span><br><span style="color: hsl(120, 100%, 40%);">+[options="header",width="30%",cols="2,1,1"]</span><br><span style="color: hsl(120, 100%, 40%);">+|===</span><br><span style="color: hsl(120, 100%, 40%);">+|Traffic      |DSCP|PCP</span><br><span style="color: hsl(120, 100%, 40%);">+|A-bis RSL    |  56|  7</span><br><span style="color: hsl(120, 100%, 40%);">+|A-bis RTP    |  46|  6</span><br><span style="color: hsl(120, 100%, 40%);">+|A-bis OML    |  34|  5</span><br><span style="color: hsl(120, 100%, 40%);">+|===</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+The RTP related configuration must be configured on the BSC-colocated `osmo-mgw`,</span><br><span style="color: hsl(120, 100%, 40%);">+and is hence out of scope for this manual.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+. configure the osmocom program to set the DSCP value</span><br><span style="color: hsl(120, 100%, 40%);">+. configure an egrees QoS map to map from priority to PCP</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+.Example Step 1: add related VTY configuration to `osmo-bsc.cfg`</span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span style="color: hsl(120, 100%, 40%);">+...</span><br><span style="color: hsl(120, 100%, 40%);">+e1_input</span><br><span style="color: hsl(120, 100%, 40%);">+ ipa dscp oml 34</span><br><span style="color: hsl(120, 100%, 40%);">+ ipa priority oml 5</span><br><span style="color: hsl(120, 100%, 40%);">+ ipa dscp rsl 56</span><br><span style="color: hsl(120, 100%, 40%);">+ ipa priority rsl 7</span><br><span style="color: hsl(120, 100%, 40%);">+...</span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+.Example Step 2: egress QoS map to map from DSCP values to priority values</span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span style="color: hsl(120, 100%, 40%);">+$ sudo ip link set dev eth0.9<1> type vlan egress-qos-map 0:0 5:5 6:6 7:7 <2></span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span style="color: hsl(120, 100%, 40%);">+<1> make sure to specify your specific VLAN interface name here instead of `eth0.9`.</span><br><span style="color: hsl(120, 100%, 40%);">+<2> create a egress QoS map that maps the priority value 1:1 to the PCP. We also include the</span><br><span style="color: hsl(120, 100%, 40%);">+    mapping 5:5 from the osmo-mgw example (see <<userman-osmomgw>>) here.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+NOTE:: The settings of the `ip` command are volatile and only active until</span><br><span style="color: hsl(120, 100%, 40%);">+the next reboot (or the network device or VLAN is removed).  Please refer to</span><br><span style="color: hsl(120, 100%, 40%);">+the documentation of your specific Linux distribution in order to find out how</span><br><span style="color: hsl(120, 100%, 40%);">+to make such settings persistent by means of an `ifup` hook whenever the interface</span><br><span style="color: hsl(120, 100%, 40%);">+comes up.  For CentOS/RHEL 8 this can e.g. be achieved by means of an `/sbin/ifup-local</span><br><span style="color: hsl(120, 100%, 40%);">+script` (when using `network-scripts` and not NetworkManager).  For Debian or Ubuntu,</span><br><span style="color: hsl(120, 100%, 40%);">+this typically involves adding `up` lines to `/etc/network/interfaces` or a `/etc/network/if-up.d`</span><br><span style="color: hsl(120, 100%, 40%);">+script.</span><br><span>diff --git a/doc/manuals/osmobsc-usermanual.adoc b/doc/manuals/osmobsc-usermanual.adoc</span><br><span>index e66b2be..e00eba0 100644</span><br><span>--- a/doc/manuals/osmobsc-usermanual.adoc</span><br><span>+++ b/doc/manuals/osmobsc-usermanual.adoc</span><br><span>@@ -48,6 +48,8 @@</span><br><span> </span><br><span> include::./common/chapters/vty_cpu_sched.adoc[]</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+include::./common/chapters/qos-dscp-pcp.adoc[]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> include::{srcdir}/chapters/aoip-flows.adoc[]</span><br><span> </span><br><span> include::./common/chapters/port_numbers.adoc[]</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/23961">change 23961</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bsc/+/23961"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I35b0b67dfe40d37c3f2896472b8bf35bfcc89cda </div>
<div style="display:none"> Gerrit-Change-Number: 23961 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>