feat: 网元参数配置数据支持版本区分功能

feat(database): add ne_version and schema columns to ne_info table

feat(database): update ne_info table structure in upgrade script

fix(ne_config): handle id as number in Info and Add methods

fix(ne_config): validate neId and fetch neInfo in ListByNeType and DataAdd methods

fix(ne_info): extract version from ServerState in Add and Edit methods

refactor(ne_config): update NeConfig model to include NeVersion

refactor(ne_info): add NeVersion and Schema fields to NeInfo model

test(ne_config): enhance test cases to include version parsing and saving

refactor(ne_config): improve cache handling and querying by NeType and NeVersion

fix(ne_info): update NeInfo version during status change
This commit is contained in:
TsMask
2025-10-17 10:17:07 +08:00
parent 3b053d7f47
commit 8cd86a62d6
18 changed files with 1306 additions and 254 deletions

View File

@@ -469,23 +469,23 @@ amf:
type: "int"
value: "0"
access: "read-only"
filter: "0~15"
filter: "0-32"
display: "Index"
comment: "0~15"
comment: "Max 32"
- name: "plmnId"
type: "regex"
value: "00101"
access: "read-write"
filter: "^[0-9]{5,6}$"
display: "PLMN ID"
comment: ""
comment: "MCC and MNC is less than 6 digits."
- name: "tac"
type: "string"
value: "1"
access: "read-write"
filter: "0~8"
filter: "0-16777215"
display: "TAC"
comment: "0~16777215"
comment: "Multiple TACs separated by commas (tac1,tac2)"
slice:
display: "AMF Support Slice List"
sort: 11