osmo-iuh/src
Neels Hofmeyr 9e17e054e4 osmo-hnbgw: vty: revamp output of context maps on 'show hnb'
Instead of listing each and every context map, rather output a summary of
context counts.

Rationale: in a list of a hundred HNBs, I don't want to also see a dozen (or
potentially thousands of) context map lines for each. Furthermore, the conn IDs
aren't necessarily useful on network traces either.

For example, what was shown as SUA Id is incidentally the SCCP Reference, but
this is not a hard requirement and may change. Also, the reference is shown in
wireshark as a hex in mismatching byte order ... so rather don't bother.

The result now looks like

  OsmoHNBGW> show hnb all
  HNB (r=192.168.0.124:29169<->l=192.168.0.9:29169) "000295-0000152614@ap.ipaccess.com"
      MCC 901 MNC 70 LAC 14357 RAC 11 SAC 1 CID 8595638 SCCP-stream:HNBAP=0,RUA=0
      IuCS: 1 contexts: inactive-reserved:1
      IuPS: 1 contexts: active:1
  1 HNB connected

Related: OS#2772 OS#2773
Change-Id: Iae76b68e85863c8663bb5c508b85534c00e1d2c9
2017-12-25 00:46:12 +01:00
..
hnbap build: cosmetic: hnbap: undup asn1 src path 2016-09-09 06:43:32 +00:00
ranap build: use $top_srcdir instead of ../ 2016-02-29 14:28:00 +01:00
rua build: use $top_srcdir instead of ../ 2016-02-29 14:28:00 +01:00
tests test_common: fix compiler warning: include ranap_common.h 2017-11-22 03:11:40 +01:00
.gitignore build: fix ranap gen, use same for gen hnbap and rua gen 2016-09-09 06:43:31 +00:00
Makefile.am hnbgw: hnb info: record MCC, MNC, show on 'show hnb' 2017-12-20 23:17:57 +01:00
context_map.c osmo-hnbgw: vty: revamp output of context maps on 'show hnb' 2017-12-25 00:46:12 +01:00
hnbap_common.c build: move headers to include/osmocom/* 2016-09-09 06:43:32 +00:00
hnbgw.c hnbgw: use proper talloc ctx for vty telnet init 2017-12-20 16:00:11 +00:00
hnbgw_cn.c cosmetic: osmo-hnbgw: log remote SCCP addresses on startup 2017-11-24 04:35:41 +01:00
hnbgw_hnbap.c hnbgw: hnb info: record MCC, MNC, show on 'show hnb' 2017-12-20 23:17:57 +01:00
hnbgw_ranap.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
hnbgw_rua.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
hnbgw_vty.c osmo-hnbgw: vty: revamp output of context maps on 'show hnb' 2017-12-25 00:46:12 +01:00
iu_client.c iu client: store multiple LAC,RAC per RNC = fix paging for multiple RNC 2017-12-19 03:20:18 +01:00
iu_client_vty.c iu_client: derive local SCCP addr from sccp instance 2017-08-13 22:46:04 +00:00
iu_helpers.c iu: iu_helpers: add functions to decode ip/port from rab-ass 2017-12-20 16:03:19 +00:00
ranap_common.c fix 3 compiler warnings in ranap_common.c 2017-12-20 15:55:14 +00:00
ranap_common_cn.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
ranap_msg_factory.c ranap_msg_factory: remove unusued variable 2017-12-20 16:03:19 +00:00
regen-common-includes.sh ranap: Add more manual definitions to RANAP-PDUs 2015-09-10 21:18:16 +02:00
rua_common.c build: move headers to include/osmocom/* 2016-09-09 06:43:32 +00:00
rua_msg_factory.c build: move headers to include/osmocom/* 2016-09-09 06:43:32 +00:00