[L] Change in docker-playground[master]: open5gs configs: update to current format

2023-11-24 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/35105?usp=email )

Change subject: open5gs configs: update to current format
..

open5gs configs: update to current format

Adjust open5gs configs to the new formats from:
https://github.com/open5gs/open5gs/pull/2739

This fixes all open5gs programs from crashing on startup with various
errors such as:
  11/21 07:39:25.971: [core] FATAL: epoll_init: Assertion `context->epfd >= 0' 
failed. (../lib/core/ogs-epoll.c:77)

Related: OS#6267
Change-Id: Idf2706f3904eb06e94cee0728faa17e72a6cf1f6
---
M ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml
M ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml
M ttcn3-hss-test-ogs/ogs/open5gs-hss-master.yaml
M ttcn3-mme-test-ogs/ogs/open5gs-mme-master.yaml
M ttcn3-pgw-test/open5gs-nrf-master.yaml
M ttcn3-pgw-test/open5gs-smf-master.yaml
M ttcn3-pgw-test/open5gs-upf-master.yaml
7 files changed, 158 insertions(+), 116 deletions(-)

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




diff --git a/ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml 
b/ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml
index afb5cf2..4b5891e 100644
--- a/ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml
+++ b/ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml
@@ -3,6 +3,10 @@
 logger:
 level: info

+global:
+  max:
+ue: 1024
+
 sbi:
 server:
   no_tls: true
@@ -17,30 +21,43 @@

 smf:
 sbi:
-  - addr: 172.18.3.201
+  server:
+  - address: 172.18.3.201
 port: 
+  client:
+nrf:
+  - uri: http://172.18.3.201:
+scp:
+  - uri: http://127.0.1.10:
 pfcp:
-  - addr: 172.18.3.201
+  server:
+- address: 172.18.3.201
+  client:
+upf:
+  - address: 172.18.3.222
 gtpc:
-  - addr: 172.18.3.201
-option:
-  so_bindtodevice: eth0
+  server:
+- address: 172.18.3.201
+  option:
+so_bindtodevice: eth0
 gtpu:
-  - addr: 172.18.3.201
-port: 2152
-option:
-  so_bindtodevice: eth0
+  server:
+- address: 172.18.3.201
+  port: 2152
+  option:
+so_bindtodevice: eth0
 metrics:
-addr: 172.18.3.201
-port: 9090
-subnet:
-  - addr: 176.16.16.1/20
+  server:
+- address: 172.18.3.201
+  port: 9090
+session:
+  - subnet: 176.16.16.1/20
 dnn: internet
-  - addr: 2001:780:44:2000:0:0:0:1/56
+  - subnet: 2001:780:44:2000:0:0:0:1/56
 dnn: inet6
-  - addr: 176.16.32.1/20
+  - subnet: 176.16.32.1/20
 dnn: inet46
-  - addr: 2001:780:44:2100:0:0:0:1/56
+  - subnet: 2001:780:44:2100:0:0:0:1/56
 dnn: inet46
 dns:
   - 172.18.3.222
@@ -52,21 +69,6 @@
   enabled: auto
 freeDiameter: /data/freediameter.conf
 
-scp:
-sbi:
-  - addr: 127.0.1.10
-port: 
-
-nrf:
-sbi:
-  - addr:
-  - 172.18.3.201
-port: 
-
-upf:
-pfcp:
-  - addr: 172.18.3.222
-
 parameter:

 max:
diff --git a/ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml 
b/ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml
index 73e1bac..81afc6e 100644
--- a/ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml
+++ b/ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml
@@ -3,31 +3,37 @@
 logger:
 level: info

+global:
+  max:
+ue: 1024
+
 upf:
 pfcp:
-  - addr: 172.18.3.222
+  server:
+- address: 172.18.3.222
 gtpu:
-  - addr: 172.18.3.222
-port: 2152
-option:
-  so_bindtodevice: eth0
-subnet:
-  - addr: 176.16.16.1/20
+  server:
+- address: 172.18.3.222
+  port: 2152
+  option:
+so_bindtodevice: eth0
+session:
+  - subnet: 176.16.16.1/20
 dnn: internet
 dev: ogstun4
-  - addr: 2001:780:44:2000:0:0:0:1/56
+  - subnet: 2001:780:44:2000:0:0:0:1/56
 dnn: inet6
 dev: ogstun6
-  - addr: 176.16.32.1/20
+  - subnet: 176.16.32.1/20
 dnn: inet46
 dev: ogstun46
-  - addr: 2001:780:44:2100:0:0:0:1/56
+  - subnet: 2001:780:44:2100:0:0:0:1/56
 dnn: inet46
 dev: ogstun46

 smf:
 pfcp:
-  - addr: 172.18.3.201
+  - address: 172.18.3.201

 parameter:

diff --git a/ttcn3-hss-test-ogs/ogs/open5gs-hss-master.yaml 
b/ttcn3-hss-test-ogs/ogs/open5gs-hss-master.yaml
index 8d1f42e..df92b6f 100644
--- a/ttcn3-hss-test-ogs/ogs/open5gs-hss-master.yaml
+++ b/ttcn3-hss-test-ogs/ogs/open5gs-hss-master.yaml
@@ -5,6 +5,10 @@
 logger:
 level: trace

+global:
+  max:
+ue: 1024
+
 hss:
 freeDiameter: /data/freediameter.conf

diff --git a/ttcn3-mme-test-ogs/ogs/open5gs-mme-master.yaml 
b/ttcn3-mme-test-ogs/ogs/open5gs-mme-master.yaml
index 35b718d..520a0b5 100644
--- 

[L] Change in docker-playground[master]: open5gs configs: update to current format

2023-11-24 Thread laforge
Attention is currently required from: daniel, osmith.

laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/35105?usp=email )

Change subject: open5gs configs: update to current format
..


Patch Set 1: Code-Review+2


--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/35105?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Idf2706f3904eb06e94cee0728faa17e72a6cf1f6
Gerrit-Change-Number: 35105
Gerrit-PatchSet: 1
Gerrit-Owner: osmith 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel 
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-Attention: osmith 
Gerrit-Attention: daniel 
Gerrit-Comment-Date: Fri, 24 Nov 2023 08:33:46 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


[L] Change in docker-playground[master]: open5gs configs: update to current format

2023-11-23 Thread fixeria
Attention is currently required from: osmith.

fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/35105?usp=email )

Change subject: open5gs configs: update to current format
..


Patch Set 1: Code-Review+1


--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/35105?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Idf2706f3904eb06e94cee0728faa17e72a6cf1f6
Gerrit-Change-Number: 35105
Gerrit-PatchSet: 1
Gerrit-Owner: osmith 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Attention: osmith 
Gerrit-Comment-Date: Thu, 23 Nov 2023 16:47:52 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


[L] Change in docker-playground[master]: open5gs configs: update to current format

2023-11-23 Thread osmith
osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/docker-playground/+/35105?usp=email )


Change subject: open5gs configs: update to current format
..

open5gs configs: update to current format

Adjust open5gs configs to the new formats from:
https://github.com/open5gs/open5gs/pull/2739

This fixes all open5gs programs from crashing on startup with various
errors such as:
  11/21 07:39:25.971: [core] FATAL: epoll_init: Assertion `context->epfd >= 0' 
