From 45a9bd44f56cffd19cf806b3e69b74b521805991 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Thu, 16 Jun 2022 16:55:21 +0200 Subject: [PATCH] example config: some thoughs about static profiles --- configs/open5gs/pcrf.yaml.in | 53 ++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/configs/open5gs/pcrf.yaml.in b/configs/open5gs/pcrf.yaml.in index 4cf913ab6..b87c38765 100644 --- a/configs/open5gs/pcrf.yaml.in +++ b/configs/open5gs/pcrf.yaml.in @@ -1,4 +1,57 @@ db_uri: mongodb://localhost/open5gs +db_json: + default: + af: + ambr: + up: 10000 + down: 10000 + gmbr: + up: 1000 + down: 1000 + qci: 4 + normal: + ambr: + up: 10000 + down: 10000 + gmbr: + up: 10000 + down: 10000 + qci: 5 + charging_profiles: + af: + - 1 + - 2 + - 3 + - 4 + normal: + - 1 + - 2 + - 3 + - 4 + dir: + normal: "/tmp/profiles" + af: "/tmp/profiles_af" +# +# o Set OGS_LOG_INFO to all domain level +# - If `level` is omitted, the default level is OGS_LOG_INFO) +# - If `domain` is omitted, the all domain level is set from 'level' +# (Default values are used, so no configuration is required) +# +# o Set OGS_LOG_ERROR to all domain level +# - `level` can be set with none, fatal, error, warn, info, debug, trace +# logger: +# level: error +# +# o Set OGS_LOG_DEBUG to mme/emm domain level +# logger: +# level: debug +# domain: mme,emm +# +# o Set OGS_LOG_TRACE to all domain level +# logger: +# level: trace +# domain: core,sbi,ausf,event,tlv,mem,sock +# logger: file: @localstatedir@/log/open5gs/pcrf.log # level: info # fatal|error|warn|info(default)|debug|trace