fixeria has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44041?usp=email )

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

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(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved




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 https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44041?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: I0f7130616ca7b1601ff3f87086dd7b39c3d375e9
Gerrit-Change-Number: 44041
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to