failed. (../lib/core/ogs-epoll.c:77)

Related: OS#6267
Change-Id: Idf2706f3904eb06e94cee0728faa17e72a6cf1f6
---
M ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml
M ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml
M ttcn3-hss-test-ogs/ogs/open5gs-hss-master.yaml
M ttcn3-mme-test-ogs/ogs/open5gs-mme-master.yaml
M ttcn3-pgw-test/open5gs-nrf-master.yaml
M ttcn3-pgw-test/open5gs-smf-master.yaml
M ttcn3-pgw-test/open5gs-upf-master.yaml
7 files changed, 158 insertions(+), 116 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground 
refs/changes/05/35105/1

diff --git a/ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml 
b/ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml
index afb5cf2..4b5891e 100644
--- a/ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml
+++ b/ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml
@@ -3,6 +3,10 @@
 logger:
 level: info

+global:
+  max:
+ue: 1024
+
 sbi:
 server:
   no_tls: true
@@ -17,30 +21,43 @@

 smf:
 sbi:
-  - addr: 172.18.3.201
+  server:
+  - address: 172.18.3.201
 port: 
+  client:
+nrf:
+  - uri: http://172.18.3.201:
+scp:
+  - uri: http://127.0.1.10:
 pfcp:
-  - addr: 172.18.3.201
+  server:
+- address: 172.18.3.201
+  client:
+upf:
+  - address: 172.18.3.222
 gtpc:
