mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 14:20:09 +00:00
[AMF] Add amfInfoList to NFProfile
The actual configured GUAMIs and TAIs are used to form NF profile.
Comparing to SMF the "info" section is not introduced into amf.yaml!
Each amf_id (region, set) produces a separate Info in the InfoList.
Guami list consists of all GUAMIs of particular Info.
taiList consists of all TAIs for all PLMNs of particular Info.
Examle:
amf.yaml:
guami:
- plmn_id:
mcc: 999
mnc: 70
amf_id:
region: 2
set: 2
pointer: 4
- plmn_id:
mcc: 001
mnc: 01
amf_id:
region: 2
set: 1
- plmn_id:
mcc: 001
mnc: 02
amf_id:
region: 2
set: 2
tai:
- plmn_id:
mcc: 001
mnc: 01
tac: [1, 2, 3]
tai:
- plmn_id:
mcc: 002
mnc: 02
tac: 4
- plmn_id:
mcc: 001
mnc: 02
tac: 10
tai:
- plmn_id:
mcc: 004
mnc: 04
tac: [6, 7]
- plmn_id:
mcc: 005
mnc: 05
tac: 8
- plmn_id:
mcc: 999
mnc: 70
tac: [9, 10]
"amfInfoList": {
"1": {
"amfSetId": "002",
"amfRegionId": "02",
"guamiList": [{
"plmnId": {
"mcc": "999",
"mnc": "70"
},
"amfId": "020084"
}, {
"plmnId": {
"mcc": "001",
"mnc": "02"
},
"amfId": "020080"
}],
"taiList": [{
"plmnId": {
"mcc": "001",
"mnc": "02"
},
"tac": "00000a"
}, {
"plmnId": {
"mcc": "999",
"mnc": "70"
},
"tac": "000009"
}, {
"plmnId": {
"mcc": "999",
"mnc": "70"
},
"tac": "00000a"
}]
},
"2": {
"amfSetId": "001",
"amfRegionId": "02",
"guamiList": [{
"plmnId": {
"mcc": "001",
"mnc": "01"
},
"amfId": "020040"
}],
"taiList": [{
"plmnId": {
"mcc": "001",
"mnc": "01"
},
"tac": "000001"
}, {
"plmnId": {
"mcc": "001",
"mnc": "01"
},
"tac": "000002"
}, {
"plmnId": {
"mcc": "001",
"mnc": "01"
},
"tac": "000003"
}]
}
}
This commit is contained in:
parent
ce7d631064
commit
d3d4e5ce60
5 changed files with 367 additions and 26 deletions
|
|
@ -81,6 +81,7 @@ extern "C" {
|
|||
#define OGS_MAX_PCO_LEN 251
|
||||
#define OGS_MAX_FQDN_LEN 256
|
||||
|
||||
#define MAX_NUM_OF_SERVED_GUAMI 8
|
||||
#define OGS_MAX_NUM_OF_SERVED_TAI 16
|
||||
#define OGS_MAX_NUM_OF_ALGORITHM 8
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue