Project

General

Profile

Actions

Bug #4129

closed

sysmocell-5k: Add suport for smart power socket and ccli gsm.unlock

Added by pespin almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
-
Start date:
07/24/2019
Due date:
% Done:

100%

Spec Reference:

Description

So far sysmocell-5K has always been on. We manually start it, then manually run command "ccli" and inside we run "gsm.unlock". Then tests can run and we leave it like that forever.
However, it was recently spotted that after using it (BTS attached to its TRX process) and finishing using it after the test (BTS stops and it's no longer connected), the sysmocell-5k TRX process keeps sending IND CLOCK to the BTS host, and most important, keeps transmitting, adding noise to other BTS which may be running tests (SYS#4599).

So we should:
  • Add some osmo_trx attriubte in osmo-gsm-tester conf to specify a smart socket to turn on/off (similar to what we already do in other BTS).
  • Add some osmo_trx attribute to indicate the RF should be unlocked. May want to add a generic class, and implement a subclass with "type" attribute. Implemented in this case by connecting to ssh running "ccli", then sending "gsm.unlock\nexit\n"
  • Upon test finishing, implement in the same class a rf.lock() function which does same but with "gsm.lock()". This one is not needed if we are anyway turning off the board after each test.
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)