-  - addr: 172.18.3.201
-option:
-  so_bindtodevice: eth0
+  server:
+- address: 172.18.3.201
+  option:
+so_bindtodevice: eth0
 gtpu:
-  - addr: 172.18.3.201
-port: 2152
-option:
-  so_bindtodevice: eth0
+  server:
+- address: 172.18.3.201
+  port: 2152
+  option:
+so_bindtodevice: eth0
 metrics:
-addr: 172.18.3.201
-port: 9090
-subnet:
-  - addr: 176.16.16.1/20
+  server:
+- address: 172.18.3.201
+  port: 9090
+session:
+  - subnet: 176.16.16.1/20
 dnn: internet
-  - addr: 2001:780:44:2000:0:0:0:1/56
+  - subnet: 2001:780:44:2000:0:0:0:1/56
 dnn: inet6
-  - addr: 176.16.32.1/20
+  - subnet: 176.16.32.1/20
 dnn: inet46
-  - addr: 2001:780:44:2100:0:0:0:1/56
+  - subnet: 2001:780:44:2100:0:0:0:1/56
 dnn: inet46
 dns:
   - 172.18.3.222
@@ -52,21 +69,6 @@
   enabled: auto
 freeDiameter: /data/freediameter.conf

-scp:
-sbi:
-  - addr: 127.0.1.10
-port: 
-
-nrf:
-sbi:
-  - addr:
-  - 172.18.3.201
-port: 
-
-upf:
-pfcp:
-  - addr: 172.18.3.222
-
 parameter:

 max:
diff --git a/ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml 
b/ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml
index 73e1bac..81afc6e 100644
--- a/ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml
+++ b/ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml
@@ -3,31 +3,37 @@
 logger:
 level: info

+global:
+  max:
+ue: 1024
+
 upf:
 pfcp:
-  - addr: 172.18.3.222
+  server:
+- address: 172.18.3.222
 gtpu:
-  - addr: 172.18.3.222
-port: 2152
-option:
-  so_bindtodevice: eth0
-subnet:
-  - addr: 176.16.16.1/20
+  server:
+- address: 172.18.3.222
+  port: 2152
+  option:
+so_bindtodevice: eth0
+session:
+  - subnet: 176.16.16.1/20
 dnn: internet
 dev: ogstun4
-  - addr: 2001:780:44:2000:0:0:0:1/56
+  - subnet: 2001:780:44:2000:0:0:0:1/56
 dnn: inet6
 dev: ogstun6
-  - addr: 176.16.32.1/20
+  - subnet: 176.16.32.1/20
 dnn: inet46
 dev: ogstun46
-  - addr: 2001:780:44:2100:0:0:0:1/56
+  - subnet: 2001:780:44:2100:0:0:0:1/56
 dnn: inet46
 dev: ogstun46

 smf:
 pfcp:
-  - addr: 172.18.3.201
+  - address: 172.18.3.201

 parameter:

diff --git a/ttcn3-hss-test-ogs/ogs/open5gs-hss-master.yaml 
b/ttcn3-hss-test-ogs/ogs/open5gs-hss-master.yaml
index 8d1f42e..df92b6f 100644
--- a/ttcn3-hss-test-ogs/ogs/open5gs-hss-master.yaml
+++ b/ttcn3-hss-test-ogs/ogs/open5gs-hss-master.yaml
@@ -5,6 +5,10 @@
 logger:
 level: trace

+global:
+  max:
+ue: 1024
+
 hss:
 freeDiameter: /data/freediameter.conf

diff --git a/ttcn3-mme-test-ogs/ogs/open5gs-mme-master.yaml 
b/ttcn3-mme-test-ogs/ogs/open5gs-mme-master.yaml
index 35b718d..520a0b5 100644
--- a/ttcn3-mme-test-ogs/ogs/open5gs-mme-master.yaml
+++