Project

General

Profile

Feature #2555

script interface to OsmocomBB "mobile"

Added by laforge 9 months ago. Updated about 1 month ago.

Status:
In Progress
Priority:
High
Assignee:
Category:
OsmocomBB mobile (host)
Start date:
10/06/2017
Due date:
% Done:

0%

Estimated time:
Resolution:
Spec Reference:

Description

The idea here is to have some high-level scripting interface in the OsmocomBB "mobile" program, which can be used to automatically execute certain behavior. This is very useful for automatic testing.

The commands should be very high-level operations, such as
  • perform network search
  • perform cell (re)selection
  • perform normal/periodic/attach LU
  • perform USSD
  • send MO-SMS
  • receive MT-SMS
  • make MO voice call
  • receive MT voice call

In order to make the related scripts easy to write, the script language interface functions should expose blocking semantics. This means the "mobile" stack needs to be run in a thread/process with its usual event-driven osmo_fd architecture, and it needs to exchange primitives with another thread/process that runs the script commands.

As scripting language, I would suggest LUA as it's small to embed. Size does matter, as we likely will want to simultaneously run thousands to tens of thousandsof "mobile" instances on one machine.


Related issues

Related to Cellular Network Infrastructure - Feature #2558: Scripts to manage thousands of "mobile" and hundreds of osmo-bts-virtual instancesNew2017-10-06

Related to OsmoBSC - Support #2622: Prepare automatic interop testing of OmsoBSC against NG40 core simulator + osmo-bts-virtual + mobileIn Progress2017-11-07

Blocks OsmoBSC - Feature #2893: automatic simulator for large LU load Stalled2018-01-27

History

#1 Updated by laforge 9 months ago

  • Category set to OsmocomBB mobile (host)

#2 Updated by laforge 9 months ago

  • Related to Feature #2558: Scripts to manage thousands of "mobile" and hundreds of osmo-bts-virtual instances added

#3 Updated by laforge 9 months ago

  • Target version set to Virtual GSM Load Testing

#4 Updated by laforge 8 months ago

  • Assignee changed from laforge to zecke

#5 Updated by laforge 8 months ago

  • Priority changed from Normal to High

#6 Updated by laforge 8 months ago

  • Related to Support #2622: Prepare automatic interop testing of OmsoBSC against NG40 core simulator + osmo-bts-virtual + mobile added

#7 Updated by laforge 2 months ago

zecke: any update here?

#8 Updated by zecke about 2 months ago

Stalled due private reasons but about to be resumed. :}

#9 Updated by zecke about 1 month ago

  • Status changed from New to In Progress

I considered tunneling MNCC over the existing "EventServer" socket but I think there is very little point in doing it. Pau's idea of implementing ofono like behavior is a neat one.

#10 Updated by laforge 13 days ago

  • Blocks Feature #2893: automatic simulator for large LU load added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)