[PATCH 0/6] v2: Allow osmo-nitb bind config (and others)

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Wed Feb 24 19:48:33 UTC 2016


This time SMPP is included. Here is the abridged complete overview:

Following the previous patch sets for libosmo-abis and libosmocore, this patch
set allows configuring ALL of osmo-nitb's local IP addresses and makes it
possible to run several osmo-nitb processes alongside each other.

(1) Abis/IP (from the libosmo-abis patch)
In the config file, have:

    e1_input
     ipa bind 10.9.8.7

(2) telnet VTY (prepared by libosmocore patch set)
In the config file, have:

    line vty
     bind 10.9.8.7

(3) ctrl interface (prepared by libosmocore patch set)
In the config file, have:

    ctrl
     bind 10.9.8.7

(4) MNCC socket
In addition to the old -m option with a fixed socket path, you may now
supply a cmdline argument with explicit path:

    -M /path/to/socket/file

(5) SMPP SMSC
In the config file, have:
    smpp
     local-tcp 10.9.8.7 2775

Neels Hofmeyr (6):
  enable telnet VTY bind address config for various programs
  osmo-nitb: add -M to pass specific MNCC socket path
  osmo-nitb: cosmetic: rename to rf_ctrl_path, following mncc_sock_path
  osmo-nitb: be strict about cmdline args
  enable ctrl bind config for various programs
  smpp: refactor initialization, add bind address

 openbsc/include/openbsc/bsc_nat.h       |  3 +-
 openbsc/include/openbsc/ctrl.h          |  3 +-
 openbsc/include/openbsc/gprs_sgsn.h     |  3 +-
 openbsc/include/openbsc/mncc.h          |  2 +-
 openbsc/include/openbsc/smpp.h          |  4 +-
 openbsc/src/gprs/gb_proxy_main.c        | 12 +++--
 openbsc/src/gprs/gtphub_main.c          | 11 ++--
 openbsc/src/gprs/sgsn_ctrl.c            |  5 +-
 openbsc/src/gprs/sgsn_main.c            | 42 ++++++++++-----
 openbsc/src/libbsc/bsc_ctrl_lookup.c    |  6 ++-
 openbsc/src/libbsc/bsc_init.c           |  6 ++-
 openbsc/src/libmsc/mncc_sock.c          |  9 ++--
 openbsc/src/libmsc/smpp_openbsc.c       | 43 +++++++++------
 openbsc/src/libmsc/smpp_smsc.c          | 93 ++++++++++++++++++++++++---------
 openbsc/src/libmsc/smpp_smsc.h          |  7 ++-
 openbsc/src/libmsc/smpp_vty.c           | 75 +++++++++++++++++++++-----
 openbsc/src/osmo-bsc/osmo_bsc_main.c    | 10 +++-
 openbsc/src/osmo-bsc_mgcp/mgcp_main.c   |  6 ++-
 openbsc/src/osmo-bsc_nat/bsc_nat.c      | 22 ++++++--
 openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c |  5 +-
 openbsc/src/osmo-nitb/bsc_hack.c        | 43 ++++++++++-----
 21 files changed, 298 insertions(+), 112 deletions(-)

-- 
2.1.4




More information about the OpenBSC mailing list