Change in osmo-gsm-tester[master]: epc: add option to enable dedicated bearers

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/.

srs_andre gerrit-no-reply at lists.osmocom.org
Tue Jun 16 14:57:09 UTC 2020


srs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18865 )


Change subject: epc: add option to enable dedicated bearers
......................................................................

epc: add option to enable dedicated bearers

add boolean option to epc class and extend the Amarisoft MME
config template to use it

Change-Id: If45cb7e15c8595164b8f537a390507927492c660
---
M src/osmo_gsm_tester/obj/epc.py
M src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
M sysmocom/defaults.conf
3 files changed, 54 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/65/18865/1

diff --git a/src/osmo_gsm_tester/obj/epc.py b/src/osmo_gsm_tester/obj/epc.py
index 6f056fc..7ae6dcd 100644
--- a/src/osmo_gsm_tester/obj/epc.py
+++ b/src/osmo_gsm_tester/obj/epc.py
@@ -25,6 +25,7 @@
     config_schema = {
         'type': schema.STR,
         'qci': schema.UINT,
+        'add_dedicated_bearer': schema.BOOL_STR,
         }
     schema.register_config_schema('epc', config_schema)
 
diff --git a/src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl b/src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
index ce7200f..9361972 100644
--- a/src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
@@ -68,6 +68,58 @@
           pre_emption_capability: "shall_not_trigger_pre_emption",
           pre_emption_vulnerability: "not_pre_emptable",
         },
+% if epc.add_dedicated_bearer:
+        {
+          qci: 1,
+          priority_level: 1,
+          pre_emption_capability: "shall_not_trigger_pre_emption",
+          pre_emption_vulnerability: "not_pre_emptable",
+          setup_type: "automatic",
+          filters: [
+            {
+              direction: "both",
+              id: 1,
+              precedence: 0,
+              components: [
+                {
+                  type_of_service: 0xb8,
+                  mask: 255
+                }
+              ]
+            }
+          ],
+          on_demand_timeout: 10000,
+          on_demand_ul_trigger: true,
+          transaction_identifier: 20,
+          radio_priority: 1,
+          packet_flow_identifier: 20
+        },
+        {
+          qci: 2,
+          priority_level: 1,
+          pre_emption_capability: "shall_not_trigger_pre_emption",
+          pre_emption_vulnerability: "not_pre_emptable",
+          setup_type: "automatic",
+          filters: [
+            {
+              direction: "both",
+              id: 2,
+              precedence: 1,
+              components: [
+                {
+                  type_of_service: 0x60,
+                  mask: 255
+                }
+              ]
+            }
+          ],
+          on_demand_timeout: 10000,
+          on_demand_ul_trigger: true,
+          transaction_identifier: 21,
+          radio_priority: 1,
+          packet_flow_identifier: 21
+        },
+%endif
       ],
     },
   ],
diff --git a/sysmocom/defaults.conf b/sysmocom/defaults.conf
index b113545..6d6cb53 100644
--- a/sysmocom/defaults.conf
+++ b/sysmocom/defaults.conf
@@ -98,6 +98,7 @@
   mcc: 901
   mnc: 70
   qci: 9
+  add_dedicated_bearer: false
 
 srsepc:
   enable_pcap: false

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: If45cb7e15c8595164b8f537a390507927492c660
Gerrit-Change-Number: 18865
Gerrit-PatchSet: 1
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200616/4c214fa5/attachment.htm>


More information about the gerrit-log mailing list