[MERGED] osmo-gsm-tester[master]: pcu.py: Introduce PcuDummy class

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Mar 15 23:57:21 UTC 2018


Pau Espin Pedrol has submitted this change and it was merged.

Change subject: pcu.py: Introduce PcuDummy class
......................................................................


pcu.py: Introduce PcuDummy class

It will be used in later commits by BTS without proper PCU control such
as NanoBts.

Change-Id: I37ba38f7d81134e5f0ca28fa684fdb09c753bb04
---
M src/osmo_gsm_tester/pcu.py
1 file changed, 11 insertions(+), 0 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo_gsm_tester/pcu.py b/src/osmo_gsm_tester/pcu.py
index 0eddb06..97d0b92 100644
--- a/src/osmo_gsm_tester/pcu.py
+++ b/src/osmo_gsm_tester/pcu.py
@@ -46,4 +46,15 @@
         """Start the PCU. Must be implemented by subclass."""
         pass
 
+#------------------------------------------------------------------------------
+
+class PcuDummy(Pcu):
+    """PCU for BTS without proper PCU control"""
+
+    def __init__(self, suite_run, bts, conf):
+        super().__init__(suite_run, bts, conf, 'PcuDummy')
+
+    def start(self):
+        pass
+
 # vim: expandtab tabstop=4 shiftwidth=4

-- 
To view, visit https://gerrit.osmocom.org/7166
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I37ba38f7d81134e5f0ca28fa684fdb09c753bb04
Gerrit-PatchSet: 5
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list