sql: 更新MME2的参数配置数据

This commit is contained in:
TsMask
2025-10-21 14:56:08 +08:00
parent 10723d9568
commit 5191d1bca1
3 changed files with 52 additions and 96 deletions

View File

@@ -29,14 +29,14 @@ mme:
type: "string" type: "string"
value: "192.168.8.220" value: "192.168.8.220"
access: "read-write" access: "read-write"
filter: "IP" filter: "0~64"
display: "S1 Local Address" display: "S1 Local Address"
comment: "Local IP for S1 interface" comment: "Local IP for S1 interface"
- name: "s6a.local.address" - name: "s6a.local.address"
type: "string" type: "string"
value: "172.16.5.220" value: "172.16.5.220"
access: "read-write" access: "read-write"
filter: "IP" filter: "0~64"
display: "Local S6a IP" display: "Local S6a IP"
comment: "Local IP for Diameter S6a" comment: "Local IP for Diameter S6a"
- name: "s6a.local.host" - name: "s6a.local.host"
@@ -57,13 +57,13 @@ mme:
type: "string" type: "string"
value: "172.16.5.220" value: "172.16.5.220"
access: "read-write" access: "read-write"
filter: "IP" filter: "0~64"
display: "Local S11 IP" display: "Local S11 IP"
- name: "n26.local.address" - name: "n26.local.address"
type: "string" type: "string"
value: "172.16.5.210" value: "172.16.5.210"
access: "read-write" access: "read-write"
filter: "IP" filter: "0~64"
display: "Local N26 IP" display: "Local N26 IP"
- name: "t3402.value" - name: "t3402.value"
type: "string" type: "string"
@@ -239,29 +239,18 @@ mme:
- name: "address" - name: "address"
type: "string" type: "string"
value: "172.16.5.221" value: "172.16.5.221"
filter: "IP" filter: "0~64"
display: "HSS Address" display: "HSS Address"
- name: "priority" - name: "priority"
type: "int" type: "int"
value: "1" value: "1"
filter: "1~10" filter: "1~10"
display: "Priority" display: "Priority"
- name: "plmnList" - name: "plmnId"
type: "array" type: "string"
display: "PLMN IDs" value: "00101"
array: filter: "^[0-9]{5,6}$"
- name: "index" display: "PLMN ID"
type: "int"
value: "0"
access: "read"
filter: "0~15"
display: "Index"
comment: "0~15"
- name: "plmnId"
type: "string"
value: ["00101"]
filter: "^[0-9]{5,6}$"
display: "PLMN ID"
s11: s11:
display: "SGW List" display: "SGW List"
sort: 9 sort: 9
@@ -276,34 +265,23 @@ mme:
- name: "address" - name: "address"
type: "string" type: "string"
value: "172.16.5.222" value: "172.16.5.222"
filter: "IP" filter: "0~64"
display: "SGW Address" display: "SGW Address"
- name: "priority" - name: "priority"
type: "int" type: "int"
value: "1" value: "1"
filter: "1~10" filter: "1~10"
display: "Priority" display: "Priority"
- name: "tai" - name: "plmnId"
type: "array" type: "string"
display: "Tracking Areas" value: "00101"
array: filter: "^[0-9]{5,6}$"
- name: "index" display: "PLMN ID"
type: "int" - name: "tac"
value: "0" type: "int"
access: "read" value: "1"
filter: "0~15" filter: "0~65535"
display: "Index" display: "TAC"
comment: "0~15"
- name: "plmnId"
type: "string"
value: "00101"
filter: "^[0-9]{5,6}$"
display: "PLMN ID"
- name: "tac"
type: "int"
value: "1"
filter: "0~65535"
display: "TAC"
s5s8: s5s8:
display: "PGW List" display: "PGW List"
sort: 11 sort: 11
@@ -318,34 +296,23 @@ mme:
- name: "address" - name: "address"
type: "string" type: "string"
value: "172.16.5.223" value: "172.16.5.223"
filter: "IP" filter: "0~64"
display: "PGW Address" display: "PGW Address"
- name: "priority" - name: "priority"
type: "int" type: "int"
value: "1" value: "1"
filter: "1~10" filter: "1~10"
display: "Priority" display: "Priority"
- name: "servedApn" - name: "plmnId"
type: "array" type: "string"
display: "Served APNs" value: "00101"
array: filter: "^[0-9]{5,6}$"
- name: "index" display: "PLMN ID"
type: "int" - name: "apn"
value: "0" type: "string"
access: "read" value: "internet"
filter: "0~15" filter: "0~128"
display: "Index" display: "APN"
comment: "0~15"
- name: "plmnId"
type: "string"
value: "00101"
filter: "^[0-9]{5,6}$"
display: "PLMN ID"
- name: "apn"
type: "string"
value: "internet"
filter: "0~128"
display: "APN"
n26: n26:
display: "AMF List" display: "AMF List"
sort: 13 sort: 13
@@ -360,34 +327,23 @@ mme:
- name: "address" - name: "address"
type: "string" type: "string"
value: "172.16.5.224" value: "172.16.5.224"
filter: "IP" filter: "0~64"
display: "AMF Address" display: "AMF Address"
- name: "priority" - name: "priority"
type: "int" type: "int"
value: "1" value: "1"
filter: "1~10" filter: "1~10"
display: "Priority" display: "Priority"
- name: "tai" - name: "plmnId"
type: "array" type: "string"
display: "Tracking Areas" value: "00101"
array: filter: "^[0-9]{5,6}$"
- name: "index" display: "PLMN ID"
type: "int" - name: "tac"
value: "0" type: "int"
access: "read" value: "1"
filter: "0~15" filter: "0~65535"
display: "Index" display: "TAC"
comment: "0~15"
- name: "plmnId"
type: "string"
value: "00101"
filter: "^[0-9]{5,6}$"
display: "PLMN ID"
- name: "tac"
type: "int"
value: "1"
filter: "0~65535"
display: "TAC"
enbList: enbList:
display: "Enb List Config" display: "Enb List Config"
sort: 19 sort: 19

File diff suppressed because one or more lines are too long

View File

@@ -29,7 +29,7 @@ const (
// 配置文件路径 // 配置文件路径
configParamDir = "../../../config/param" configParamDir = "../../../config/param"
// configParamFile = "*" // 目录下全部更新 // configParamFile = "*" // 目录下全部更新
configParamFile = "amf_param_config.yaml" // 单文件更新 configParamFile = "mme_2_param_config.yaml" // 单文件更新
) )
func TestConfig(t *testing.T) { func TestConfig(t *testing.T) {