fixeria has uploaded this change for review.

View Change

s1gw/osmo-s1gw.config: modernize the config syntax

Change-Id: I0f7130616ca7b1601ff3f87086dd7b39c3d375e9
Related: osmo-s1gw.git a6a31cf ("config/sys.config: group pfcp_peer params into a map")
Related: osmo-s1gw.git ade7e52 ("mme_registry: the MME registry (pool) implementation")
Related: osmo-s1gw.git 75a7446 ("mme_registry: add backwards compat for old sctp_client config")
---
M s1gw/osmo-s1gw.config
1 file changed, 7 insertions(+), 8 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/41/44041/1
diff --git a/s1gw/osmo-s1gw.config b/s1gw/osmo-s1gw.config
index 5788446..be9974d 100644
--- a/s1gw/osmo-s1gw.config
+++ b/s1gw/osmo-s1gw.config
@@ -15,12 +15,6 @@
}},
%% 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 => #{ }
}},
@@ -30,8 +24,13 @@
#{name => "mme1", laddr => "127.0.2.1", raddr => "127.0.2.11"},
#{name => "mme2", laddr => "127.0.2.1", raddr => "127.0.2.12"}
]},
- {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
+ %% PFCP peer (UPF) configuration
+ {pfcp_peer, #{
+ %% local address for incoming PFCP PDUs from the UPF
+ laddr => "127.0.3.1",
+ %% remote address for outgoing PFCP PDUs to the UPF
+ raddr => "127.0.3.10"
+ }}
]},
%% ================================================================================
%% kernel config

To view, visit change 44041. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I0f7130616ca7b1601ff3f87086dd7b39c3d375e9
Gerrit-Change-Number: 44041
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>