Merge remote-tracking branch 'origin/main' into multi-tenant
This commit is contained in:
@@ -80,6 +80,12 @@ mml:
|
||||
password: admin
|
||||
mmlHome: ./mmlhome
|
||||
|
||||
# Tracking configuration
|
||||
trace:
|
||||
enabled: true
|
||||
host: "172.16.5.100" # Fill in the specific IP address
|
||||
port: 33033
|
||||
|
||||
# NE config
|
||||
ne:
|
||||
user: omcuser
|
||||
@@ -126,28 +132,35 @@ omc:
|
||||
|
||||
# Alarm module setting
|
||||
# Forward interface:
|
||||
# email/sms/smsc
|
||||
# TLS Skip verify: true/false
|
||||
# email/sms
|
||||
# smProxy: sms(Short Message Service)/smsc(SMS Centre)
|
||||
# dataCoding: 0:UCS2, 1:ASCII, 2:LATIN1
|
||||
alarm:
|
||||
forwardAlarm: true
|
||||
email:
|
||||
smtp: smtp.xxx.com
|
||||
alarmEmailForward:
|
||||
enable: true
|
||||
emailList:
|
||||
smtp: mail.smtp.com
|
||||
port: 25
|
||||
user: smtpuser@xxx.com
|
||||
password: xxxxxx
|
||||
# TLS skip verify: true/false
|
||||
user: smtpext@smtp.com
|
||||
password: "1000smtp@omc!"
|
||||
tlsSkipVerify: true
|
||||
smProxy: smsc
|
||||
sms:
|
||||
apiURL: http://smsc.xxx.com
|
||||
accessKeyID: xxx
|
||||
accessKeySecret: xxx
|
||||
signName: XXX SMSC
|
||||
templateCode: 1000
|
||||
smsc:
|
||||
addr: "192.168.13.114:2775"
|
||||
systemID: "alarmsmsfw"
|
||||
alarmSMSForward:
|
||||
enable: true
|
||||
mobileList:
|
||||
smscAddr: "192.168.13.114:2775"
|
||||
systemID: "omc"
|
||||
password: "omc123"
|
||||
systemType: ""
|
||||
systemType: "UTRAN"
|
||||
dataCoding: 0
|
||||
serviceNumber: "OMC"
|
||||
sms:
|
||||
apiURL: http://smsc.xxx.com/
|
||||
accessKeyID: xxxx
|
||||
accessKeySecret: xxxx
|
||||
signName: xxx SMSC
|
||||
templateCode: 1000
|
||||
smProxy: smsc
|
||||
|
||||
# User authorized information
|
||||
# crypt: mysql/md5/bcrypt
|
||||
|
||||
@@ -23,13 +23,48 @@ logmml:
|
||||
# session: single/multiple session for one user
|
||||
sshd:
|
||||
listenAddr: 0.0.0.0
|
||||
listenPort: 22222
|
||||
listenPort: 32222
|
||||
privateKey: /usr/local/omc/.ssh/id_rsa
|
||||
maxConnNum: 20
|
||||
maxConnNum: 2
|
||||
timeout: 1800
|
||||
session: multiple
|
||||
mmlHome: /usr/local/omc/mmlhome
|
||||
userName: manager
|
||||
password: pass123
|
||||
authType: local
|
||||
tagNE: hlr
|
||||
|
||||
# authType: local/omc
|
||||
telnetServer:
|
||||
listenAddr: 0.0.0.0
|
||||
listenPort: 32323
|
||||
maxConnNum: 2
|
||||
timeout: 1800
|
||||
session: multiple
|
||||
mmlHome: /usr/local/omc/mmlhome
|
||||
userName: manager
|
||||
password: pass123
|
||||
authType: local
|
||||
tagNE: hlr
|
||||
|
||||
# authproto: NoAuth/MD5/SHA
|
||||
# privProto: NoPriv/DES/AES/AES192/AES256
|
||||
snmpServer:
|
||||
listenAddr: '[::]'
|
||||
listenPort: 34957
|
||||
userName: manager
|
||||
authPass: pass123
|
||||
authproto: MD5
|
||||
privPass: "3F2A1B4C5D6E7F8A9B0C1D2E3F4A5B6C7D8E9F0A1B2C3D4E"
|
||||
privProto: DES
|
||||
engineID: "8000000004323030313a6462383a3a39313636"
|
||||
trapPort: 34958
|
||||
trapListen: true
|
||||
trapBool: true
|
||||
trapTick: 60
|
||||
timeOut: 5
|
||||
trapTarget: "2001:db8::9219"
|
||||
|
||||
database:
|
||||
type: mysql
|
||||
user: root
|
||||
|
||||
@@ -169,6 +169,13 @@ mme:
|
||||
filter: "0~128"
|
||||
display: "HSS Hostname"
|
||||
comment: "0~128"
|
||||
- name: "hssRealm"
|
||||
type: "string"
|
||||
value: "ims.mnc001.mcc001.3gppnetwork.org"
|
||||
access: "read-write"
|
||||
filter: "0~128"
|
||||
display: "HSS Realm"
|
||||
comment: "0~128"
|
||||
- name: "protocol"
|
||||
type: "string"
|
||||
value: "SCTP"
|
||||
|
||||
114
config/param/omc_param_config.yaml
Normal file
114
config/param/omc_param_config.yaml
Normal file
@@ -0,0 +1,114 @@
|
||||
omc:
|
||||
alarmEmailForward:
|
||||
display: "Alarm Email Forward Interface"
|
||||
sort: 3
|
||||
list:
|
||||
- name: "enable"
|
||||
type: "bool"
|
||||
value: "true"
|
||||
access: "rw"
|
||||
filter: "true;false"
|
||||
display: "Enable"
|
||||
comment: "Is it enabled forward alarm with Email interface"
|
||||
- name: "emailList"
|
||||
type: "string"
|
||||
value: ""
|
||||
access: "rw"
|
||||
filter: ""
|
||||
display: "Email List"
|
||||
comment: ""
|
||||
- name: "smtp"
|
||||
type: "string"
|
||||
value: ""
|
||||
access: "rw"
|
||||
filter: ""
|
||||
display: "SMTP Server"
|
||||
comment: "Email SMTP server"
|
||||
- name: "port"
|
||||
type: "int"
|
||||
value: ""
|
||||
access: "rw"
|
||||
filter: "0~65535"
|
||||
display: "Port"
|
||||
comment: ""
|
||||
- name: "user"
|
||||
type: "string"
|
||||
value: ""
|
||||
access: "rw"
|
||||
filter: ""
|
||||
display: "User"
|
||||
comment: ""
|
||||
- name: "password"
|
||||
type: "string"
|
||||
value: ""
|
||||
access: "rw"
|
||||
filter: ""
|
||||
display: "Password"
|
||||
comment: ""
|
||||
- name: "tlsSkipVerify"
|
||||
type: "bool"
|
||||
value: "true"
|
||||
access: "rw"
|
||||
filter: "true;false"
|
||||
display: "TLS Skip Verify"
|
||||
comment: "If skip TLS verify (true/false)"
|
||||
alarmSMSForward:
|
||||
display: "Alarm SMS Forward Interface"
|
||||
sort: 4
|
||||
list:
|
||||
- name: "enable"
|
||||
type: "bool"
|
||||
value: "true"
|
||||
access: "rw"
|
||||
filter: "true;false"
|
||||
display: "Enable"
|
||||
comment: "Is it enabled forward alarm with SMS interface"
|
||||
- name: "mobileList"
|
||||
type: "string"
|
||||
value: ""
|
||||
access: "rw"
|
||||
filter: ""
|
||||
display: "Mobile List"
|
||||
comment: ""
|
||||
- name: "smscAddr"
|
||||
type: "string"
|
||||
value: ""
|
||||
access: "rw"
|
||||
filter: ""
|
||||
display: "SMSC Address"
|
||||
comment: "The SMSC SMPP Address"
|
||||
- name: "systemID"
|
||||
type: "string"
|
||||
value: ""
|
||||
access: "rw"
|
||||
filter: ""
|
||||
display: "System ID"
|
||||
comment: ""
|
||||
- name: "password"
|
||||
type: "string"
|
||||
value: ""
|
||||
access: "rw"
|
||||
filter: ""
|
||||
display: "Password"
|
||||
comment: ""
|
||||
- name: "systemType"
|
||||
type: "string"
|
||||
value: ""
|
||||
access: "rw"
|
||||
filter: ""
|
||||
display: "System Type"
|
||||
comment: ""
|
||||
- name: "dataCoding"
|
||||
type: "enum"
|
||||
value: "ASCII"
|
||||
access: "rw"
|
||||
filter: '{"0":"UCS2","1":"ASCII","2":"LATIN1"}'
|
||||
display: "Data Coding"
|
||||
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 and length is between 3 and 20"
|
||||
@@ -101,6 +101,48 @@ smsc:
|
||||
filter: "0~16"
|
||||
display: "SCF Address"
|
||||
comment: ""
|
||||
- name: "mtIdFormatFlag"
|
||||
type: "bool"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: '{"0":"false","1":"true"}'
|
||||
display: "MT Id Format Flag"
|
||||
comment: "If add plus then set false"
|
||||
- name: "mcastFlag"
|
||||
type: "bool"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: '{"0":"false","1":"true"}'
|
||||
display: "Mcast Flag"
|
||||
comment: "enable mcast sms"
|
||||
- name: "logLevel"
|
||||
type: "enum"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: '{"0":"none","1":"error","2":"debug"}'
|
||||
display: "Log Level"
|
||||
comment: ""
|
||||
- name: "logSize"
|
||||
type: "int"
|
||||
value: "200"
|
||||
access: "read-write"
|
||||
filter: "1-1000"
|
||||
display: "Log Size"
|
||||
comment: "The MB sizeof log file"
|
||||
- name: "logNum"
|
||||
type: "int"
|
||||
value: "10"
|
||||
access: "read-write"
|
||||
filter: "1-20"
|
||||
display: "Log Number"
|
||||
comment: "The number of log file"
|
||||
- name: "logDir"
|
||||
type: "string"
|
||||
value: "/var/log/"
|
||||
access: "read-write"
|
||||
filter: "0~128"
|
||||
display: "Log Directory"
|
||||
comment: ""
|
||||
msisdnsegment:
|
||||
display: "MSISDN Segment List"
|
||||
sort: 3
|
||||
@@ -130,6 +172,7 @@ smsc:
|
||||
smpplink:
|
||||
display: "SMPP Link List"
|
||||
sort: 5
|
||||
perms: "post,delete"
|
||||
array:
|
||||
- name: "index"
|
||||
type: "int"
|
||||
@@ -208,3 +251,188 @@ smsc:
|
||||
filter: '{"0":"server","1":"client"}'
|
||||
display: "Role Type"
|
||||
comment: ""
|
||||
convprefix:
|
||||
display: "Conv Prefix List"
|
||||
sort: 7
|
||||
perms: "post,delete"
|
||||
array:
|
||||
- name: "index"
|
||||
type: "int"
|
||||
value: "0"
|
||||
access: "read-only"
|
||||
filter: "0~127"
|
||||
display: "Index"
|
||||
comment: "0~127"
|
||||
- name: "prefix"
|
||||
type: "string"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0~16"
|
||||
display: "Prefix"
|
||||
comment: ""
|
||||
- name: "deleteLength"
|
||||
type: "int"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-16"
|
||||
display: "Delete Length"
|
||||
comment: ""
|
||||
- name: "addLength"
|
||||
type: "int"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-16"
|
||||
display: "Add Length"
|
||||
comment: ""
|
||||
- name: "addDigits"
|
||||
type: "string"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0~16"
|
||||
display: "Add Digits"
|
||||
comment: ""
|
||||
- name: "numberLength"
|
||||
type: "int"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-32"
|
||||
display: "Number Length"
|
||||
comment: ""
|
||||
smppparam:
|
||||
display: "SMPP Param List"
|
||||
sort: 9
|
||||
perms: "put"
|
||||
array:
|
||||
- name: "index"
|
||||
type: "int"
|
||||
value: "0"
|
||||
access: "read-only"
|
||||
filter: "0~31"
|
||||
display: "Index"
|
||||
comment: "0~31"
|
||||
- name: "linkAlias"
|
||||
type: "string"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-8"
|
||||
display: "Link Alias"
|
||||
comment: ""
|
||||
- name: "linkType"
|
||||
type: "enum"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: '{"0":"udp","1":"tcp"}'
|
||||
display: "Link Type"
|
||||
comment: ""
|
||||
- name: "serverType"
|
||||
type: "enum"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: '{"0":"client","1":"server"}'
|
||||
display: "Server Type"
|
||||
comment: ""
|
||||
- name: "sessionType"
|
||||
type: "enum"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: '{"0":"bindTX","1":"bindRX","2":"bindTRX"}'
|
||||
display: "Session Type"
|
||||
comment: ""
|
||||
- name: "systemID"
|
||||
type: "string"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-16"
|
||||
display: "System ID"
|
||||
comment: ""
|
||||
- name: "password"
|
||||
type: "string"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-8"
|
||||
display: "Password"
|
||||
comment: ""
|
||||
- name: "systemType"
|
||||
type: "string"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-12"
|
||||
display: "System Type"
|
||||
comment: ""
|
||||
- name: "localGTT"
|
||||
type: "string"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-16"
|
||||
display: "Local GTT"
|
||||
comment: ""
|
||||
- name: "remoteGTT"
|
||||
type: "string"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-16"
|
||||
display: "Remote GTT"
|
||||
comment: ""
|
||||
- name: "localIP"
|
||||
type: "string"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-32"
|
||||
display: "Local IP"
|
||||
comment: ""
|
||||
- name: "remoteIP"
|
||||
type: "string"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-32"
|
||||
display: "Remote IP"
|
||||
comment: ""
|
||||
- name: "sessionInitTimer"
|
||||
type: "int"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-65535"
|
||||
display: "Session Init Timer"
|
||||
comment: ""
|
||||
- name: "enquireLinkTimer"
|
||||
type: "int"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-65535"
|
||||
display: "Enquire Link Timer"
|
||||
comment: ""
|
||||
- name: "inactivityTimer"
|
||||
type: "int"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-65535"
|
||||
display: "Inactivity Timer"
|
||||
comment: ""
|
||||
- name: "responseTimer"
|
||||
type: "int"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-65535"
|
||||
display: "Response Timer"
|
||||
comment: ""
|
||||
- name: "localSSN"
|
||||
type: "int"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-255"
|
||||
display: "Local SSN"
|
||||
comment: ""
|
||||
- name: "remoteSSN"
|
||||
type: "int"
|
||||
value: "0"
|
||||
access: "read-write"
|
||||
filter: "0-255"
|
||||
display: "Remote SSN"
|
||||
comment: ""
|
||||
- name: "enable"
|
||||
type: "bool"
|
||||
value: "1"
|
||||
access: "read-write"
|
||||
filter: '{"0":"false","1":"true"}'
|
||||
display: "Enable Flag"
|
||||
comment: ""
|
||||
|
||||
Reference in New Issue
Block a user