feat: 支持修改邮件标题,告警转发默认关闭

This commit is contained in:
TsMask
2025-06-27 11:18:28 +08:00
parent e4c6a7c37a
commit 7c0f31168f
7 changed files with 79 additions and 31 deletions

View File

@@ -1,4 +1,29 @@
omc:
trace:
display: "NE Signaling Trace"
sort: 1
list:
- name: "enabled"
type: "bool"
value: "false"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "Enable"
comment: "enable or disable NE signaling trace creation"
- name: "host"
type: "ipv4"
value: "172.16.5.100"
access: "read-write"
filter: '0~128'
display: "Host"
comment: "NE signaling trace host address"
- name: "port"
type: "int"
value: "33033"
access: "read-write"
filter: '3000~65530'
display: "Port"
comment: "NE signaling trace port"
alarmEmailForward:
display: "Alarm Email Forward Interface"
sort: 3
@@ -6,10 +31,17 @@ omc:
- name: "enable"
type: "bool"
value: "true"
access: "rw"
access: "rw"
filter: "true;false"
display: "Enable"
comment: "Is it enabled forward alarm with Email interface"
- name: "title"
type: "string"
value: ""
access: "rw"
filter: "0~64"
display: "Email Title"
comment: "string, no variable support"
- name: "emailList"
type: "string"
value: ""
@@ -59,7 +91,7 @@ omc:
- name: "enable"
type: "bool"
value: "true"
access: "rw"
access: "rw"
filter: "true;false"
display: "Enable"
comment: "Is it enabled forward alarm with SMS interface"
@@ -104,11 +136,11 @@ omc:
access: "rw"
filter: '{"0":"GSM7BIT","1":"ASCII","2":"BINARY8BIT1","3":"LATIN1","4":"BINARY8BIT2","6":"CYRILLIC","7":"HEBREW","8":"UCS2"}'
display: "Data Coding"
comment: "Short message coding type"
comment: "Short message coding type"
- name: "serviceNumber"
type: "string"
value: "OMC"
access: "rw"
filter: "3~20"
display: "Service Number"
comment: "It is the source address, the length is between 3 and 20"
comment: "It is the source address, the length is between 3 and 20"