[S] Change in osmo-ttcn3-hacks[master]: s1gw/osmo-s1gw.config: migrate to sctp_{server,client} blocks
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41627?usp=email ) Change subject: s1gw/osmo-s1gw.config: migrate to sctp_{server,client} blocks ...................................................................... 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(-) Approvals: pespin: Looks good to me, but someone else must approve osmith: Looks good to me, but someone else must approve Jenkins Builder: Verified fixeria: Looks good to me, approved 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 https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41627?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I7e403fe0e270b6009b09ff8ed28f8b226cba4397 Gerrit-Change-Number: 41627 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>
participants (1)
-
fixeria