Actions
Feature #3624
closedipaccess-config: Investigate if possible to get OML_IP currently set in nanobts
Start date:
10/03/2018
Due date:
% Done:
100%
Spec Reference:
Description
Currently, one can set the OML IP config in a nanotbts by running "ipaccess-config --oml-ip 1.2.3.4 5.6.7.8". However, in order to have nanobts use the new value one must restart the nanobts after setting it (by using -r parameter in ipaccess-config). There's however no way to get the current value set in the nanobts.
In order to speed up osmo-gsm-tester tests using a nanobts (by aprox 2 minutes each), it would be really handy to be able to somehow get current value being used for OML_IP in a nanobts. That's because the BSC IP addr can change per test basis, and then we always need to make sure the OML IP is set correctly by:- Powering on nanobts (and waiting for it with abisip-find)
- Setting the new OML IP and rebooting the nanobts
- Waiting again for it to be available with abisip-find (which can take around 2 minutes).
If we can get the OML IP, we can check if the OML IP is the same we are currently using for our BSC, then avoid rebooting it unnecessarily and avoid loosing 2 minutes waiting for nanobts to powercycle.
This task is about investigating whether fetching this information from nanobts is possible, and in case it is, implementing it in ipacces-config or abisip-find.
Files
Actions