Project

General

Profile

Actions

Feature #2584

open

Have "osmo-network-check" to verify "Network In The Box" setup

Added by laforge over 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Low
Assignee:
Target version:
-
Start date:
10/20/2017
Due date:
% Done:

0%

Spec Reference:

Description

While looking at Osmocom_Network_In_The_Box it occurred to me that it might be useful to have some kind of script/program that helps people to validate their configuration. Things that could be checked automatically are:
  • static configuration
    • if all the intended processes are running (using "ps" output)
    • if the telnet of all processes is reachable
    • if any expected TCP/UDP/SCTP ports (like OML/RSL/AoIP/...) are reachable
  • runtime checks (mostly via CTRL, add interface where needed)
    • does OsmoBSC report a BTS connected?
    • does OsmoBSC think its SIGTRAN/AoIP link to STP is up?
    • does OsmoSTP think that its links to BSC and MSC are up?
    • does OsmoMSC think that its link to the STP is up?
    • does OsmoMSC see any BSC connected (BSSAP RESET)?
    • does OsmoMSC have a connection to OsmoHLR via GSUP?
    • does OsmoHLR see a connection from OsmoMSC?

All of the above (and possibly even more) should be possible fully automatic and a short summary could be printed to the screen, like one line for each check with a green OK or red ERROR. Any ERROR message should contain a URL to an error-specific wiki page where we can compile a list of possible causes or other help on what could possibly be the cause of such error.

The script/tool should (at least initially) make the assumption that (BSC, MSC, STP, HLR) and possibly (SGSN, GGSN) runs on the same system, and match 1:1 the wiki page for a basic setup.

This is just my initial idea, I'm sure it can be further extended.


Related issues

Related to Cellular Network Infrastructure - Feature #2618: write Osmocom Network In The Box wiki pageClosedneels11/07/2017

Actions
Actions #1

Updated by ipse over 6 years ago

That's brilliant!
Multiple configurations can be supported via command line or autodetected - e.g. if there is a BTS connected, but it's not seen in `ps`, it's running remotely.

Actions #2

Updated by neels over 6 years ago

would be a fun side task for me

Actions #3

Updated by laforge over 6 years ago

  • Assignee changed from 4368 to neels

ok, please get started on it

Actions #4

Updated by neels over 6 years ago

  • Related to Feature #2618: write Osmocom Network In The Box wiki page added
Actions #5

Updated by neels over 6 years ago

laforge wrote:

ok, please get started on it

(sounds like it should be started soon, but Priority says otherwise)

Actions #6

Updated by laforge over 6 years ago

On Mon, Nov 27, 2017 at 02:54:53PM +0000, neels [REDMINE] wrote:

laforge wrote:

ok, please get started on it

(sounds like it should be started soon, but Priority says otherwise)

correct. The comment was not written at the time the priorities were set, so there
was a race condition.

Actions #7

Updated by laforge over 5 years ago

  • Priority changed from Normal to Low
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)