Project

General

Profile

Actions

Feature #3102

closed

clean up and use a_reset.c in osmo-bsc

Added by neels about 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
Target version:
-
Start date:
03/23/2018
Due date:
% Done:

100%

Spec Reference:

Description

After issue #3041 was fixed by the new gscon FSM, it became apparent that the a_reset.c FSM is actually no longer used at all: a_reset_conn_fail() is never invoked.

I also noticed in osmo_bsc_reset.c, we have an evil twin of a_reset.c still in the code base.
Its events also seem to never be invoked.
(BTW, in osmo-msc, we also never invoke a_reset_conn_fail())

In summary, the Reset FSMs are in desperate need of some tender loving care, they are currently abandoned and useless, apparently.

The proper trigger to invoke a_reset_conn_fail(): it was mentioned that specific N-Disconnect causes indicate a failure versus a normal disconnect.
a_reset_conn_fail() should only be invoked upon receiving such failure cause.

If possible, some ttcn3 test should simulate such a failure disconnect.

Also debatable is the conn_loss_count: if there are only two SCCP connections, and both of them go up in flames, the reset FSM should probably not wait for a third erratic disconnect; it should fire a BSSMAP Reset as well?


Related issues

Related to OsmoMSC - Feature #3103: use a_reset.c in osmo-mscResolveddexter03/23/2018

Actions
Related to OsmoBSC - Bug #3041: osmo-bsc initiates BSSMAP Reset after every fourth BSSMAP ClearRejecteddexter03/07/2018

Actions
Related to OsmoBSC - Bug #4188: BSC sends COMPLETE L3 before RESETRejectedlaforge09/03/2019

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)