fixeria submitted this change.
s1gw/osmo-s1gw.config: migrate to sctp_{server,client} blocks
Change-Id: I7e403fe0e270b6009b09ff8ed28f8b226cba4397
Related: osmo-s1gw.git Ib573915fdeb3ce73a1f6110c19fd6b1d46e68a03
---
M s1gw/osmo-s1gw.config
1 file changed, 22 insertions(+), 12 deletions(-)
diff --git a/s1gw/osmo-s1gw.config b/s1gw/osmo-s1gw.config
index 8fcd994..c47b232 100644
--- a/s1gw/osmo-s1gw.config
+++ b/s1gw/osmo-s1gw.config
@@ -2,21 +2,31 @@
[%% ================================================================================
%% application config
- %%
- %% eNB S1GW
- %% +-----+ +----------------+
- %% | ... | --> | s1gw_bind_addr | MME
- %% +-----+ +----------------+ +-----------------+
- %% | mme_loc_addr | --> | mme_rem_addr |
- %% +----------------+ +-----------------+
%% ================================================================================
- {osmo_s1gw,
- [{s1gw_bind_addr, "127.0.1.1"}, %% S1GW bind address for incoming eNB connections
- {mme_loc_addr, "127.0.2.1"}, %% local address for outgoing connections to the MME
- {mme_rem_addr, "127.0.2.10"}, %% remote address for outgoing connections to the MME
+ {osmo_s1gw, [
+ %% SCTP server configuration
+ {sctp_server, #{
+ %% local (bind) address for incoming eNB connections
+ laddr => "127.0.1.1",
+ %% local (bind) port for incoming eNB connections
+ lport => 36412,
+ %% socket options (if omitted or left empty, defaults apply)
+ sockopts => #{ }
+ }},
+ %% SCTP client configuration
+ {sctp_client, #{
+ %% local (bind) address for outgoing connections to the MME
+ laddr => "127.0.2.1",
+ %% remote address for outgoing connections to the MME
+ raddr => "127.0.2.10",
+ %% remote port for outgoing connections to the MME
+ rport => 36412,
+ %% socket options (if omitted or left empty, defaults apply)
+ sockopts => #{ }
+ }},
{pfcp_loc_addr, "127.0.3.1"}, %% local address for incoming PFCP PDUs from the UPF
{pfcp_rem_addr, "127.0.3.10"} %% remote address for outgoing PFCP PDUs to the UPF
- ]},
+ ]},
%% ================================================================================
%% kernel config
%% ================================================================================
To view, visit change 41627. To unsubscribe, or for help writing mail filters, visit settings.