Project

General

Profile

Actions

Feature #3624

closed

ipaccess-config: Investigate if possible to get OML_IP currently set in nanobts

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
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

nanobts-get-attr.pcap nanobts-get-attr.pcap 386 Bytes laforge, 10/03/2018 03:00 PM
0001-WIP.patch 0001-WIP.patch 9.49 KB pespin, 11/06/2018 05:35 PM
0002-WIP-Request-and-parse-UNIT_ID.patch 0002-WIP-Request-and-parse-UNIT_ID.patch 1.79 KB pespin, 11/06/2018 05:51 PM
get_attr_example.pcapng get_attr_example.pcapng 596 Bytes pespin, 11/07/2018 04:58 PM
nanobts_supports_getari.pcapng nanobts_supports_getari.pcapng 684 Bytes pespin, 11/07/2018 07:31 PM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)