diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2021-07-26 13:11:27 +0200 |
---|---|---|
committer | dexter <pmaier@sysmocom.de> | 2021-09-03 15:03:38 +0000 |
commit | 8d22e6870637ed6d392a8a77aeaebc51b23a8a50 (patch) | |
tree | e7dca48bc1cfd7a319d3915e93147ba017a0e5d7 /include/osmocom | |
parent | 034cc1216a2938ac52c82ff1dafaa78d527e3b48 (diff) |
osmo_bsc_main: integrate MGW pooling into osmo-bsc
Since the libosmo-mgcp-client now supports MGW pooling, lets use this
feature in osmo-bsc. Large RAN installations may benefit from
distributing the RTP voice stream load on multiple media gateways.
Depends: osmo-mgw Icaaba0e470e916eefddfee750b83f5f65291a6b0
Change-Id: I8f33ab2cea04b545c403a6fe479aa963a0fc0d0d
Related: SYS#5091
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 9 | ||||
-rw-r--r-- | include/osmocom/bsc/vty.h | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index db0f2497f..bed36f3e9 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -1203,8 +1203,15 @@ struct gsm_network { struct osmo_timer_list bts_store_uptime_timer; struct { + /* Single MGCP client configuration under msc node (also required for + * MGCP proxy when sccp-lite is used) */ struct mgcp_client_conf *conf; - struct mgcp_client *client; + + /* MGW pool, also includes the single MGCP client as fallback if no + * pool is configured. */ + struct mgcp_client_pool *mgw_pool; + + /* Timer definitions, the same for all MGW pool members */ struct osmo_tdef *tdefs; } mgw; diff --git a/include/osmocom/bsc/vty.h b/include/osmocom/bsc/vty.h index 9ea983541..70b973db3 100644 --- a/include/osmocom/bsc/vty.h +++ b/include/osmocom/bsc/vty.h @@ -23,6 +23,7 @@ struct buffer *vty_argv_to_buffer(int argc, const char *argv[], int base); enum bsc_vty_node { GSMNET_NODE = _LAST_OSMOVTY_NODE + 1, + MGW_NODE, BTS_NODE, TRX_NODE, TS_NODE, |