2020-05-25 16:15:22 +00:00
|
|
|
db_uri: mongodb://localhost/open5gs
|
|
|
|
|
|
|
|
logger:
|
|
|
|
|
2023-02-18 01:58:29 +00:00
|
|
|
sbi:
|
2022-11-12 00:37:43 +00:00
|
|
|
server:
|
2023-02-18 01:58:29 +00:00
|
|
|
no_tls: true
|
2022-11-21 13:06:29 +00:00
|
|
|
cacert: @build_configs_dir@/open5gs/tls/ca.crt
|
|
|
|
key: @build_configs_dir@/open5gs/tls/testserver.key
|
|
|
|
cert: @build_configs_dir@/open5gs/tls/testserver.crt
|
2022-11-12 00:37:43 +00:00
|
|
|
client:
|
2023-02-18 01:58:29 +00:00
|
|
|
no_tls: true
|
2022-11-21 13:06:29 +00:00
|
|
|
cacert: @build_configs_dir@/open5gs/tls/ca.crt
|
|
|
|
key: @build_configs_dir@/open5gs/tls/testclient.key
|
|
|
|
cert: @build_configs_dir@/open5gs/tls/testclient.crt
|
2022-11-12 00:37:43 +00:00
|
|
|
|
2020-05-25 16:15:22 +00:00
|
|
|
parameter:
|
2020-08-22 03:33:45 +00:00
|
|
|
# no_nrf: true
|
2022-07-16 04:27:18 +00:00
|
|
|
no_scp: true
|
2020-08-22 03:33:45 +00:00
|
|
|
# no_amf: true
|
|
|
|
# no_smf: true
|
|
|
|
# no_upf: true
|
|
|
|
# no_ausf: true
|
|
|
|
# no_udm: true
|
2021-01-01 02:07:08 +00:00
|
|
|
# no_pcf: true
|
2021-03-08 12:25:09 +00:00
|
|
|
# no_nssf: true
|
2021-05-29 06:56:12 +00:00
|
|
|
# no_bsf: true
|
2020-08-22 03:33:45 +00:00
|
|
|
# no_udr: true
|
|
|
|
# no_mme: true
|
|
|
|
# no_sgwc: true
|
|
|
|
# no_sgwu: true
|
|
|
|
# no_pcrf: true
|
|
|
|
# no_hss: true
|
2022-09-23 12:24:50 +00:00
|
|
|
# use_mongodb_change_stream: true
|
2020-05-25 16:15:22 +00:00
|
|
|
|
2020-08-22 03:33:45 +00:00
|
|
|
mme:
|
|
|
|
freeDiameter:
|
|
|
|
identity: mme.localdomain
|
|
|
|
realm: localdomain
|
|
|
|
listen_on: 127.0.0.2
|
2021-06-21 13:36:38 +00:00
|
|
|
no_fwd: true
|
2020-08-22 03:33:45 +00:00
|
|
|
load_extension:
|
2022-11-21 13:06:29 +00:00
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dbg_msg_dumps.fdx
|
2020-08-22 03:33:45 +00:00
|
|
|
conf: 0x8888
|
2022-11-21 13:06:29 +00:00
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_rfc5777.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_mip6i.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_nasreq.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_nas_mipv6.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_dcca.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_dcca_3gpp/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
2020-08-22 03:33:45 +00:00
|
|
|
connect:
|
|
|
|
- identity: hss.localdomain
|
|
|
|
addr: 127.0.0.8
|
|
|
|
|
|
|
|
s1ap:
|
2020-09-12 16:16:08 +00:00
|
|
|
- addr: 127.0.0.2
|
2020-08-22 03:33:45 +00:00
|
|
|
gtpc:
|
2020-09-12 16:16:08 +00:00
|
|
|
- addr: 127.0.0.2
|
2020-08-22 03:33:45 +00:00
|
|
|
gummei:
|
|
|
|
plmn_id:
|
2022-06-23 12:37:47 +00:00
|
|
|
mcc: 999
|
2020-08-22 03:33:45 +00:00
|
|
|
mnc: 70
|
|
|
|
mme_gid: 2
|
|
|
|
mme_code: 1
|
|
|
|
tai:
|
|
|
|
plmn_id:
|
2022-06-23 12:37:47 +00:00
|
|
|
mcc: 999
|
2020-08-22 03:33:45 +00:00
|
|
|
mnc: 70
|
|
|
|
tac: 1
|
|
|
|
security:
|
2020-09-12 16:16:08 +00:00
|
|
|
integrity_order : [ EIA2, EIA1, EIA0 ]
|
2020-08-22 03:33:45 +00:00
|
|
|
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
|
|
|
|
|
|
|
network_name:
|
|
|
|
full: Open5GS
|
|
|
|
|
|
|
|
sgwc:
|
|
|
|
gtpc:
|
2020-09-12 16:16:08 +00:00
|
|
|
- addr: 127.0.0.3
|
2020-08-22 03:33:45 +00:00
|
|
|
pfcp:
|
2020-09-12 16:16:08 +00:00
|
|
|
- addr: 127.0.0.3
|
2020-08-22 03:33:45 +00:00
|
|
|
|
|
|
|
smf:
|
|
|
|
sbi:
|
|
|
|
- addr: 127.0.0.4
|
|
|
|
port: 7777
|
2021-03-15 01:01:55 +00:00
|
|
|
pfcp:
|
|
|
|
- addr: 127.0.0.4
|
2020-08-22 03:33:45 +00:00
|
|
|
gtpc:
|
|
|
|
- addr: 127.0.0.4
|
|
|
|
- addr: ::1
|
2021-03-15 01:01:55 +00:00
|
|
|
gtpu:
|
2020-08-22 03:33:45 +00:00
|
|
|
- addr: 127.0.0.4
|
2021-03-15 01:01:55 +00:00
|
|
|
- addr: ::1
|
2021-03-08 12:25:09 +00:00
|
|
|
subnet:
|
2020-08-22 03:33:45 +00:00
|
|
|
- addr: 10.45.0.1/16
|
2022-01-14 02:50:27 +00:00
|
|
|
- addr: 2001:db8:cafe::1/48
|
2020-08-22 03:33:45 +00:00
|
|
|
dns:
|
|
|
|
- 8.8.8.8
|
|
|
|
- 8.8.4.4
|
|
|
|
- 2001:4860:4860::8888
|
|
|
|
- 2001:4860:4860::8844
|
|
|
|
mtu: 1400
|
|
|
|
freeDiameter:
|
|
|
|
identity: smf.localdomain
|
|
|
|
realm: localdomain
|
|
|
|
listen_on: 127.0.0.4
|
2021-06-21 13:36:38 +00:00
|
|
|
no_fwd: true
|
2020-08-22 03:33:45 +00:00
|
|
|
load_extension:
|
2022-11-21 13:06:29 +00:00
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dbg_msg_dumps.fdx
|
2020-08-22 03:33:45 +00:00
|
|
|
conf: 0x8888
|
2022-11-21 13:06:29 +00:00
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_rfc5777.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_mip6i.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_nasreq.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_nas_mipv6.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_dcca.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
2020-08-22 03:33:45 +00:00
|
|
|
connect:
|
|
|
|
- identity: pcrf.localdomain
|
|
|
|
addr: 127.0.0.9
|
2020-05-25 16:15:22 +00:00
|
|
|
amf:
|
|
|
|
sbi:
|
2020-08-22 03:33:45 +00:00
|
|
|
- addr: 127.0.0.5
|
2020-05-25 16:15:22 +00:00
|
|
|
port: 7777
|
|
|
|
ngap:
|
2020-08-22 03:33:45 +00:00
|
|
|
- addr: 127.0.0.5
|
2020-05-25 16:15:22 +00:00
|
|
|
guami:
|
|
|
|
- plmn_id:
|
2022-06-23 12:37:47 +00:00
|
|
|
mcc: 999
|
2021-03-08 12:25:09 +00:00
|
|
|
mnc: 70
|
2020-05-25 16:15:22 +00:00
|
|
|
amf_id:
|
|
|
|
region: 202
|
|
|
|
set: 1016
|
|
|
|
tai:
|
|
|
|
- plmn_id:
|
2022-06-23 12:37:47 +00:00
|
|
|
mcc: 999
|
2021-03-08 12:25:09 +00:00
|
|
|
mnc: 70
|
2020-05-25 16:15:22 +00:00
|
|
|
tac: 1
|
2020-09-12 16:16:08 +00:00
|
|
|
plmn_support:
|
2020-05-25 16:15:22 +00:00
|
|
|
- plmn_id:
|
2022-06-23 12:37:47 +00:00
|
|
|
mcc: 999
|
2021-03-08 12:25:09 +00:00
|
|
|
mnc: 70
|
2020-05-25 16:15:22 +00:00
|
|
|
s_nssai:
|
|
|
|
- sst: 1
|
|
|
|
- sst: 1
|
2021-03-08 12:25:09 +00:00
|
|
|
sd: 000080
|
|
|
|
- sst: 1
|
|
|
|
sd: 009000
|
2020-05-25 16:15:22 +00:00
|
|
|
security:
|
2020-06-17 05:22:28 +00:00
|
|
|
integrity_order : [ NIA2, NIA1 ]
|
|
|
|
ciphering_order : [ NEA0, NEA1, NEA2 ]
|
2020-05-25 16:15:22 +00:00
|
|
|
network_name:
|
|
|
|
full: Open5GS
|
2020-05-25 16:34:05 +00:00
|
|
|
amf_name: open5gs-amf0
|
2020-05-25 16:15:22 +00:00
|
|
|
|
2020-08-22 03:33:45 +00:00
|
|
|
sgwu:
|
|
|
|
pfcp:
|
2020-09-12 16:16:08 +00:00
|
|
|
- addr: 127.0.0.6
|
2021-03-15 01:01:55 +00:00
|
|
|
gtpu:
|
|
|
|
- addr: 127.0.0.6
|
2020-08-22 03:33:45 +00:00
|
|
|
|
|
|
|
upf:
|
2020-05-25 16:15:22 +00:00
|
|
|
pfcp:
|
2020-08-22 03:33:45 +00:00
|
|
|
- addr: 127.0.0.7
|
|
|
|
gtpu:
|
2020-09-12 16:16:08 +00:00
|
|
|
- addr: 127.0.0.7
|
2021-03-08 12:25:09 +00:00
|
|
|
subnet:
|
2020-05-25 16:15:22 +00:00
|
|
|
- addr: 10.45.0.1/16
|
2022-01-14 02:50:27 +00:00
|
|
|
- addr: 2001:db8:cafe::1/48
|
2022-08-19 12:08:27 +00:00
|
|
|
metrics:
|
|
|
|
- addr: 127.0.0.7
|
|
|
|
port: 9090
|
2020-08-22 03:33:45 +00:00
|
|
|
|
|
|
|
hss:
|
2020-05-25 16:15:22 +00:00
|
|
|
freeDiameter:
|
2020-08-22 03:33:45 +00:00
|
|
|
identity: hss.localdomain
|
|
|
|
realm: localdomain
|
|
|
|
listen_on: 127.0.0.8
|
2021-06-21 13:36:38 +00:00
|
|
|
no_fwd: true
|
2020-05-25 16:15:22 +00:00
|
|
|
load_extension:
|
2022-11-21 13:06:29 +00:00
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dbg_msg_dumps.fdx
|
2020-05-25 16:15:22 +00:00
|
|
|
conf: 0x8888
|
2022-11-21 13:06:29 +00:00
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_rfc5777.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_mip6i.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_nasreq.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_nas_mipv6.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_dcca.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
2020-05-25 16:15:22 +00:00
|
|
|
connect:
|
2020-08-22 03:33:45 +00:00
|
|
|
- identity: mme.localdomain
|
|
|
|
addr: 127.0.0.2
|
|
|
|
pcrf:
|
|
|
|
freeDiameter:
|
|
|
|
identity: pcrf.localdomain
|
|
|
|
realm: localdomain
|
|
|
|
listen_on: 127.0.0.9
|
2021-06-21 13:36:38 +00:00
|
|
|
no_fwd: true
|
2020-08-22 03:33:45 +00:00
|
|
|
load_extension:
|
2022-11-21 13:06:29 +00:00
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dbg_msg_dumps.fdx
|
2020-08-22 03:33:45 +00:00
|
|
|
conf: 0x8888
|
2022-11-21 13:06:29 +00:00
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_rfc5777.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_mip6i.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_nasreq.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_nas_mipv6.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_dcca.fdx
|
|
|
|
- module: @build_subprojects_freeDiameter_extensions_dir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
2020-08-22 03:33:45 +00:00
|
|
|
connect:
|
|
|
|
- identity: smf.localdomain
|
|
|
|
addr: 127.0.0.4
|
|
|
|
|
|
|
|
nrf:
|
|
|
|
sbi:
|
2020-09-12 16:16:08 +00:00
|
|
|
- addr:
|
2020-08-22 03:33:45 +00:00
|
|
|
- 127.0.0.10
|
2020-05-25 16:15:22 +00:00
|
|
|
- ::1
|
2020-09-12 16:16:08 +00:00
|
|
|
port: 7777
|
2020-06-04 18:12:05 +00:00
|
|
|
|
|
|
|
ausf:
|
|
|
|
sbi:
|
2020-08-22 03:33:45 +00:00
|
|
|
- addr: 127.0.0.11
|
2020-06-04 18:12:05 +00:00
|
|
|
port: 7777
|
|
|
|
|
|
|
|
udm:
|
|
|
|
sbi:
|
2020-08-22 03:33:45 +00:00
|
|
|
- addr: 127.0.0.12
|
2020-06-04 18:12:05 +00:00
|
|
|
port: 7777
|
|
|
|
|
2020-12-11 19:03:20 +00:00
|
|
|
pcf:
|
2020-06-04 18:12:05 +00:00
|
|
|
sbi:
|
2020-08-22 03:33:45 +00:00
|
|
|
- addr: 127.0.0.13
|
2020-06-04 18:12:05 +00:00
|
|
|
port: 7777
|
[PCF] Add metrics support
Expose metrics with labels according to ETSI TS 128 552 V16.13.0 in
PCF by using hash.
The metrics are named respecting the rule:
<generation>_<measurement_object_class>_<measurement_family_name>_<metric_name_as_in_TS_128_552>
Since slice itself is not unique, the plmnid label is exposed in
addition to snssai.
AM policy:
fivegs_pcffunction_pa_policyamassoreq and
fivegs_pcffunction_pa_policyamassosucc do not expose snssai label
since it is not available at the time of exposure.
plmnid is defined during AM policy processing, so not to lose the
difference to ...succ, the basic metric
fivegs_pcffunction_pa_policyamassoreq is preserved.
SM policy:
snssai is defined during SM policy processing, so not to lose the
difference to ...succ, the basic metric
fivegs_pcffunction_pa_policysmassoreq is preserved.
Those 2 basic metrics retain their position but are exposed with empty
labels.
Metrics with labels are called later, when the label values are known.
Exposed metrics example:
-standard counters:
fivegs_pcffunction_pa_policyamassoreq{plmnid=""} 3
fivegs_pcffunction_pa_policyamassoreq{plmnid="99970"} 3
fivegs_pcffunction_pa_policyamassosucc{plmnid="99970"} 3
fivegs_pcffunction_pa_policysmassoreq{plmnid="",snssai=""} 3
fivegs_pcffunction_pa_policysmassoreq{plmnid="99970",snssai="1000009"} 3
fivegs_pcffunction_pa_policysmassosucc{plmnid="99970",snssai="1000009"} 3
-nonstandard gauge (added for controlling purposes -
same metric as existing metric on AMF and SMF):
fivegs_pcffunction_pa_sessionnbr{plmnid="99970",snssai="1000009"} 0
2022-08-18 10:20:26 +00:00
|
|
|
metrics:
|
|
|
|
- addr: 127.0.0.13
|
|
|
|
port: 9090
|
2020-12-11 19:03:20 +00:00
|
|
|
|
2021-03-08 12:25:09 +00:00
|
|
|
nssf:
|
|
|
|
sbi:
|
|
|
|
- addr: 127.0.0.14
|
|
|
|
port: 7777
|
|
|
|
nsi:
|
|
|
|
- addr: ::1
|
|
|
|
port: 7777
|
|
|
|
s_nssai:
|
|
|
|
sst: 1
|
|
|
|
- addr: 127.0.0.19
|
|
|
|
port: 7777
|
|
|
|
s_nssai:
|
|
|
|
sst: 1
|
|
|
|
sd: 000080
|
|
|
|
- addr: 127.0.0.10
|
|
|
|
port: 7777
|
|
|
|
s_nssai:
|
|
|
|
sst: 1
|
|
|
|
sd: 009000
|
|
|
|
|
2021-05-29 06:56:12 +00:00
|
|
|
bsf:
|
|
|
|
sbi:
|
|
|
|
- addr: 127.0.0.15
|
|
|
|
port: 7777
|
|
|
|
|
2020-12-11 19:03:20 +00:00
|
|
|
udr:
|
|
|
|
sbi:
|
|
|
|
- addr: 127.0.0.20
|
|
|
|
port: 7777
|
2022-11-29 14:22:16 +00:00
|
|
|
|
|
|
|
time:
|
|
|
|
t3512:
|
|
|
|
value: 540 # 9 mintues * 60 = 540 seconds
|