sql: 更新AMF参数配置属性支持N26配置

This commit is contained in:
TsMask
2025-06-20 17:38:54 +08:00
parent 390b55a75d
commit bd2b6c587c
4 changed files with 302 additions and 283 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -16,7 +16,7 @@ amf:
value: "255"
access: "read-write"
filter: "0~255"
display: "NF Priority"
display: "AMF Priority"
comment: "0~255"
visible: "self"
- name: "relativeCapacity"
@@ -24,7 +24,7 @@ amf:
value: "255"
access: "read-write"
filter: "0~255"
display: "Relative Capacity"
display: "SBI Relative Capacity"
comment: "0~255"
visible: "self"
- name: "sbiScheme"
@@ -61,98 +61,77 @@ amf:
value: "http://172.16.5.180:8080"
access: "read-write"
filter: "0~64"
display: "NRF URI"
display: "NF NRF URI"
comment: ""
- name: "ausfUri"
type: "string"
value: "http://172.16.5.130:8080"
access: "read-write"
filter: "0~64"
display: "AUSF URI"
display: "NF AUSF URI"
comment: ""
- name: "udmUri"
type: "string"
value: "http://172.16.5.140:8080"
access: "read-write"
filter: "0~64"
display: "UDM URI"
display: "NF UDM URI"
comment: ""
- name: "smfUri"
type: "string"
value: "http://172.16.5.150:8080"
access: "read-write"
filter: "0~64"
display: "SMF URI"
display: "NF SMF URI"
comment: ""
- name: "pcfUri"
type: "string"
value: "http://172.16.5.160:8080"
access: "read-write"
filter: "0~64"
display: "PCF URI"
display: "NF PCF URI"
comment: ""
- name: "backupAusfUri"
type: "string"
value: "http://172.16.5.131:8080"
access: "read-write"
filter: "0~64"
display: "Backup AUSF URI"
display: "NF Backup AUSF URI"
comment: ""
- name: "backupUdmUri"
type: "string"
value: "http://172.16.5.141:8080"
access: "read-write"
filter: "0~64"
display: "Backup UDM URI"
display: "NF Backup UDM URI"
comment: ""
- name: "backupSmfUri"
type: "string"
value: "http://172.16.5.151:8080"
access: "read-write"
filter: "0~64"
display: "Backup SMF URI"
display: "NF Backup SMF URI"
comment: ""
- name: "backupPcfUri"
type: "string"
value: "http://172.16.5.161:8080"
access: "read-write"
filter: "0~64"
display: "Backup PCF URI"
display: "NF Backup PCF URI"
comment: ""
- name: "lmfUri"
type: "string"
value: "http://172.16.5.200:8080"
access: "read-write"
filter: "0~64"
display: "LMF URI"
display: "NF LMF URI"
comment: ""
- name: "nefUri"
type: "string"
value: "http://172.16.5.210:8080"
access: "read-write"
filter: "0~64"
display: "NEF URI"
comment: ""
- name: "imeiRestrictionEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "IMEI Restriction Enabled"
comment: ""
- name: "allowedImeiPrefix"
type: "string"
value: "869583045"
access: "read-write"
filter: "0~128"
display: "Allowed IMEI Prefix"
comment: ""
- name: "dnnCorrectionEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "DNN Correction Enabled"
display: "NF NEF URI"
comment: ""
- name: "defaultDnn"
type: "string"
@@ -166,14 +145,14 @@ amf:
value: "2"
access: "read-write"
filter: '{"0":"NIA0","1":"NIA1","2":"NIA2","3":"NIA3"}'
display: "Integrity Algorithm"
display: "AUTH Integrity Algorithm"
comment: ""
- name: "cipheringAlgorithm"
type: "enum"
value: "0"
access: "read-write"
filter: '{"0":"NEA0","1":"NEA1","2":"NEA2","3":"NEA3"}'
display: "Ciphering Algorithm"
display: "AUTH Ciphering Algorithm"
comment: ""
- name: "t3502"
type: "int"
@@ -238,9 +217,181 @@ amf:
filter: "1~65535"
display: "T3570"
comment: ""
association:
display: "TNL Association List"
systemFeatOpt:
display: "Enable/Disable Features"
sort: 3
list:
- name: "dnnCorrectionEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "DnnCorrectionEnabled"
comment: ""
- name: "gutiReallocationInPRUEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "GutiReallocationInPRUEnabled"
comment: ""
- name: "ueRadioCapabilityMatchEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "UeRadioCapabilityMatchEnabled"
comment: ""
- name: "supportFollowOnRequestIndication"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "SupportFollowOnRequestIndication"
comment: ""
- name: "triggerInitCtxSetupForAllNASProc"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "TriggerInitCtxSetupForAllNASProc"
comment: ""
- name: "supportAllAllowedNssai"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "SupportAllAllowedNssai"
comment: ""
- name: "implicitUnsubscribeEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "ImplicitUnsubscribeEnabled"
comment: ""
- name: "supportRRCInactiveReport"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "SupportRRCInactiveReport"
comment: ""
- name: "supportMappedSecurityContext"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "SupportMappedSecurityContext"
comment: ""
- name: "optimizeSignalingProcedure"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "OptimizeSignalingProcedure"
comment: ""
- name: "reAuthInServiceRequestProc"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "ReAuthInServiceRequestProc"
comment: ""
- name: "skipGetSubscribedNssai"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "SkipGetSubscribedNssai"
comment: ""
- name: "forceIdentityRequest"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "ForceIdentityRequest"
comment: ""
- name: "cagEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "CagEnabled"
comment: ""
- name: "checkSliceInTaEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "CheckSliceInTaEnabled"
comment: ""
- name: "uePolicyEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "uePolicyEnabled"
comment: ""
- name: "smsOverNasEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "smsOverNasEnabled"
comment: ""
- name: "statusReportToOmc"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "statusReportToOmc"
comment: ""
- name: "statusReportEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "StatusReportEnabled"
comment: ""
- name: "getTraceDataFromUdm"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "GetTraceDataFromUdm"
comment: ""
- name: "disableLocationReportControl"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "DisableLocationReportControl"
comment: ""
- name: "sendDnnOiToSmf"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "SendDnnOiToSmf"
comment: ""
- name: "udsfEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "UdsfEnabled"
comment: ""
- name: "enableHttpPprof"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "EnableHttpPprof"
comment: ""
association:
display: "AMF TNL Association List"
sort: 5
visible: "self"
array:
- name: "index"
@@ -272,9 +423,9 @@ amf:
display: "Weight"
comment: "0~255"
guami:
display: "GUAMI List"
sort: 5
visible: "self"
display: "AMF Served GUAMI List"
sort: 7
visible: "hide"
array:
- name: "index"
type: "int"
@@ -312,8 +463,8 @@ amf:
display: "Pointer"
comment: "0~63"
tai:
display: "TAI List"
sort: 7
display: "AMF Support TAI List"
sort: 9
array:
- name: "index"
type: "int"
@@ -337,8 +488,8 @@ amf:
display: "TAC"
comment: "0~16777215"
slice:
display: "Slice List"
sort: 9
display: "AMF Support Slice List"
sort: 11
array:
- name: "index"
type: "int"
@@ -368,228 +519,20 @@ amf:
filter: "^[A-Fa-f0-9]{6}"
display: "SD"
comment: ""
systemFeatOpt:
display: "System FeatOpt"
sort: 11
whiteInfo:
display: "Enable Whitelist Feat"
sort: 12
list:
- name: "dnnCorrectionEnabled"
- name: "enableWhitelist"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "dnnCorrectionEnabled"
comment: ""
- name: "gutiReallocationInPRUEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "gutiReallocationInPRUEnabled"
comment: ""
- name: "ueRadioCapabilityMatchEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "ueRadioCapabilityMatchEnabled"
comment: ""
- name: "supportFollowOnRequestIndication"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "supportFollowOnRequestIndication"
comment: ""
- name: "triggerInitCtxSetupForAllNASProc"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "triggerInitCtxSetupForAllNASProc"
comment: ""
- name: "supportAllAllowedNssai"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "supportAllAllowedNssai"
comment: ""
- name: "implicitUnsubscribeEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "implicitUnsubscribeEnabled"
comment: ""
- name: "supportRRCInactiveReport"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "supportRRCInactiveReport"
comment: ""
- name: "supportMappedSecurityContext"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "supportMappedSecurityContext"
comment: ""
- name: "optimizeSignalingProcedure"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "optimizeSignalingProcedure"
comment: ""
- name: "reAuthInServiceRequestProc"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "reAuthInServiceRequestProc"
comment: ""
- name: "skipGetSubscribedNssai"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "skipGetSubscribedNssai"
comment: ""
- name: "forceIdentityRequest"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "forceIdentityRequest"
comment: ""
- name: "cagEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "cagEnabled"
comment: ""
- name: "imeiRestrictionEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "imeiRestrictionEnabled"
comment: ""
- name: "checkSliceInTaEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "checkSliceInTaEnabled"
comment: ""
- name: "uePolicyEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "uePolicyEnabled"
comment: ""
- name: "smsOverNasEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "smsOverNasEnabled"
comment: ""
- name: "statusReportToOmc"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "statusReportToOmc"
comment: ""
- name: "statusReportEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "statusReportEnabled"
comment: ""
- name: "getTraceDataFromUdm"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "getTraceDataFromUdm"
comment: ""
- name: "disableLocationReportControl"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "disableLocationReportControl"
comment: ""
- name: "sendDnnOiToSmf"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "sendDnnOiToSmf"
comment: ""
- name: "udsfEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "udsfEnabled"
comment: ""
- name: "enableHttpPprof"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "enableHttpPprof"
comment: ""
- name: "enableTrace"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "enableTrace"
comment: ""
gnbList:
display: "Gnb List Config"
display: "IMSI/IMEI Whitelist"
comment: "if set true, need to add white list content by 'WhiteList Content' entry "
whitelist:
display: " └── WhiteList Content"
sort: 13
visible: "hide"
array:
- name: "index"
type: "int"
value: "0"
access: "read-only"
filter: "0~128"
display: "Index"
comment: "0~128"
- name: "name"
type: "string"
value: ""
access: "read-write"
filter: "0~64"
display: "GNB Name"
comment: "text content length 0~64"
- name: "address"
type: "string"
value: ""
access: "read-write"
filter: "0~64"
display: "GNB Address"
comment: "text content length 0~64"
- name: "position"
type: "string"
value: ""
access: "read-write"
filter: "0~64"
display: "Position"
comment: "location description. Prohibition of spaces, length of text content 0-64"
imeiWhitelist:
display: "IMEI White List"
sort: 15
array:
- name: "index"
type: "int"
@@ -598,10 +541,82 @@ amf:
filter: "0~65535"
display: "Index"
comment: "0~65535"
- name: "imeiPrefixValue"
- name: "imsiValue"
type: "string"
value: ""
access: "read-write"
filter: "^[a-zA-Z0-9]{0,16}$"
display: "IMEI Prefix"
filter: "^(|any|[a-zA-Z0-9]{1,16})$"
display: "IMSI Value"
comment: "SIM and device match: Both IMSI and IMEI are present. format e.g: 460020021404867,869583045227)"
- name: "imeiValue"
type: "string"
value: ""
access: "read-write"
filter: "^(|any|[a-zA-Z0-9]{1,16})$"
display: "IMEI Value/Prefix"
comment: "Device-only check (IMSI Value is empty, IMEI Prefix is present. format e.g: any,869583045227)"
4g5ghoN26Info:
display: "Enable 4G5GHO N26 Feat"
sort: 16
list:
- name: "iwkN26"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "Support 4G/5G Handover"
comment: "if set true, need to add MME List by '4G5GHO Select MME List' entry "
- name: "n26Ip"
type: "string"
value: "192.168.1.183"
access: "read-write"
filter: "0~64"
display: "Set AMF Local N26 IP"
comment: ""
visible: "self"
4g5ghoMmeList:
display: " └── 4G5GHO Select MME List"
sort: 17
array:
- name: "index"
type: "int"
value: "0"
access: "read-only"
filter: "0~32"
display: "Index"
comment: "0~32"
- name: "plmnId"
type: "regex"
value: "00101"
access: "read-write"
filter: "^[0-9]{5,6}$"
display: "PLMN ID"
comment: "<MCC><MNC>"
- name: "groupId"
type: "int"
value: "4"
access: "read-write"
filter: "0~65535"
display: "Group ID"
comment: ""
- name: "code"
type: "int"
value: "1"
access: "read-write"
filter: "0~255"
display: "Code"
comment: ""
- name: "tac"
type: "int"
value: "4388"
access: "read-write"
filter: "0~65535"
display: "TAC"
comment: ""
- name: "ip"
type: "string"
value: "172.16.5.220"
access: "read-write"
filter: "^(([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-fA-F]{0,4}:){2,7}[0-9a-fA-F]{0,4})$"
display: "MME IP Address"
comment: "IPv4 or IPv6 address"

View File

@@ -25,7 +25,7 @@ const (
DbPort = 13306
DbUser = "root"
DbPassswd = "1000omc@kp!"
DbName = "omc_db_lichang"
DbName = "omc_db_mainv2"
// 配置文件路径
configParamDir = "../../../local/param"
// configParamFile = "*" // 目录下全部更新