sql: 更新MME2的参数配置数据
This commit is contained in:
@@ -29,14 +29,14 @@ mme:
|
||||
type: "string"
|
||||
value: "192.168.8.220"
|
||||
access: "read-write"
|
||||
filter: "IP"
|
||||
filter: "0~64"
|
||||
display: "S1 Local Address"
|
||||
comment: "Local IP for S1 interface"
|
||||
- name: "s6a.local.address"
|
||||
type: "string"
|
||||
value: "172.16.5.220"
|
||||
access: "read-write"
|
||||
filter: "IP"
|
||||
filter: "0~64"
|
||||
display: "Local S6a IP"
|
||||
comment: "Local IP for Diameter S6a"
|
||||
- name: "s6a.local.host"
|
||||
@@ -57,13 +57,13 @@ mme:
|
||||
type: "string"
|
||||
value: "172.16.5.220"
|
||||
access: "read-write"
|
||||
filter: "IP"
|
||||
filter: "0~64"
|
||||
display: "Local S11 IP"
|
||||
- name: "n26.local.address"
|
||||
type: "string"
|
||||
value: "172.16.5.210"
|
||||
access: "read-write"
|
||||
filter: "IP"
|
||||
filter: "0~64"
|
||||
display: "Local N26 IP"
|
||||
- name: "t3402.value"
|
||||
type: "string"
|
||||
@@ -239,29 +239,18 @@ mme:
|
||||
- name: "address"
|
||||
type: "string"
|
||||
value: "172.16.5.221"
|
||||
filter: "IP"
|
||||
filter: "0~64"
|
||||
display: "HSS Address"
|
||||
- name: "priority"
|
||||
type: "int"
|
||||
value: "1"
|
||||
filter: "1~10"
|
||||
display: "Priority"
|
||||
- name: "plmnList"
|
||||
type: "array"
|
||||
display: "PLMN IDs"
|
||||
array:
|
||||
- name: "index"
|
||||
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"
|
||||
- name: "plmnId"
|
||||
type: "string"
|
||||
value: "00101"
|
||||
filter: "^[0-9]{5,6}$"
|
||||
display: "PLMN ID"
|
||||
s11:
|
||||
display: "SGW List"
|
||||
sort: 9
|
||||
@@ -276,34 +265,23 @@ mme:
|
||||
- name: "address"
|
||||
type: "string"
|
||||
value: "172.16.5.222"
|
||||
filter: "IP"
|
||||
filter: "0~64"
|
||||
display: "SGW Address"
|
||||
- name: "priority"
|
||||
type: "int"
|
||||
value: "1"
|
||||
filter: "1~10"
|
||||
display: "Priority"
|
||||
- name: "tai"
|
||||
type: "array"
|
||||
display: "Tracking Areas"
|
||||
array:
|
||||
- name: "index"
|
||||
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"
|
||||
- name: "tac"
|
||||
type: "int"
|
||||
value: "1"
|
||||
filter: "0~65535"
|
||||
display: "TAC"
|
||||
- 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:
|
||||
display: "PGW List"
|
||||
sort: 11
|
||||
@@ -318,34 +296,23 @@ mme:
|
||||
- name: "address"
|
||||
type: "string"
|
||||
value: "172.16.5.223"
|
||||
filter: "IP"
|
||||
filter: "0~64"
|
||||
display: "PGW Address"
|
||||
- name: "priority"
|
||||
type: "int"
|
||||
value: "1"
|
||||
filter: "1~10"
|
||||
display: "Priority"
|
||||
- name: "servedApn"
|
||||
type: "array"
|
||||
display: "Served APNs"
|
||||
array:
|
||||
- name: "index"
|
||||
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"
|
||||
- name: "apn"
|
||||
type: "string"
|
||||
value: "internet"
|
||||
filter: "0~128"
|
||||
display: "APN"
|
||||
- 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:
|
||||
display: "AMF List"
|
||||
sort: 13
|
||||
@@ -360,34 +327,23 @@ mme:
|
||||
- name: "address"
|
||||
type: "string"
|
||||
value: "172.16.5.224"
|
||||
filter: "IP"
|
||||
filter: "0~64"
|
||||
display: "AMF Address"
|
||||
- name: "priority"
|
||||
type: "int"
|
||||
value: "1"
|
||||
filter: "1~10"
|
||||
display: "Priority"
|
||||
- name: "tai"
|
||||
type: "array"
|
||||
display: "Tracking Areas"
|
||||
array:
|
||||
- name: "index"
|
||||
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"
|
||||
- name: "tac"
|
||||
type: "int"
|
||||
value: "1"
|
||||
filter: "0~65535"
|
||||
display: "TAC"
|
||||
- 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:
|
||||
display: "Enb List Config"
|
||||
sort: 19
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -29,7 +29,7 @@ const (
|
||||
// 配置文件路径
|
||||
configParamDir = "../../../config/param"
|
||||
// configParamFile = "*" // 目录下全部更新
|
||||
configParamFile = "amf_param_config.yaml" // 单文件更新
|
||||
configParamFile = "mme_2_param_config.yaml" // 单文件更新
|
||||
)
|
||||
|
||||
func TestConfig(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user