1 Commits
Author SHA1 Message Date
admin 2dc6070580 Initial commit 2026-10-29 06:57:12 +00:00
446 changed files with 2 additions and 61831 deletions

No files matched your search

-47
View File
@@ -1,47 +0,0 @@
# ---> VisualStudioCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Run temp file and dir
crontask/log/
crontask/ftp/
crontask/database/
crontask/export/
crontask/temp
crontask/crontask
restagent/backup/
restagent/log/
restagent/upload/
restagent/software/
restagent/database/
restagent/license/
restagent/restagent
sshsvc/sshsvc
sshsvc/mmllog/
sshsvc/mmlhome/
sshsvc/log/
captrace/captrace
captrace/log/
tools/loadmconf/loadmconf
tools/loadpconf/loadpconf
vendor
# Built Visual Studio Code Extensions
*.vsix
*.log
*.log-*
*.bak
__debug_bin*.exe
-3
View File
@@ -1,3 +0,0 @@
{
"recommendations": []
}
-41
View File
@@ -1,41 +0,0 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "调试模式",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "./restagent/restagent.go",
"console": "integratedTerminal"
},
{
"name": "DEBUG restagent",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/ems.agt/restagent/restagent.go",
"console": "integratedTerminal"
},
{
"name": "debug sshsvc",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/ems.agt/sshsvc/sshsvc.go",
"console": "integratedTerminal"
},
{
"name": "debug loadpconf",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/ems.agt/tools/loadpconf",
"args": ["-p","../../config/param/upf_param_config.yaml"],
"console": "integratedTerminal"
}
]
}
-11
View File
@@ -1,11 +0,0 @@
{
"go.toolsEnvVars": {
"GOARCH": "amd64",
"GOOS": "windows"
},
"go.testEnvVars": {
"GOARCH": "wasm",
"GOOS": "js"
},
"commentTranslate.hover.enabled": true
}
+2 -2
View File
@@ -1,3 +1,3 @@
# ems_backend
# be.ems
后端
OMC 后端
Binary file not shown.
-636
View File
@@ -1,636 +0,0 @@
package main
import (
"encoding/binary"
"encoding/hex"
"fmt"
"net"
"os"
"os/exec"
"strings"
"sync"
"ems.agt/captrace/config"
"ems.agt/lib/dborm"
"ems.agt/lib/global"
"ems.agt/lib/log"
_ "github.com/go-sql-driver/mysql"
"golang.org/x/net/http/httpguts"
"golang.org/x/net/http2/hpack"
)
// goroutine
var limitChan = make(chan bool, 1024)
const (
GTPU_V1_VERSION = 1 << 5
GTPU_VER_MASK = 7 << 5
GTPU_PT_GTP = 1 << 4
GTPU_HEADER_LEN = 12
GTPU_E_S_PB_BIT = 7
GTPU_E_BI = 1 << 2
)
const (
GTPU_HEADER_VERSION_INDEX = 0
GTPU_HEADER_MSG_TYPE_INDEX = 1
GTPU_HEADER_LENGTH_INDEX = 2
GTPU_HEADER_TEID_INDEX = 4
)
type ExtHeader struct {
TaskId uint32
IMSI string
IfType byte
MsgType byte
MsgDirect byte // 0-recv,1-send
TimeStamp int64
SrcIP string
DstIP string
SrcPort uint16
DstPort uint16
Proto int
PPI int // only for SCTP
DataLen uint16
DataInfo []byte
}
type MsgInfo struct {
TaskId uint32
TimeStamp int64
IfType byte
MsgType byte
MsgDirect byte
SrcAddr string // IP:Port
DstAddr string // IP:Port
}
// func (fr *Framer) ReadFrame() (Frame, error)
// ReadMetaHeaders *hpack.Decoder
func validWireHeaderFieldName(v string) bool {
if len(v) == 0 {
return false
}
for _, r := range v {
if !httpguts.IsTokenRune(r) {
return false
}
if 'A' <= r && r <= 'Z' {
return false
}
}
return true
}
// tshark -r gtp.pcap -T json -d tcp.port==8080,http2 -Y "http2"
// -T pdml: Packet Details Markup Language
// -T psml: Packet Summary Markup Language
func execTshark(filename string, proto string) {
pcapPath := filename
tshark := exec.Command("tshark", "-r"+pcapPath,
"-Y"+proto,
"-T", "pdml")
out, err := tshark.CombinedOutput()
if err != nil {
log.Errorf("Failed to exec tshark:", err)
} else {
log.Debug("combined out:", string(out))
}
}
const magicMicroseconds = 0xa1b2c3d4
const versionMajor = 2
const versionMinor = 4
func WriteEmptyPcap(filename string, timestamp int64, length int, data []byte) error {
var cooked = [...]byte{0x00, 0x00, 0x03, 0x04, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00}
var buf []byte
//24+16+16 = 56
buf = make([]byte, 56+length)
binary.LittleEndian.PutUint32(buf[0:4], magicMicroseconds)
binary.LittleEndian.PutUint16(buf[4:6], versionMajor)
binary.LittleEndian.PutUint16(buf[6:8], versionMinor)
// bytes 8:12 stay 0 (timezone = UTC)
// bytes 12:16 stay 0 (sigfigs is always set to zero, according to
// http://wiki.wireshark.org/Development/LibpcapFileFormat
binary.LittleEndian.PutUint32(buf[16:20], 0x00040000)
binary.LittleEndian.PutUint32(buf[20:24], 0x00000071)
// Packet Header
binary.LittleEndian.PutUint64(buf[24:32], uint64(timestamp))
binary.LittleEndian.PutUint32(buf[32:36], uint32(length+16))
binary.LittleEndian.PutUint32(buf[36:40], uint32(length+16))
copy(buf[40:], cooked[:])
copy(buf[56:], data[:])
err := os.WriteFile(filename, buf[:], 0644)
//log.Debugf("CAP: %v\n", buf)
return err
}
func ngapDataHandle(emsg []byte, timestamp int64, data []byte) int {
filePath := fmt.Sprintf("/tmp/ng%d.pcap", timestamp)
err := WriteEmptyPcap(filePath, timestamp, len(data), data)
if err != nil {
log.Error("Failed to tshark:", err)
return -1
} else {
execTshark(filePath, "ngap")
}
return 0
}
func pfcpDataHandle(emsg []byte, timestamp int64, data []byte) int {
filePath := fmt.Sprintf("/tmp/pf%d.pcap", timestamp)
err := WriteEmptyPcap(filePath, timestamp, len(data), data)
if err != nil {
log.Error("Failed to tshark:", err)
} else {
execTshark(filePath, "pfcp")
}
return 0
}
func httpDataHandle(emsg []byte, timestamp int64, data []byte) int {
filePath := fmt.Sprintf("/tmp/sb%d.pcap", timestamp)
err := WriteEmptyPcap(filePath, timestamp, len(data), data)
if err != nil {
log.Error("Failed to tshark:", err)
} else {
execTshark(filePath, "http2")
}
return 0
}
func httpHeaderDataHandle(emsg []byte, header []byte, data []byte) int {
var remainSize = uint32(16 << 20)
var sawRegular bool
var invalid bool // pseudo header field errors
var Fields []hpack.HeaderField
invalid = false
hdec := hpack.NewDecoder(4096, nil)
hdec.SetEmitEnabled(true)
hdec.SetMaxStringLength(int(16 << 20))
hdec.SetEmitFunc(func(hf hpack.HeaderField) {
if !httpguts.ValidHeaderFieldValue(hf.Value) {
// Don't include the value in the error, because it may be sensitive.
invalid = true
}
isPseudo := strings.HasPrefix(hf.Name, ":")
if isPseudo {
if sawRegular {
invalid = true
}
} else {
sawRegular = true
if !validWireHeaderFieldName(hf.Name) {
invalid = true
}
}
if invalid == true {
hdec.SetEmitEnabled(false)
return
}
size := hf.Size()
if size > remainSize {
hdec.SetEmitEnabled(false)
//mh.Truncated = true
return
}
remainSize -= size
Fields = append(Fields, hf)
})
// defer hdec.SetEmitFunc(func(hf hpack.HeaderField) {})
frag := header
if _, err := hdec.Write(frag); err != nil {
return -1
}
if err := hdec.Close(); err != nil {
return -1
}
hdec.SetEmitFunc(func(hf hpack.HeaderField) {})
var headers []byte
var line string
for i := range Fields {
line = fmt.Sprintf("\"%s\":\"%s\",", Fields[i].Name, Fields[i].Value)
headers = append(headers, []byte(line)...)
}
if data != nil && len(data) > 0 {
encode := fmt.Sprintf("%s \"content\":%s\n", string(headers), string(data))
emsg = append(emsg, []byte(encode)...)
log.Debug("encode:", string(encode))
} else {
log.Debug("headers:", string(headers))
emsg = append(emsg, []byte(headers)...)
}
return 0
}
func gtpuHandler(rvMsg []byte, rvLen int) {
var extHdr ExtHeader
var tr dborm.TraceData
var off, ret int
msg := rvMsg
verFlags := msg[GTPU_HEADER_VERSION_INDEX]
gtpuHdrLen := GTPU_HEADER_LEN
localTeid := binary.BigEndian.Uint32(msg[GTPU_HEADER_TEID_INDEX:])
extHdr.TaskId = localTeid
if (verFlags & GTPU_E_S_PB_BIT) != 0 {
if (verFlags & GTPU_E_BI) != 0 {
extTypeIndex := GTPU_HEADER_LEN - 1
extType := msg[extTypeIndex]
if extType == 0xFE {
extHdr.IMSI = string(msg[extTypeIndex+2 : extTypeIndex+17])
extHdr.IfType = msg[extTypeIndex+17]
extHdr.MsgType = msg[extTypeIndex+18]
extHdr.MsgDirect = msg[extTypeIndex+19]
extHdr.TimeStamp = int64(binary.BigEndian.Uint64(msg[extTypeIndex+19:]))
log.Debugf("ext info %v %s %d %d %d", msg[(extTypeIndex+2):(extTypeIndex+20)], extHdr.IMSI, extHdr.IfType, extHdr.MsgType, extHdr.MsgDirect)
// set offset of IP Packet
off = 40 + 4
//src ip: msg+40+12
extHdr.SrcIP = fmt.Sprintf("%d.%d.%d.%d", msg[off+12], msg[off+13], msg[off+14], msg[off+15])
//dst ip: msg+40+12+4
extHdr.DstIP = fmt.Sprintf("%d.%d.%d.%d", msg[off+16], msg[off+17], msg[off+18], msg[off+19])
extHdr.SrcPort = uint16(binary.BigEndian.Uint16(msg[off+20:]))
extHdr.DstPort = uint16(binary.BigEndian.Uint16(msg[off+22:]))
log.Debugf("info %s:%d %s:%d", extHdr.SrcIP, extHdr.SrcPort, extHdr.DstIP, extHdr.DstPort)
// ip header start msg+40
tr.TaskID = int(extHdr.TaskId)
tr.Timestamp = extHdr.TimeStamp
tr.Imsi = extHdr.IMSI
tr.IfType = int(extHdr.IfType)
tr.SrcAddr = fmt.Sprintf("%s:%d", extHdr.SrcIP, extHdr.SrcPort)
tr.DstAddr = fmt.Sprintf("%s:%d", extHdr.DstIP, extHdr.DstPort)
tr.MsgType = int(extHdr.MsgType)
tr.MsgDirect = int(extHdr.MsgDirect)
tr.RawMsg = make([]byte, int(rvLen-off))
copy(tr.RawMsg, []byte(msg[off:]))
extHdr.Proto = int(msg[off+9])
if extHdr.Proto == 132 { //SCTP
extHdr.PPI = int(msg[off+47])
extHdr.DataLen = uint16(binary.BigEndian.Uint16(msg[(off+34):]) - 16)
log.Debugf("dat len %d %d", extHdr.DataLen, extHdr.PPI)
if extHdr.PPI == 60 { // NGAP
extHdr.DataInfo = make([]byte, extHdr.DataLen)
copy(extHdr.DataInfo, msg[(off+48):])
//append(extHdr.DataInfo, msg[88:]...)
log.Debugf("dataInfo %v", extHdr.DataInfo)
ret = ngapDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg)
}
} else if extHdr.Proto == 6 { // TCP
iplen := uint16(binary.BigEndian.Uint16(msg[off+2:]))
tcplen := uint16(iplen - 32 - 20)
hdrlen := uint16(binary.BigEndian.Uint16(msg[off+20+32+1:]))
offset := uint16(off + 52)
log.Debugf("HTTP %d %d %d\n", iplen, tcplen, hdrlen)
extHdr.DataLen = tcplen
extHdr.DataInfo = make([]byte, extHdr.DataLen)
copy(extHdr.DataInfo, msg[offset:])
//ret = httpDataHandle(tr.DecodedMsg, tr.Timestamp, tr.RawMsg)
if tcplen > (hdrlen + 9) { // has data
doffset := uint16(offset + hdrlen + 9)
datlen := uint16(binary.BigEndian.Uint16(msg[doffset+1:]))
log.Debugf("HTTP datlen %d", datlen)
ret = httpHeaderDataHandle([]byte(tr.DecMsg), msg[offset+9:offset+9+hdrlen], msg[doffset+9:doffset+datlen+9])
} else {
ret = httpHeaderDataHandle([]byte(tr.DecMsg), msg[offset+9:hdrlen], nil)
}
} else if extHdr.Proto == 17 { // UDP
ilen := uint16(binary.BigEndian.Uint16(msg[off+2:]))
udplen := uint16(ilen - 20)
extHdr.DataLen = udplen - 8
extHdr.DataInfo = make([]byte, extHdr.DataLen)
copy(extHdr.DataInfo, msg[off+27:])
ret = pfcpDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg)
}
if ret < 0 {
log.Error("Decode message error")
} else {
PutTraceRecordToDB(&tr)
}
}
for extType != 0 && extTypeIndex < rvLen {
extLen := msg[extTypeIndex+1] << 2
if extLen == 0 {
log.Error("error, extLen is zero")
return
}
gtpuHdrLen += int(extLen)
extTypeIndex += int(extLen)
extType = msg[extTypeIndex]
}
}
} else {
gtpuHdrLen -= 4
}
}
func udpProcess(conn *net.UDPConn) {
data := make([]byte, 2048)
n, _, err := conn.ReadFromUDP(data)
if err != nil {
log.Error("failed read udp msg, error: " + err.Error())
}
gtpuHandler(data, n)
//str := string(data[:n])
//log.Error("receive from client, data:" + str)
<-limitChan
}
func udpServer(address string) {
udpAddr, err := net.ResolveUDPAddr("udp", address)
if err != nil {
log.Error("Failed to ResolveUDPAddr:", err)
os.Exit(1)
}
conn, err := net.ListenUDP("udp", udpAddr)
if err != nil {
log.Error("read from connect failed, err:", err)
os.Exit(1)
}
defer conn.Close()
for {
limitChan <- true
go udpProcess(conn)
}
}
//SCTP OFFSET = 48
//HTTP2 OFFSET = 52
//UDP OFFSET = 28
func PutTraceRecordToDB(tr *dborm.TraceData) error {
var offset, ret int
if tr.IfType == 1 || tr.IfType == 2 { // SCTP
offset = 48
ret = ngapDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg[offset:])
} else if tr.IfType == 4 { // UDP
offset = 28
ret = pfcpDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg[offset:])
} else { // HTTP2
iplen := uint16(binary.BigEndian.Uint16(tr.RawMsg[2:]))
tcplen := uint16(iplen - 32 - 20)
hdrlen := uint16(binary.BigEndian.Uint16(tr.RawMsg[20+32+1:]))
offset = 52
if tcplen > (hdrlen + 9) { // has data
doffset := uint16(uint16(offset) + hdrlen + 9)
datlen := uint16(binary.BigEndian.Uint16(tr.RawMsg[doffset+1:]))
log.Debugf("HTTP datlen %d\n", datlen)
ret = httpHeaderDataHandle([]byte(tr.DecMsg), tr.RawMsg[offset+9:offset+9+int(hdrlen)], tr.RawMsg[doffset+9:doffset+datlen+9])
} else {
ret = httpHeaderDataHandle([]byte(tr.DecMsg), tr.RawMsg[offset+9:hdrlen], nil)
}
}
if ret == 0 {
_, err := dborm.XormInsertTraceData(tr)
if err != nil {
log.Error("Failed to dborm.XormInsertTraceData:", err)
return err
}
}
return nil
}
// ////////////////
// var rdb *redis.Client
// var redisOn bool
// var rurl string
//
// func RdbInitClient(Url string) (err error) {
// rurl = Url
// rdb = redis.NewClient(&redis.Options{
// Addr: rurl,
// Password: "", // no password set
// DB: 0, // use default
// })
//
// ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
// defer cancel()
//
// _, err = rdb.Ping(ctx).Result()
// if err != nil {
// log.Debugf("db connect failed\n")
// return err
// }
// return nil
// }
//
// func RdbKeys(filter string) (vals []string, err error) {
// ctx := context.Background()
//
// vals, err = rdb.Keys(ctx, filter).Result()
//
// if err != nil {
// log.Error("db: Keys ", err.Error())
// return nil, err
// }
//
// return vals, nil
// }
//
// func RdbHGetAll(key string) (kvs map[string]string, err error) {
// ctx := context.Background()
// kvs, err = rdb.HGetAll(ctx, key).Result()
//
// if err != nil {
// log.Error("db: HGetAll ", err.Error())
// return nil, err
// }
//
// return kvs, nil
// }
//
// func RdbHMSet(key string, kvs map[string]interface{}) (err error) {
// ctx := context.Background()
// err = rdb.HMSet(ctx, key, kvs).Err()
//
// if err != nil {
// log.Error("db: HMSet ", err.Error())
// return err
// }
//
// return nil
// }
//
// func RdbDel(key string) (err error) {
// ctx := context.Background()
// err = rdb.Del(ctx, key).Err()
//
// if err != nil {
// log.Error("db: Del ", err.Error())
// return err
// }
//
// return nil
// }
//
// func rdbClient(url string) {
// var err error
// var kvs map[string]string
// var vals []string
// var tr TraceRecord
//
// err = RdbInitClient(url)
//
// if err != nil {
// log.Debugf("db: RdbInitClient err\n")
// os.Exit(2)
// }
//
// for {
// vals, err = RdbKeys("tsk*") // (vals []string, err error)
// if err == nil {
// for i := range vals {
// kvs, err = RdbHGetAll(vals[i]) //(kvs map[string]string, err error)
// if err == nil {
// //tsk-1:1682764180993584177:460000100000001:8
// log.Debugf("%d: %s %s %s %v\n", i, vals[i], kvs["srcip"], kvs["dstip"], []byte(kvs["ipdat"]))
// arr := strings.Split(vals[i], ":")
// if arr != nil && len(arr) == 4 {
// tr.Taskid, _ = strconv.Atoi(arr[0][4:])
// tr.Timestamp, _ = strconv.ParseInt(arr[1], 10, 64)
//
// tr.Imsi = arr[2]
// tr.IfType, _ = strconv.Atoi(arr[3])
//
// }
// tr.SrcAddr = fmt.Sprintf("%s:d", kvs["srcip"], kvs["srcport"])
// tr.DstAddr = fmt.Sprintf("%s:d", kvs["dstip"], kvs["dstport"])
// tr.MsgType, _ = strconv.Atoi(kvs["msgtp"])
// tr.MsgDirect, _ = strconv.Atoi(kvs["direct"])
// rawlen, _ := strconv.Atoi(kvs["datlen"])
// tr.RawMsg = make([]byte, rawlen)
// copy(tr.RawMsg, []byte(kvs["ipdat"]))
// //tr.DecodedMsg
// PutTraceRecordToDB(&tr)
//
// //RdbDel(vals[i])
// }
//
// }
// }
// time.Sleep(time.Second * 5)
// }
// }
// DataBase Connnection
//func QueryMultiRowDemo() {
// //InitMysql()
// sqlStr := "SELECT id,sname,age FROM student WHERE id = ?"
// rows, err := dbc.Query(sqlStr, 1)
// if err != nil {
// log.Debugf("query failed, err:%v\n", err)
// return
// }
// // 非常重要:关闭rows释放持有的数据库链接
// defer rows.Close()
//
// // 循环读取结果集中的数据
// for rows.Next() {
// var u User
// err := rows.Scan(&u.id, &u.name, &u.age)
// if err != nil {
// log.Debugf("scan failed, err:%v\n", err)
// return
// }
// //log.Debugf("id:%d name:%s age:%d\n", u.id, u.name, u.age)
// }
//}
func ToHtml(path string, timestamp string, port string, ipDaTA []byte) {
log.Trace("byte数据:", ipDaTA)
encodedStr := hex.EncodeToString(ipDaTA)
// [72 101 108 108 111]
log.Trace(encodedStr)
command := fmt.Sprintf("/usr/local/bin/data2html -f %s -t %s -i %s -d %s", path, timestamp, port, encodedStr)
log.Trace("commm:", command)
cmd := exec.Command("sh", "-c", command)
_, err := cmd.CombinedOutput()
if err != nil {
log.Error("Error:can not obtain stdout pipe for command:", err)
return
}
//执行命令
}
func main() {
conf := config.GetYamlConfig()
log.InitLogger(conf.Logger.File, conf.Logger.Duration, conf.Logger.Count, "omc:captrace", config.GetLogLevel())
log.Debugf("OMC captrace version: %s\n", global.Version)
log.Infof("========================= OMC captrace startup =========================")
log.Infof("OMC captrace version: %s %s %s", global.Version, global.BuildTime, global.GoVer)
err := dborm.InitDbClient(conf.Database.Type, conf.Database.User, conf.Database.Password,
conf.Database.Host, conf.Database.Port, conf.Database.Name)
if err != nil {
fmt.Println("dborm.initDbClient err:", err)
os.Exit(2)
}
var wg sync.WaitGroup
wg.Add(1)
udpServer(conf.Gtp.Addr)
wg.Wait()
}
-112
View File
@@ -1,112 +0,0 @@
package config
import (
"flag"
"fmt"
"os"
"strings"
"ems.agt/lib/global"
"ems.agt/lib/log"
"gopkg.in/yaml.v3"
)
// Yaml struct of config
type YamlConfig struct {
Logger struct {
File string `yaml:"file"`
Level string `yaml:"level"`
Duration int `yaml:"duration"`
Count int `yaml:"count"`
} `yaml:"logger"`
Gtp struct {
Addr string `yaml:"addr"`
} `yaml:"gtp"`
Database struct {
Type string `yaml:"type"`
User string `yaml:"user"`
Password string `yaml:"password"`
Host string `yaml:"host"`
Port string `yaml:"port"`
Name string `yaml:"name"`
} `yaml:"database"`
}
var YamlConf YamlConfig
func ReadConfig(configFile string) {
yamlFile, err := os.ReadFile(configFile)
if err != nil {
fmt.Println("Read yaml config file error:", err)
os.Exit(2)
}
// fmt.Println("yamlfile:", string(yamlFile))
err = yaml.Unmarshal(yamlFile, &YamlConf)
if err != nil {
fmt.Println("Unmarshal error:", err)
os.Exit(3)
}
}
func WriteYamlConfig(newConfigData YamlConfig, configFile string) {
// 将配置转换回YAML数据
newYamlData, err := yaml.Marshal(&newConfigData)
if err != nil {
log.Errorf("Failed to marshal YAML: %v", err)
}
// 将新的YAML数据写入文件
err = os.WriteFile(configFile, newYamlData, 0644)
if err != nil {
log.Errorf("Failed to write YAML file: %v", err)
}
}
func GetYamlConfig() *YamlConfig {
return &YamlConf
}
func GetLogLevel() log.LogLevel {
var logLevel log.LogLevel
switch strings.ToLower(YamlConf.Logger.Level) {
case "trace":
logLevel = log.LOG_TRACE
case "info":
logLevel = log.LOG_INFO
case "debug":
logLevel = log.LOG_DEBUG
case "warn":
logLevel = log.LOG_WARN
case "error":
logLevel = log.LOG_ERROR
case "fatal":
logLevel = log.LOG_FATAL
case "off":
logLevel = log.LOG_OFF
default:
logLevel = log.LOG_DEBUG
}
return logLevel
}
const defaultConfigFile = "./etc/capconf.yaml"
func init() {
cfile := flag.String("c", defaultConfigFile, "config file")
pv := flag.Bool("version", false, "print version")
ph := flag.Bool("help", false, "print help")
flag.Parse()
if *pv {
fmt.Printf("OMC captrace version: %s\n%s\n%s\n\n", global.Version, global.BuildTime, global.GoVer)
os.Exit(0)
}
if *ph {
flag.Usage()
os.Exit(0)
}
ReadConfig(*cfile)
}
-21
View File
@@ -1,21 +0,0 @@
# file: log file name
# level: /trace/debug/info/error/warn/error/fatal, default: debug
# duration: saved days, default is 30 days
logger:
file: d:/local.git/ems.agt/captrace/log/captrace.log
level: trace
duration: 24
count: 10
gtp:
addr: :2152
database:
type: mysql
user: root
password: 1000omc@kp!
host: 172.25.97.150
port: 33066
name: omc_db
-26
View File
@@ -1,26 +0,0 @@
# Makefile for rest agent project
PROJECT = OMC
VERSION = 1.6.2
PLATFORM = amd64
ARMPLATFORM = aarch64
BUILDDIR = ../../build
DEBBUILDDIR = ../../debbuild
RPMBUILDDIR = $(HOME)/goprojects/rpmbuild
INSTALLDIR = /usr/local/omc
RELEASEDIR = ../../release
LIBDIR = ems.agt/lib
BINNAME = captrace
.PHONY: build $(BINNAME)
build $(BINNAME):
go build -o $(BINNAME) -v -ldflags "-X '$(LIBDIR)/global.Version=$(VERSION)' \
-X '$(LIBDIR)/global.BuildTime=`date`' \
-X '$(LIBDIR)/global.GoVer=`go version`'"
run: $(BINNAME)
./$(BINNAME)
clean:
rm ./$(BINNAME)
-38
View File
@@ -1,38 +0,0 @@
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c0QHXO4d2PaUNptLVxquOJI/VDW2GKKQWaIsdYKPJEDO9
GBe/LaUDzodd1s1isly86DLEgT2HwbAAAAwQDDhgO/kOI1N0jMOpE5gotcrhQc353jrP16
mKOdcp9MVHiioRybsyRdnbDIYKXbQz2ZRwmz2RBh55uPQjLcfi82GlIm2rdTL8KzP9vLpc
WAbZ7dcbv1lLyIlr4Yf33LgAChxJQTGNad771cwYFrtwTYk16O0Mdv302L0DgDTJUvhzJb
0ZuIk2nmzumSH1pOYmZl8Oa+UM7YSZNCWEpM7/S5laNISQ6dF/yy6Del2sQk/1/JCMUK0d
GLCkyCiaW9igsAAAASc2ltb25Ac2ltb256aGFuZ3N6AQ==
-----END OPENSSH PRIVATE KEY-----
-651
View File
@@ -1,651 +0,0 @@
omc:
systemManagement:
display: "System Management"
mml:
- operation: "dsp"
object: "sysInfo"
display: "Display NE System Information"
params:
- name: "neType"
alias: ""
type: "string"
optional: "false"
apostr: "false"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: ""
type: "string"
optional: "false"
filter: ""
display: "NE ID"
comment: ""
- operation: "dsp"
object: "licenseInfo"
display: "Display NE License Information"
params:
- name: "neType"
alias: ""
type: "string"
optional: "false"
apostr: "false"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: ""
type: "string"
optional: "false"
filter: ""
display: "NE ID"
comment: ""
neManagement:
display: "Network Element Management"
mml:
- operation: "lst"
object: "neInfo"
display: "List NE Information"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "NE ID"
comment: ""
- name: "rmUID"
alias: "rm_uid"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "Resource Management UID"
comment: ""
- operation: "lst"
object: "meMap"
display: "List Managed Element Map"
params:
- name: "rmUID"
alias: "rm_uid"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "Resource Management UID"
comment: ""
- operation: "add"
object: "neInfo"
display: "Add Network Element"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "NE ID"
comment: ""
- name: "rmUID"
alias: "rm_uid"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Resource Management UID"
comment: ""
- name: "ip"
alias: "ip"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "IP Address"
comment: ""
- name: "port"
alias: "port"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Port"
comment: ""
- name: "neName"
alias: "ne_name"
type: "string"
optional: "true"
apostr: "false"
loc: "false"
filter: ""
display: "NE name"
comment: ""
- name: "pvFlag"
alias: "pv_flag"
type: "string"
optional: "true"
apostr: "false"
loc: "false"
filter: ""
display: "Phisical/Virtual flag"
comment: ""
- operation: "mod"
object: "neInfo"
display: "Modify Network Element"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE ID"
comment: ""
- name: "rmUID"
alias: "rm_uid"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Resource Management UID"
comment: ""
- name: "ip"
alias: "ip"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "IP Address"
comment: ""
- name: "port"
alias: "port"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Port"
comment: ""
- name: "neName"
alias: "ne_name"
type: "string"
optional: "true"
apostr: "false"
loc: "false"
filter: ""
display: "NE name"
comment: ""
- name: "pvFlag"
alias: "pv_flag"
type: "string"
optional: "true"
apostr: "false"
loc: "false"
filter: ""
display: "Phisical/Virtual flag"
comment: ""
- operation: "del"
object: "neInfo"
display: "Delete Network Element"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "NE ID"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "NE ID"
comment: ""
faultManagement:
display: "Fault Management"
mml:
- operation: "dsp"
object: "alarms"
display: "Display Alarms Information"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE UID"
comment: ""
- name: "neName"
alias: "ne_name"
type: "int"
optional: "false"
apostr: "true"
filter: ""
display: "NE name"
comment: ""
- name: "alarmCode"
type: "int"
optional: "false"
apostr: "true"
filter: ""
display: "Alarm Code"
comment: ""
- name: "origSeverity"
type: "enum"
optional: "false"
apostr: "true"
filter: '{"Critical","Major","Minor","Warning","Event"}'
display: "Original Severity"
comment: ""
- name: "pvFlag"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "PV Flag"
comment: ""
- name: "startTime"
alias: "event_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Alarm Event Start Time"
comment: ""
- name: "endTime"
alias: "event_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Alarm Event End Time"
comment: ""
- name: "alarmType"
alias: "alarm_type"
type: "enum"
optional: "false"
apostr: "true"
filter: '{"CommunicationAlarm","EquipmentAlarm","ProcessingFailure","EnvironmentalAlarm","QualityOfServiceAlarm"}'
display: "Alarm Type"
comment: ""
- name: "alarmStatus"
alias: "alarm_status"
type: "int"
optional: "false"
apostr: "true"
filter: ""
display: "Alarm Status"
comment: ""
pmTaskManagement:
display: "Performance Measure Task Management"
mml:
- operation: "lst"
object: "measureTask"
display: "List Performance Measure Task"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "granulOption"
alias: "granul_option"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "Time Granularity"
comment: ""
- operation: "add"
object: "measureTask"
display: "Add Performance Measure Task"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "NE Type"
comment: ""
- name: "neIds"
alias: "ne_ids"
type: "array"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "NE ID Set"
comment: ""
- name: "kpiSet"
alias: "kpi_set"
type: "json"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "KPI Set"
comment: ""
- name: "startTime"
alias: "start_time"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Measure Task Start Time"
comment: ""
- name: "endTime"
alias: "end_time"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Measure Task End Time"
comment: ""
- operation: "mod"
object: "measureTask"
display: "Modify Performance Measure Task"
params:
- name: "Id"
alias: "id"
type: "string"
optional: "false"
apostr: "false"
loc: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "kpiSet"
alias: "kpi_set"
type: "json"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "KPI Set"
comment: ""
- name: "startTime"
alias: "start_time"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Measure Task Start Time"
comment: ""
- name: "endTime"
alias: "end_time"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Measure Task End Time"
comment: ""
- name: "granulOption"
alias: "granul_option"
type: "string"
optional: "true"
apostr: "true"
loc: "false"
filter: ""
display: "Time Granularity"
comment: ""
pmDataManagement:
display: "Performance Data Management"
mml:
- operation: "lst"
object: "measureData"
display: "List Performance Data"
params:
- name: "ID"
alias: "id"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "Task ID"
comment: ""
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "startTime"
alias: "start_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Measure Period Start Time More Than"
comment: ""
- name: "endTime"
alias: "start_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Measure Period Start Time Less Than"
comment: ""
logManagement:
display: "Log Management"
mml:
- operation: "lst"
object: "systemLog"
display: "List System Log"
params:
- name: "processType"
alias: "process_type"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "Process Type"
comment: ""
- name: "startTime"
alias: "log_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time More Than"
comment: ""
- name: "endTime"
alias: "log_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time Less Than"
comment: ""
- operation: "lst"
object: "operationLog"
display: "List Operation Log"
params:
- name: "accountID"
alias: "account_name"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "Account ID"
comment: ""
- name: "startTime"
alias: "log_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time More Than"
comment: ""
- name: "endTime"
alias: "log_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time Less Than"
comment: ""
- operation: "lst"
object: "securityLog"
display: "List Security Log"
params:
- name: "accountID"
alias: "account_name"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "Account ID"
comment: ""
- name: "startTime"
alias: "op_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time More Than"
comment: ""
- name: "endTime"
alias: "op_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time Less Than"
comment: ""
- operation: "lst"
object: "alarmLog"
display: "List Alarm Log"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "startTime"
alias: "op_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time More Than"
comment: ""
- name: "endTime"
alias: "op_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time Less Than"
comment: ""
- operation: "lst"
object: "eventlog"
display: "List NE Event Log"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE ID"
comment: ""
- name: "startTime"
alias: "log_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time More Than"
comment: ""
- name: "endTime"
alias: "log_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time Less Than"
comment: ""
-644
View File
@@ -1,644 +0,0 @@
{
"udm": {
"system": {
"display": "System",
"list": [
{
"name": "serviceIP",
"type": "ipv4",
"value": "172.16.5.140",
"access": "read-write",
"filter": "",
"display": "Service IP",
"comment": ""
},
{
"name": "servicePort",
"type": "int",
"value": "8080",
"access": "read-write",
"filter": "0~65535",
"display": "Service Port",
"comment": "0~65535"
},
{
"name": "nrfUri",
"type": "string",
"value": "http://172.16.5.180:8080",
"access": "read-write",
"filter": "",
"display": "NRF URI",
"comment": ""
},
{
"name": "ausfIP",
"type": "ipv4",
"value": "172.16.5.130",
"access": "read-write",
"filter": "",
"display": "AUSF IP",
"comment": ""
},
{
"name": "fqdn",
"type": "string",
"value": "agt.com",
"access": "read-write",
"filter": "",
"display": "fqdn",
"comment": ""
},
{
"name": "priority",
"type": "int",
"value": "1",
"access": "read-write",
"filter": "0~4095",
"display": "Priority",
"comment": "0~4095"
},
{
"name": "capacity",
"type": "int",
"value": "4096",
"access": "read-write",
"filter": "0~65535",
"display": "Capacity",
"comment": "0~65535"
},
{
"name": "groupId",
"type": "string",
"value": "0",
"access": "read-write",
"filter": "",
"display": "Group Id",
"comment": "0~31"
},
{
"name": "supiRanges",
"type": "regex",
"value": "imsi-001010100080000~imsi-001010100080099",
"access": "read-write",
"filter": "^imsi-\\d{15}~imsi-\\d{15}$",
"display": "SUPI Ranges",
"comment": ""
},
{
"name": "gpsiRanges",
"type": "regex",
"value": "msisdn-69072000~msisdn-69072099",
"access": "read-write",
"filter": "^msisdn-\\d{2,15}~msisdn-\\d{2,15}$",
"display": "GPSI Ranges",
"comment": ""
},
{
"name": "scheme",
"type": "enum",
"value": "http",
"access": "read-write",
"filter": "{\"0\":\"http\", \"1\":\"https\"}",
"display": "scheme",
"comment": ""
},
{
"name": "op0",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op0",
"comment": ""
},
{
"name": "op1",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op1",
"comment": ""
},
{
"name": "op2",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op2",
"comment": ""
},
{
"name": "op3",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op3",
"comment": ""
},
{
"name": "rlist0",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist0",
"comment": ""
},
{
"name": "rlist1",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist1",
"comment": ""
},
{
"name": "rlist2",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist2",
"comment": ""
},
{
"name": "rlist3",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist3",
"comment": ""
}
]
},
"subsUEAmbr": {
"display": "Subs UE AMBR",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "^\\d{1,2}$",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_ambr",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "uplink",
"type": "string",
"value": "1Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Uplink",
"comment": ""
},
{
"name": "downlink",
"type": "string",
"value": "2Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Downlink",
"comment": ""
}
]
},
"subsNssais": {
"display": "Subs Nssais",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "^\\d{1,2}$",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_nssai",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "supportedFeatures",
"type": "string",
"value": "1",
"access": "read-write",
"filter": "8~8",
"display": "Supported Features",
"comment": "8~8"
},
{
"name": "defaultSingleNSSAIs",
"type": "string",
"value": "1-000001",
"access": "read-write",
"filter": "",
"display": "Default Single NSSAIs",
"comment": "0~128"
},
{
"name": "singleNssais",
"type": "string",
"value": "1-000002",
"access": "read-write",
"filter": "",
"display": "Single Nssais",
"comment": "0~128"
}
]
},
"forbiddenAreas": {
"display": "Forbidden Areas",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "^\\d{1,2}$",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_ambr",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "tacs",
"type": "string",
"value": "123",
"access": "read-write",
"filter": "",
"display": "TACs",
"comment": "0~128"
},
{
"name": "areaCodes",
"type": "string",
"value": "123456",
"access": "read-write",
"filter": "",
"display": "AreaCodes",
"comment": "0~128"
}
]
},
"serviceAreaRestriction": {
"display": "Service Area Restriction",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "^\\d{1,2}$",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_ambr",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "restrictionType",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"allowedAreas\", \"1\":\"notAllowedAreas\"}",
"display": "Restriction Type",
"comment": "0~128"
},
{
"name": "tacs",
"type": "string",
"value": "123",
"access": "read-write",
"filter": "",
"display": "TACs",
"comment": "0~128"
},
{
"name": "areaCodes",
"type": "string",
"value": "123456",
"access": "read-write",
"filter": "",
"display": "AreaCodes",
"comment": "0~128"
},
{
"name": "maxTAs",
"type": "int",
"value": "1",
"access": "read-write",
"filter": "^\\d{1,2}$",
"display": "Max TAs",
"comment": "0~32"
}
]
},
"smfSelection": {
"display": "Subs Smf Selection",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "1~16",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_snssai",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "0~32"
},
{
"name": "snssai",
"type": "string",
"value": "1-000001",
"access": "read-write",
"filter": "^\\d{1,3}[A-Fa-f0-9]{6}$",
"display": "Snssai",
"comment": ""
},
{
"name": "dnnList",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "1~4",
"display": "Dnn List",
"comment": "",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "1~4",
"display": "index",
"comment": "1~4"
},
{
"name": "dnn",
"type": "string",
"value": "cmnet",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Dnn",
"comment": "0~32"
},
{
"name": "defaultDnnInd",
"type": "bool",
"value": "true",
"access": "read-write",
"filter": "false;true;",
"display": "default Dnn Indicator",
"comment": ""
},
{
"name": "lboRoamingAllowed",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "false;true;",
"display": "LBO Roaming Allowed",
"comment": "LBO Roaming Allowed"
},
{
"name": "iwkEpsInd",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "false;true;",
"display": "Iwk EPS Ind",
"comment": "Iwk EPS Ind"
},
{
"name": "ladnIndicator",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "false;true;",
"display": "LADN Indicator",
"comment": "LADN Indicator"
}
]
}
]
},
"dnn": {
"display": "Dnn Conf",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "^\\d{1,2}$",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_nssai",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "defaultPDUSessionType",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"ipv4\",\"1\":\"ipv6\",\"2\":\"ipv4v6\",\"3\":\"ethernet\",\"4\":\"unstruction\"}",
"display": "Default PDU Session Type",
"comment": ""
},
{
"name": "allowedPDUSessionTypes",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"ipv4\",\"1\":\"ipv6\",\"2\":\"ipv4v6\",\"3\":\"ethernet\",\"4\":\"unstruction\",\"5\":\"ipv4andipv6\",\"6\":\"ipv4andipv4v6\",\"7\":\"ipv6andipv4v6\",\"8\":\"ipv4andipv6andipv4v6\"}",
"display": "Allowed PDU Session Types",
"comment": ""
},
{
"name": "defaultSSCmode",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"sscMode1\",\"1\":\"sscMode2\",\"2\":\"sscMode3\"}",
"display": "Default SSC Mode",
"comment": "1~16"
},
{
"name": "allowedSSCmodes",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"sscMode1\",\"1\":\"sscMode2\",\"2\":\"sscMode3\",\"3\":\"sscMode1sscMode2\",\"4\":\"sscMode1sscMode3\",\"5\":\"sscMode2sscMode3\",\"6\":\"sscMode1sscMode2sscMode3\"}",
"display": "Allowed SSC Modes",
"comment": "1~16"
},
{
"name": "interworkingEPSIndicator",
"type": "bool",
"value": "1",
"access": "read-write",
"filter": "",
"display": "Interworking EPS Indicator",
"comment": ""
},
{
"name": "ladnIndicator",
"type": "bool",
"value": "1",
"access": "read-write",
"filter": "",
"display": "LADN Indicator",
"comment": ""
},
{
"name": "chargingCharacteristics",
"type": "string",
"value": "0001",
"access": "read-write",
"filter": "4~4",
"display": "Charging Characteristics",
"comment": "4~4"
},
{
"name": "subscribedSessionAmbrUL",
"type": "regex",
"value": "1Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Subscribed Session Ambr UL",
"comment": ""
},
{
"name": "subscribedSessionAmbrDL",
"type": "regex",
"value": "2Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Subscribed Session Ambr DL",
"comment": ""
},
{
"name": "staticIPAddress",
"type": "ipv4",
"value": "192.168.1.100",
"access": "read-write",
"filter": "",
"display": "Static IP Address",
"comment": ""
},
{
"name": "userPlaneIntegrity",
"type": "enum",
"value": "3",
"access": "read-write",
"filter": "{\"0\":\"null\",\"1\":\"required\",\"2\":\"preferred\",\"3\":\"notNeeded\"}",
"display": "User Plane Integrity",
"comment": ""
},
{
"name": "userPlaneConfidentiality",
"type": "enum",
"value": "3",
"access": "read-write",
"filter": "{\"0\":\"null\",\"1\":\"required\",\"2\":\"preferred\",\"3\":\"notNeeded\"}",
"display": "User Plane Confidentiality",
"comment": ""
},
{
"name": "5qi",
"type": "int",
"value": "9",
"access": "read-write",
"filter": "0~255",
"display": "5qi",
"comment": ""
},
{
"name": "priorityLevel",
"type": "int",
"value": "9",
"access": "read-write",
"filter": "1~127",
"display": "Priority Level",
"comment": ""
},
{
"name": "arpPriorityLevel",
"type": "int",
"value": "6",
"access": "read-write",
"filter": "0~255",
"display": "ARP Priority Level",
"comment": ""
},
{
"name": "arpPreemptCap",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"notPreempt\",\"1\":\"mayPreempt\"}",
"display": "ARP PreemptCap",
"comment": ""
},
{
"name": "arpPreemptVuln",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"notPreemptable\",\"1\":\"preemptable\"}",
"display": "ARP PreemptVuln",
"comment": ""
}
]
}
}
}
@@ -1,96 +0,0 @@
{
"array": [
{
"name": "index",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~15",
"display": "Index",
"comment": "0~15"
},
{
"name": "name",
"type": "string",
"value": "def_ambr",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "0~32"
},
{
"name": "snssai",
"type": "string",
"value": "1-000001",
"access": "read-write",
"filter": "^\\d{1,3}[A-Fa-f0-9]{6}$",
"display": "Snssai",
"comment": ""
},
{
"name": "dnnList",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~3",
"display": "Dnn List",
"comment": "",
"array": [
{
"name": "index",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~15",
"display": "index",
"comment": "0~15"
},
{
"name": "dnn",
"type": "string",
"value": "cmnet",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Dnn",
"comment": "0~32"
},
{
"name": "defaultDnnInd",
"type": "bool",
"value": "true",
"access": "read-write",
"filter": "false;true;",
"display": "default Dnn Indicator",
"comment": ""
},
{
"name": "lboRoamingAllowed",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "{0\": \"false\", \"1\": \"true\"}",
"display": "LBO Roaming Allowed",
"comment": "LBO Roaming Allowed"
},
{
"name": "iwkEpsInd",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "{\"0\": \"false\", \"1\": \"true\"}",
"display": "Iwk EPS Ind",
"comment": "Iwk EPS Ind"
},
{
"name": "ladnIndicator",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "{\"0\": \"false\", \"1\": \"true\"}",
"display": "LADN Indicator",
"comment": "LADN Indicator"
}
]
}
]
}
@@ -1,40 +0,0 @@
{
"array": [
{
"name": "index",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~15",
"display": "Index",
"comment": "0~15"
},
{
"name": "name",
"type": "string",
"value": "def_ambr",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "uplink",
"type": "string",
"value": "1Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Uplink",
"comment": ""
},
{
"name": "downlink",
"type": "string",
"value": "2Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Downlink",
"comment": ""
}
]
}
-175
View File
@@ -1,175 +0,0 @@
{
"list": [
{
"name": "serviceIP",
"type": "ipv4",
"value": "172.16.5.140",
"access": "read-write",
"filter": "",
"display": "Service IP",
"comment": ""
},
{
"name": "servicePort",
"type": "int",
"value": "8080",
"access": "read-write",
"filter": "0~65535",
"display": "Service Port",
"comment": "0~65535"
},
{
"name": "nrfUri",
"type": "regex",
"value": "http://172.16.5.180:8080",
"access": "read-write",
"filter": "^http(s?)\\:\\/\\/(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\:([0-9]|[1-9]\\d|[1-9]\\d{2}|[1-9]\\d{3}|[1-5]\\d{4}|6[0-4]\\d{3}|65[0-4]\\d{2}|655[0-2]\\d|6553[0-5])$",
"display": "NRF URI",
"comment": ""
},
{
"name": "ausfIP",
"type": "ipv4",
"value": "172.16.5.130",
"access": "read-write",
"filter": "",
"display": "AUSF IP",
"comment": ""
},
{
"name": "fqdn",
"type": "regex",
"value": "agt.com",
"access": "read-write",
"filter": "^([0-9A-Za-z]([-0-9A-Za-z]{0,61}[0-9A-Za-z])?\\.)+[A-Za-z]{2,63}\\.?$",
"display": "fqdn",
"comment": ""
},
{
"name": "priority",
"type": "int",
"value": "1",
"access": "read-write",
"filter": "0~4095",
"display": "Priority",
"comment": "0~4095"
},
{
"name": "capacity",
"type": "int",
"value": "4096",
"access": "read-write",
"filter": "0~65535",
"display": "Capacity",
"comment": "0~65535"
},
{
"name": "groupId",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~31",
"display": "Group Id",
"comment": "0~31"
},
{
"name": "supiRanges",
"type": "regex",
"value": "imsi-001010100080000~imsi-001010100080099",
"access": "read-write",
"filter": "^imsi-\\d{15}~imsi-\\d{15}$",
"display": "SUPI Ranges",
"comment": ""
},
{
"name": "gpsiRanges",
"type": "string",
"value": "msisdn-69072000~msisdn-69072099",
"access": "read-write",
"filter": "^msisdn-\\d{2,15}~msisdn-\\d{2,15}$",
"display": "GPSI Ranges",
"comment": ""
},
{
"name": "scheme",
"type": "enum",
"value": 0,
"access": "read-write",
"filter": "{\"0\": \"http\", \"1\": \"https\"}",
"display": "scheme",
"comment": ""
},
{
"name": "op0",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op0",
"comment": ""
},
{
"name": "op1",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op1",
"comment": ""
},
{
"name": "op2",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op2",
"comment": ""
},
{
"name": "op3",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "32~32",
"display": "op3",
"comment": ""
},
{
"name": "rlist0",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist0",
"comment": ""
},
{
"name": "rlist1",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist1",
"comment": ""
},
{
"name": "rlist2",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist2",
"comment": ""
},
{
"name": "rlist3",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist3",
"comment": ""
}
]
}
@@ -1,175 +0,0 @@
{
"system": [
{
"name": "serviceIP",
"type": "ipv4",
"value": "172.16.5.140",
"access": "read-write",
"filter": "",
"display": "Service IP",
"comment": ""
},
{
"name": "servicePort",
"type": "int",
"value": "8080",
"access": "read-write",
"filter": "0~65535",
"display": "Service Port",
"comment": "0~65535"
},
{
"name": "nrfUri",
"type": "regex",
"value": "http://172.16.5.180:8080",
"access": "read-write",
"filter": "^http(s?)\\:\\/\\/(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\:([0-9]|[1-9]\\d|[1-9]\\d{2}|[1-9]\\d{3}|[1-5]\\d{4}|6[0-4]\\d{3}|65[0-4]\\d{2}|655[0-2]\\d|6553[0-5])$",
"display": "NRF URI",
"comment": ""
},
{
"name": "ausfIP",
"type": "ipv4",
"value": "172.16.5.130",
"access": "read-write",
"filter": "",
"display": "AUSF IP",
"comment": ""
},
{
"name": "fqdn",
"type": "regex",
"value": "agt.com",
"access": "read-write",
"filter": "^([0-9A-Za-z]([-0-9A-Za-z]{0,61}[0-9A-Za-z])?\\.)+[A-Za-z]{2,63}\\.?$",
"display": "fqdn",
"comment": ""
},
{
"name": "priority",
"type": "int",
"value": "1",
"access": "read-write",
"filter": "0~4095",
"display": "Priority",
"comment": "0~4095"
},
{
"name": "capacity",
"type": "int",
"value": "4096",
"access": "read-write",
"filter": "0~65535",
"display": "Capacity",
"comment": "0~65535"
},
{
"name": "groupId",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~31",
"display": "Group Id",
"comment": "0~31"
},
{
"name": "supiRanges",
"type": "string",
"value": "imsi-001010100080000~imsi-001010100080099",
"access": "read-write",
"filter": "^imsi-\\d{15}~imsi-\\d{15}$",
"display": "SUPI Ranges",
"comment": ""
},
{
"name": "gpsiRanges",
"type": "string",
"value": "msisdn-69072000~msisdn-69072099",
"access": "read-write",
"filter": "^msisdn-\\d{2,15}~msisdn-\\d{2,15}$",
"display": "GPSI Ranges",
"comment": ""
},
{
"name": "scheme",
"type": "enum",
"value": 0,
"access": "read-write",
"filter": '{"0": "http", "1": "https"}',
"display": "scheme",
"comment": ""
},
{
"name": "op0",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op0",
"comment": ""
},
{
"name": "op1",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op1",
"comment": ""
},
{
"name": "op2",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op2",
"comment": ""
},
{
"name": "op3",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "32~32",
"display": "op3",
"comment": ""
},
{
"name": "rlist0",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist0",
"comment": ""
},
{
"name": "rlist1",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist1",
"comment": ""
},
{
"name": "rlist2",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist2",
"comment": ""
},
{
"name": "rlist3",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist3",
"comment": ""
}
]
}
-49
View File
@@ -1,49 +0,0 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
AmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
AmfGuamiList: ""
SnssaiList: ""
MaxUser: ""
RelativeCapacity: ""
MaxGnbNum: ""
EpRpDynN8Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN11Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN12Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
-48
View File
@@ -1,48 +0,0 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
SmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
MaxPduSessions: ""
MaxQfi: ""
UpfList: ""
AddrPool:
Id: ""
UserLabel: ""
AddrType: "Static"
IpVersion: ""
AddrSegList: ""
EpRpDynN7Smf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN10Smf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
-39
View File
@@ -1,39 +0,0 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
UdmFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
UdrFunction:
Id: ""
UserLabel: ""
AddrType: "Static"
IpVersion: ""
AddrSegList: ""
AusfFunction:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
-141
View File
@@ -1,141 +0,0 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
InventoryUnitRack:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
MaxPduSessions: ""
MaxQfi: ""
UpfList: ""
InventoryUnitShelf:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
RackPosition: ""
InventoryUnitPack:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
PortsInformation: ""
PackPosition: ""
SlotsOccupied: ""
InventoryUnitHost:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
HostPosition: ""
NumberOfCpu: ""
MemSize: ""
HardDiskSize: ""
InventoryUnitAccessory:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
AccessoryPosition: ""
AccessoryType: ""
AddtionalInformation: ""
UpfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
MaxQosFlows: ""
MaxThroughput: ""
EpRpDynN9Upf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN3Upf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
AmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
UdrFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
AusfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-18
View File
@@ -1,18 +0,0 @@
-----BEGIN CERTIFICATE-----
MIIC4jCCAcqgAwIBAgICB+cwDQYJKoZIhvcNAQELBQAwEjEQMA4GA1UEAxMHUm9v
dCBDQTAeFw0yMzA4MTIxODA5MzZaFw0zMzA4MTIxODA5MzZaMBIxEDAOBgNVBAMT
B1Jvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCUTcFiT1GT
Zq9ROKTuWm6IfFthO6ysthEKevwkgJG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E0Of4grEHw4Dw8pcOg+JLcyStE91C+kEEb1ryOdz2kS3JRI5+K6nWZeo9mKV
R1u1DZx2QbZMXcJDJriRC7y9mlNMsZVbaPPRx4fTknGHts9c6NEf4hC+y1pGVtSM
nPc6bwKBgQCrtb6srow9o0acH7mMmieDuqvT8DQ6rHWoizgneZTuvIo6SPO6nRnR
jfgfQkqr9IiLh9awSblQEN9fnddog7a1yS4cUZueiP5dmtFvp4B9Scnt+BoHpOLk
rrU2i7grAye4Cd003+pqhSERGCKSzb3fTSYiMypKsxeH2bs8nrRu2A==
-----END RSA PRIVATE KEY-----
-8
View File
@@ -1,8 +0,0 @@
-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAlE3BYk9Rk2avUTik7lpuiHxbYTusrLYRCnr8JICRg0QsBfiuq8d4
+4s0w3y5F7puTj23Hf8ohAeNGK6vV9nJF9utMRvT4w5hlGqvKubM2vORoNoa1usI
ixfcvMmCt/7++9endMurLY7e9aR+eeEffJtMx5G5JqxRGoFkeXBKFTOjD2adsHQ5
zhQQUYgdQa2xzKQBYiierKKptcoVMAnnkfx7NPSRfCnzhYVeKgBFbxNXL4h7nAhL
ywWhusQc2yr2Fdojj7urtqPNfMKYapkmWKI9/zuPxMlYL49VXUqppE0rnYoiISwG
vP9iSq1tb+8BUI0ZMDcHX4elEeZYiFMJOwIDAQAB
-----END RSA PUBLIC KEY-----
-30
View File
@@ -1,30 +0,0 @@
-----BEGIN CERTIFICATE-----
MIIFKTCCAxGgAwIBAgIUIN48tRvspOjaIxbavyrZ/M7IvacwDQYJKoZIhvcNAQEL
BQAwHjELMAkGA1UEBhMCQ04xDzANBgNVBAMMBlJvb3RDQTAgFw0yMzA4MjIwMzQw
MDVaGA8yMTIzMDcyOTAzNDAwNVowHjELMAkGA1UEBhMCQ04xDzANBgNVBAMMBlJv
b3RDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBALzyKbRc0hIDXsnI
Yo0DLjfGexwFmhgE6jFR6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j1DfDOfN2WUZpGGE4MLGSeCWJ
6ziP9Jhf3ZP4DxqazR3y1ag/kQEf7zIQ3wc90oqOGR/8dMwHpwWgSnByF6jz3J2/
7LfNAoGBAMJsi2nJF3jzWwZLY9pQQ2/Icdojk0yUE0a9skdh5R6MjpzwQ3FydbB0
PxUxfJlAjS06kV/URo11AdQZXm/QKyb8uJPyRppJ7DZ0vsiDWysElqUHX/E/H6kI
QaQvePQ59HcgkJVh9wFI5blHtTyMrGR76kmZN5ClL05ITkqdnWJp
-----END RSA PRIVATE KEY-----
-49
View File
@@ -1,49 +0,0 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
AmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
AmfGuamiList: ""
SnssaiList: ""
MaxUser: ""
RelativeCapacity: ""
MaxGnbNum: ""
EpRpDynN8Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN11Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN12Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
-48
View File
@@ -1,48 +0,0 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
SmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
MaxPduSessions: ""
MaxQfi: ""
UpfList: ""
AddrPool:
Id: ""
UserLabel: ""
AddrType: "Static"
IpVersion: ""
AddrSegList: ""
EpRpDynN7Smf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN10Smf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
-39
View File
@@ -1,39 +0,0 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
UdmFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
UdrFunction:
Id: ""
UserLabel: ""
AddrType: "Static"
IpVersion: ""
AddrSegList: ""
AusfFunction:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
-141
View File
@@ -1,141 +0,0 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
InventoryUnitRack:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
MaxPduSessions: ""
MaxQfi: ""
UpfList: ""
InventoryUnitShelf:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
RackPosition: ""
InventoryUnitPack:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
PortsInformation: ""
PackPosition: ""
SlotsOccupied: ""
InventoryUnitHost:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
HostPosition: ""
NumberOfCpu: ""
MemSize: ""
HardDiskSize: ""
InventoryUnitAccessory:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
AccessoryPosition: ""
AccessoryType: ""
AddtionalInformation: ""
UpfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
MaxQosFlows: ""
MaxThroughput: ""
EpRpDynN9Upf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN3Upf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
AmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
UdrFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
AusfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
-21
View File
@@ -1,21 +0,0 @@
# file: log file name
# level: /trace/debug/info/error/warn/error/fatal, default: debug
# duration: saved days, default is 30 days
logger:
file: /usr/local/omc/log/captrace.log
level: trace
duration: 24
count: 10
gtp:
addr: :2152
database:
type: mysql
user: root
password: 1000omc@kp!
host: 127.0.0.1
port: 33066
name: omc_db
-44
View File
@@ -1,44 +0,0 @@
# file: log file name
# level: /trace/debug/info/warn/error/fatal, default: debug
# duration: saved days, default is 30 days
logger:
file: /usr/local/omc/log/crontask.log
level: trace
duration: 24
count: 90
omc:
name: OMC01
hosturi: http://127.0.0.1:3030
hostno: A001
province: GD
netabbr: HX
vendor: ""
tasks:
file: /usr/local/omc/etc/tasks.yaml
database:
type: mysql
user: root
password: 1000omc@kp!
host: 127.0.0.1
port: 33066
name: omc_db
backup: /usr/local/omc/database
# northbound interface, cm/pm
# duration(day): saved days
# zipPeriods(day): periods of zip pm data file
nbi:
cm:
cfgfiledir: /usr/local/omc/etc/cm
xmlfiledir: /opt/omc/ftp
version: V1.0.1
duration: 30
pm:
cfgfiledir: /usr/local/omc/etc/pm
xmlfiledir: /opt/omc/ftp
version: V1.0.1
duration: 30
zipPeriods: 1
-152
View File
@@ -1,152 +0,0 @@
# file: log file name
# level: /trace/debug/info/warn/error/fatal, default: debug
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: /usr/local/omc/log/restagent.log
level: debug
duration: 24
count: 90
# rest agent listen ipv4/v6 and port, support multiple routines
# ip: 0.0.0.0 or ::0, support IPv4/v6
rest:
- ipv4: 0.0.0.0
ipv6:
port: 3030
- ipv4: 0.0.0.0
ipv6:
port: 4443
schema: https
caFile: /usr/local/omc/etc/certs/rootca.crt
certFile: /usr/local/omc/etc/certs/tsa-omc.crt
keyFile: /usr/local/omc/etc/certs/tsa-omc_pri.key
webServer:
enabled: true
rootDir: /usr/local/omc/htdocs/front
listen:
- addr: :8080
schema: http
- addr: :8443
schema: https
caFile: /usr/local/omc/etc/certs/rootca.crt
certFile: /usr/local/omc/etc/certs/tsa-omc.crt
keyFile: /usr/local/omc/etc/certs/tsa-omc_pri.key
database:
type: mysql
user: root
password: 1000omc@kp!
host: 127.0.0.1
port: 33066
name: omc_db
backup: /usr/local/omc/database
# Redis 缓存数据,数据源声明全小写
redis:
dataSource:
# OMC系统使用库
default:
port: 6379 # Redis port
host: "127.0.0.1" # Redis host
password: ""
db: 10 # Redis db_num
# UDM网元用户库
udmuser:
port: 6379 # Redis port
host: "127.0.0.1"
password: ""
db: 0 # Redis db_num
# 多个数据源时可以用这个指定默认的数据源
defaultDataSourceName: "default"
mml:
port: 4100
sleep: 200
user: admin
password: admin
mmlHome: ./mmlhome
upload: /home/agtuser
ne:
user: root
etcdir: /usr/local/etc
bindir: /usr/local/bin
omcdir: /usr/local/omc
scpdir: /tmp
licensedir: /usr/local/etc/{neType}/license
# chk2ne: true/false, if put OmcNeConfig parameters to NE
omc:
uriPrefix: /api/rest/oam
neType: OMC
neId: 001
rmUID: 4400HX101
neName: OMC
province: GD
vendor: ""
dn: 4600
chk2ne: false
sn: 13750650
checksign: false
backup: /usr/local/omc/backup
upload: /usr/local/omc/upload
frontUpload: /usr/local/omc/htdocs/front/upload
frontTraceDir: /usr/local/omc/htdocs/front/trace
software: /usr/local/omc/software
license: /usr/local/omc/license
gtpUri: gtp:192.168.2.119:2152
checkContentType: false
testMode: false
rbacMode: true
runDir: /usr/local/omc/run
# Alarm module setting
# Forward interface:
# email/sms
alarm:
forwardAlarm: true
email:
smtp: smtp@xxx.com
port: 25
user: smtpuser
password: smtpuser@omc
sms:
apiURL: http://smsc.xxx.com
accessKeyID: xxx
accessKeySecret: xxx
signName: XXX SMSC
templateCode: 1000
#User authorized information
# crypt: mysql/md5/bcrypt
# token: true/false to check accessToken
# expires for session, unit: second
# Support single/multiple session of user
auth:
crypt: bcrypt
token: true
expires: 1800
session: multiple
publicKey: /usr/local/omc/etc/certs/omc
privateKey: /usr/local/omc/etc/certs/omc
# Parameter for limit number
# rmuid_maxnum: the max number of rmUID, default: 50
# alarmid_maxnum: the max number of AlarmID, default: 50
# pmid_maxnum: the max number of pmID, default: 50
# subid_maxnum: the max number of subscription ID, default: 20
# uri_maxlen: the max length of uri, default: 8192
# rmuid_regexp: regexp pattern of rmUID
params:
rmuidmaxnum: 50
alarmidmaxnum: 50
pmidmaxnum: 50
subidmaxnum: 20
urimaxlen: 2100000
rmuidregexp: "[0-9]{4}[A-Z]{2}[A-Z]{2}[0-9A-Z]{1}[0-9A-Z]{3}[0-9A-Z]{1,16}"
testConfig:
enabled: true
file: /usr/local/omc/etc/testconfig.yaml
-51
View File
@@ -1,51 +0,0 @@
# file: log file name
# level: /trace/debug/info/warn/error/fatal, default: debug
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: /usr/local/omc/log/sshsvc.log
level: debug
duration: 24
count: 30
# file: MML log file name
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
# level: cmd/ret log cmd/log cmd & result
logmml:
file: /usr/local/omc/mmllog/omcmml.log
duration: 24
count: 30
level: cmd
# ssh service listen ipv4/v6 and port, support multiple routines
# ip: 0.0.0.0 or ::0, support IPv4/v6
# session: single/multiple session for one user
sshd:
listenAddr: 0.0.0.0
listenPort: 2222
privateKey: /usr/local/omc/.ssh/id_rsa
maxConnNum: 20
timeout: 1800
session: multiple
mmlHome: /usr/local/omc/mmlhome
database:
type: mysql
user: root
password: 1000omc@kp!
host: 127.0.0.1
port: 33066
name: omc_db
omc:
httpUri: http://127.0.0.1:3030
userCrypt: bcrypt
ne:
port: 4100
sleep: 200
user: admin
password: admin
-178
View File
@@ -1,178 +0,0 @@
# example:
# tasks:
# - name: test # task comment
# uri: # restful uri
# params: # params of url
# interval: 30 # do sometion in the interval
# unit: Seconds #Seconds/Minutes/Hours/Days/Weeks, Monday/Tuesday/.../Sunday,
# at: 00:10:00 # do at time such as xx:xx:xx
# do: HelloWorldTask # (Do what: callback function)
#
# Attention: must restart crontask after modified this file
#
tasks:
- name: test # task comment
status: Active #active/inactive
uri: # restful uri
params: # params of http url
body: # body of http request
interval: 60 # do sometion in the interval
unit: Seconds #Seconds/Minutes/Hours/Days/Weeks, Monday/Tuesday/.../Sunday,
at: 00:10:00 # do at time such as xx:xx:xx when unit such as Day/Days/Mondays...
do: TaskHelloWorld # (Do what: callback function)
- name: clear expired history alarm
uri: /api/rest/databaseManagement/v1/omc_db/alarm
params: WHERE=now()+>+ADDDATE(event_time,+interval+(SELECT+`value`+FROM+config+WHERE+config_tag='historyDuration')+day)+and+alarm_status='0'
interval: 1
unit: Days
at: 00:10:00
do: TaskDeleteExpiredRecord
- name: clear expired history gold_kpi
uri: /api/rest/databaseManagement/v1/omc_db/gold_kpi
params: WHERE=now()+>+ADDDATE(`date`,+interval+IFNULL((SELECT+`value`+FROM+config+WHERE+config_tag='goldKpiDuration'),7)+day)
interval: 1
unit: Days
at: 00:12:00
do: TaskDeleteExpiredRecord
- name: clear deleted custom pm kpi
uri: /api/rest/databaseManagement/v1/omc_db/pm_custom_title
params: WHERE=now()+>+ADDDATE(update_time,+interval+(SELECT+`value`+FROM+config+WHERE+config_tag='keepPMCKpi')+day)+and+status='Deleted'
interval: 1
unit: Days
at: 00:15:00
do: TaskDeleteExpiredRecord
- name: update expired user session
uri: /api/rest/databaseManagement/v1/omc_db/session
params: WHERE=NOW()+>+ADDDATE(shake_time,+interval+expires+second)+and+status='online'
body: '{"session":{"status":"offline"}}'
interval: 30
unit: Seconds
at:
do: TaskUpdateTable
- name: clear expired log
uri:
params:
interval: 1
unit: Days
at: 00:50:00
do: TaskDeleteExpiredRecord
- name: Backup measure data
uri: /api/rest/databaseManagement/v1/omc_db/measure_data
params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','date','task_id','ne_name','rm_uid','ne_type','granul_option','kpi_code','kpi_id','kpi_ext','start_time','end_time','value','timestamp'+union+select+id,date,task_id,ne_name,rm_uid,ne_type,granul_option,kpi_code,kpi_id,kpi_ext,start_time,end_time,value,timestamp+from+measure_data)+b
interval: 1
unit: Days
at: 00:20:00
do: TaskDBBackupCSVGetBySQL
- name: Backup operation log
uri: /api/rest/databaseManagement/v1/omc_db/operation_log
params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'op_id','account_name','op_ip','subsys_tag','op_type','op_content','op_result','begin_time','end_time','vnf_flag','log_time'+union+select+op_id,account_name,op_ip,subsys_tag,op_type,op_content,op_result,begin_time,end_time,vnf_flag,log_time+from+operation_log)+b
interval: 1
unit: Days
at: 00:26:00
do: TaskDBBackupCSVGetBySQL
- name: Backup security log
uri: /api/rest/databaseManagement/v1/omc_db/security_log
params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','account_name','account_type','op_ip','op_type','op_content','op_result','op_time'+union+select+id,account_name,account_type,op_ip,op_type,op_content,op_result,op_time+from+security_log)+b
interval: 1
unit: Days
at: 00:28:00
do: TaskDBBackupCSVGetBySQL
- name: Backup alarm log
uri: /api/rest/databaseManagement/v1/omc_db/alarm_log
params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','ne_type','ne_id','alarm_seq','alarm_id','alarm_code','alarm_status','event_time','log_time'+union+select+id,ne_type,ne_id,alarm_seq,alarm_id,alarm_code,alarm_status,event_time,log_time+from+alarm_log)+b
interval: 1
unit: Days
at: 00:30:00
do: TaskDBBackupCSVGetBySQL
- name: handshake to NF
status: Active
uri: /api/rest/systemManagement/v1/elementType/%s/objectType/systemState
params:
interval: 10
unit: Seconds
at:
do: TaskHandShakeToNF
- name: Export CM from NF
uri: /api/rest/systemManagement/v1/elementType/%s/objectType/cm
params: ne_id=%s
interval: 1
unit: Days
at: 00:15
do: TaskExportCmFromNF
- name: Generate NRM xml file
uri:
params:
interval: 1
unit: Day
at: 00:00,06:00,12:00,18:00
do: GenCmXmlFile
- name: Task of Generate measure threshold alarm
status: Active
uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms
params: 10200
interval: 10
unit: Seconds
at:
do: TaskGenMeasureThresholdAlarm
- name: Task of Generate license alarm
status: Inactive
uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms
params: 10100 #alarm_code
interval: 1
unit: Days
at: 00:30
do: TaskGenLicenseAlarm
- name: Task of Generate NE system state alarm
status: Active
uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms
params: 10000
interval: 5
unit: Seconds
at:
do: TaskGenNeStateAlarm
- name: Task of Generate Measure Report Timeout
status: Active
uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms
params: 10201
interval: 10
unit: Seconds
at:
do: TaskGenMeasureReportTimeoutAlarm
- name: Monitor proces list and write system log
uri: /api/rest/databaseManagement/v1/omc_db/system_log
params:
body:
interval: 10
unit: Seconds
at:
do: TaskWriteSystemLog
- name: Copy log to /opt/omc/ftp/log
uri:
params: cp -rf /usr/local/omc/database/*.csv /opt/omc/ftp/log
interval: 10
unit: Minutes
at:
do: TaskRunShellCommand
# - name: Import CM to NF
# uri: /api/rest/systemManagement/v1/elementType/udm/objectType/cm
# params: ne_id=SZ_01
# interval: 15
# unit: Seconds
# at:
# do: TaskImportCmToNF
crontab:
# - name: 每隔1分钟执行
# tab: 0 */1 * * * ? // crontab: rule like linux crontab
# do: CronHelloWorldTask // function name to call
# params:
- name: Generate PM xml file
status: Active
tab: 5,20,35,50 * * * *
do: GenPmXmlFile
uri: this is uri
params: Generating PM xml file
# - name: Import CM to NF
# tab: 0 * * * * *
# do: TaskImportCmToNF
# uri: /api/rest/systemManagement/v1/elementType/udm/objectType/cm
# params: ne_id=SZ_01
-76
View File
@@ -1,76 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="DataFile">
<xs:complexType>
<xs:sequence>
<xs:element name="FileHeader">
<xs:complexType>
<xs:sequence>
<xs:element name="TimeStamp" type="xs:dateTime"/>
<xs:element name="TimeZone" type="xs:string"/>
<xs:element name="VendorName" type="xs:string" minOccurs="0"/>
<xs:element name="ElementType" type="xs:string" minOccurs="0"/>
<xs:element name="CmVersion" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Objects" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ObjectType" type="xs:string"/>
<!--该字段必选-->
<xs:element name="FieldName">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="N">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FieldValue">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="Object">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="V">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="rmUID" type="xs:string" use="required"/>
<xs:attribute name="Dn" type="xs:string"/>
<!-- //无线、核心网专业该字段必选,传输、IP专业、业务系统无该字段-->
<xs:attribute name="UserLabel" type="xs:string"/>
<!-- //无线、核心网专业该字段必选,传输、IP专业、业务系统无该字段-->
<xs:attribute name="PVFlag" type="xs:string" use="required"/>
<!-- //必须-->
<xs:attribute name="VMID" type="xs:string"/>
<!-- //VNF网络或VNF和PNF混合组网:虚拟网元必选,物理网元无该字段-->
<xs:attribute name="VNFInstanceID" type="xs:string"/>
<!-- //VNF网络或VNF和PNF混合组网:虚拟网元必选,物理网元无该字段-->
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
-221
View File
@@ -1,221 +0,0 @@
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- This XSLT will convert a PDML file, saved by Wireshark, into
HTML. The HTML page should look similar to Wireshark. See
https://gitlab.com/wireshark/wireshark/-/wikis/PDML for information
on how to generate such a HTML file from PDML.
For questions contact Dirk Jagdmann (doj@cubic.org).
Version: 2010-06-09
Wireshark - Network traffic analyzer
By Gerald Combs <gerald@wireshark.org>
Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
-->
<!-- set parameters of the HTML output -->
<xsl:output method="html" encoding="UTF-8" omit-xml-declaration="no" standalone="yes" indent="yes"/>
<!-- this matches the "field" tag -->
<xsl:template match="field">
&#160;&#160;&#160; <!-- indent with 3 non-breaking spaces -->
<!-- output either the "showname" or "show" attribute -->
<xsl:choose>
<xsl:when test="string-length(@showname)>0">
<xsl:value-of select="@showname"/><br/>
</xsl:when>
<xsl:otherwise>
<!--<xsl:value-of select="@name"/>:--> <xsl:value-of select="@show"/><br/>
</xsl:otherwise>
</xsl:choose>
<xsl:apply-templates/> <!-- we expect to match "field" tags -->
</xsl:template>
<!-- this matches the "packet" tag -->
<xsl:template match="packet">
<!-- declare some variables for later use -->
<xsl:variable name="frame_num" select="proto[@name='frame']/field[@name='frame.number']/@show"/>
<xsl:variable name="frame_id" select="concat('f',$frame_num)"/>
<xsl:variable name="frame_c" select="concat($frame_id,'c')"/>
<!-- the "title" bar of the frame -->
<div width="100%" id="{$frame_id}">
<a href="javascript:toggle_node('{$frame_c}')">&#8658;</a> <!-- #8658 is a "rArr" (double right arrow) character -->
Frame <xsl:value-of select="$frame_num"/>:
<xsl:for-each select="proto[@name!='geninfo']">
<xsl:value-of select="@name"/>,
</xsl:for-each>
<small><a href="javascript:hide_node('{$frame_id}')">[X]</a></small>
</div>
<!-- the frame contents are stored in a div, so we can toggle it -->
<div width="100%" id="{$frame_c}" style="display:none">
<!-- loop through all proto tags, but skip the "geninfo" one -->
<xsl:for-each select="proto[@name!='geninfo']">
<xsl:variable name="proto" select="concat($frame_id,@name,count(preceding-sibling::proto)+1)"/>
<!-- the "title" bar of the proto -->
<div width="100%" style="background-color:#e5e5e5; margin-bottom: 2px">
&#160;<a href="javascript:toggle_node('{$proto}')">&#8658;</a>&#160;<xsl:value-of select="@showname"/>
<!-- print "proto" details inside another div -->
<div width="100%" id="{$proto}" style="display:none">
<xsl:apply-templates/> <!-- we expect to match "field" tags -->
</div>
</div>
</xsl:for-each>
</div>
<!-- use the javascript function set_node_color() to set the color
of the frame title bar. Defer colorization until the full page has
been loaded. If the browser would support the XPath function
replace() we could simply set the class attribute of the title bar div,
but for now we're stuck with class names from Wireshark's colorfilters
that contain spaces and we can't handle them in CSS. -->
<script type="text/javascript">
dojo.addOnLoad(function(){
set_node_color(
'<xsl:value-of select="$frame_id"/>',
'<xsl:value-of select="proto[@name='frame']/field[@name='frame.coloring_rule.name']/@show"/>'
);
});
</script>
</xsl:template>
<xsl:template match="pdml">
Capture Filename: <b><xsl:value-of select="@capture_file"/></b>
PDML created: <b><xsl:value-of select="@time"/></b>
<tt>
<xsl:apply-templates/> <!-- we expect to match the "packet" nodes -->
</tt>
</xsl:template>
<!-- this block matches the start of the PDML file -->
<xsl:template match="/">
<html>
<head>
<title>poor man's Wireshark</title>
<script src="https://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js" type="text/javascript"></script>
<script type="text/javascript">
function set_node(node, str)
{
if(dojo.isString(node))
node = dojo.byId(node);
if(!node) return;
node.style.display = str;
}
function toggle_node(node)
{
if(dojo.isString(node))
node = dojo.byId(node);
if(!node) return;
set_node(node, (node.style.display != 'none') ? 'none' : 'block');
}
function hide_node(node)
{
set_node(node, 'none');
}
// this function was generated by colorfilters2js.pl
function set_node_color(node,colorname)
{
if(dojo.isString(node))
node = dojo.byId(node);
if(!node) return;
var fg;
var bg;
if(colorname == 'Bad TCP') {
bg='#000000';
fg='#ff5f5f';
}
if(colorname == 'HSRP State Change') {
bg='#000000';
fg='#fff600';
}
if(colorname == 'Spanning Tree Topology Change') {
bg='#000000';
fg='#fff600';
}
if(colorname == 'OSPF State Change') {
bg='#000000';
fg='#fff600';
}
if(colorname == 'ICMP errors') {
bg='#000000';
fg='#00ff0e';
}
if(colorname == 'ARP') {
bg='#d6e8ff';
fg='#000000';
}
if(colorname == 'ICMP') {
bg='#c2c2ff';
fg='#000000';
}
if(colorname == 'TCP RST') {
bg='#900000';
fg='#fff680';
}
if(colorname == 'TTL low or unexpected') {
bg='#900000';
fg='#ffffff';
}
if(colorname == 'Checksum Errors') {
bg='#000000';
fg='#ff5f5f';
}
if(colorname == 'SMB') {
bg='#fffa99';
fg='#000000';
}
if(colorname == 'HTTP') {
bg='#8dff7f';
fg='#000000';
}
if(colorname == 'IPX') {
bg='#ffe3e5';
fg='#000000';
}
if(colorname == 'DCERPC') {
bg='#c797ff';
fg='#000000';
}
if(colorname == 'Routing') {
bg='#fff3d6';
fg='#000000';
}
if(colorname == 'TCP SYN/FIN') {
bg='#a0a0a0';
fg='#000000';
}
if(colorname == 'TCP') {
bg='#e7e6ff';
fg='#000000';
}
if(colorname == 'UDP') {
bg='#70e0ff';
fg='#000000';
}
if(colorname == 'Broadcast') {
bg='#ffffff';
fg='#808080';
}
if(fg.length > 0)
node.style.color = fg;
if(bg.length > 0)
node.style.background = bg;
}
</script>
</head>
<body>
<xsl:apply-templates/> <!-- we expect to match the "pdml" node -->
</body>
</html>
</xsl:template>
</xsl:stylesheet>
-80
View File
@@ -1,80 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="PmFile">
<xs:complexType>
<xs:sequence>
<xs:element name="FileHeader">
<xs:complexType>
<xs:sequence>
<xs:element name="TimeStamp" type="xs:dateTime" />
<xs:element name="TimeZone" type="xs:string" />
<xs:element name="Period" type="xs:integer" />
<xs:element name="VendorName" type="xs:string" />
<xs:element name="ElementType" type="xs:string" />
<xs:element name="PmVersion" type="xs:string" />
<xs:element name="StartTime" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Measurements" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ObjectType" type="xs:string" />
<xs:element name="PmName">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="N">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PmData">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="Object">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="V">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="CV">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="SN" type="xs:string" />
<xs:element name="SV" type="xs:string" />
</xs:sequence>
<xs:attribute name="i" type="xs:integer"
use="required" />
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="rmUID" type="xs:string" use="required" />
<xs:attribute name="Dn" type="xs:string" use="required" />
<xs:attribute name="UserLabel" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
-37
View File
@@ -1,37 +0,0 @@
{
"id": 1,
"title": "故障管理",
"icon": "fa fa-telegram",
"href": "",
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "活动告警",
"icon": "fa fa-caret-right",
"href": "page/alarm/alarmListDown.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "历史告警",
"icon": "fa fa-caret-right",
"href": "page/alarm/AlarmListHistory.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 4,
"title": "告警设置",
"icon": "fa fa-caret-right",
"href": "absence/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
-46
View File
@@ -1,46 +0,0 @@
{
"id": 1,
"title": "日志管理",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "操作日志",
"icon": "fa fa-caret-right",
"href": "building/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "安全日志",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 4,
"title": "告警日志",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 5,
"title": "日志设置",
"icon": "fa fa-caret-right",
"href": "dormitory/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
@@ -1,28 +0,0 @@
{
"id": 1,
"title": "操作维护",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "参数配置MML",
"icon": "fa fa-caret-right",
"href": "building/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "用户管理MML",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
@@ -1,46 +0,0 @@
{
"id": 1,
"href": null,
"icon": "fa fa-wrench",
"title": "性能管理",
"target": null,
"parentId": 0,
"child": [
{
"id": 1,
"href": "page/task/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "任务管理",
"target": null,
"parentId": 1
},
{
"id": 2,
"href": "page/repair/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "数据管理",
"target": null,
"parentId": 1
},
{
"id": 3,
"href": "page/gold/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "黄金指标",
"target": null,
"parentId": 1
},
{
"id": 4,
"href": "page/task/threshold.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "性能门限",
"target": null,
"parentId": 1
}
]
}
-37
View File
@@ -1,37 +0,0 @@
{
"id": 1,
"href": null,
"icon": "fa fa-users",
"child": [
{
"id": 2,
"href": "page/user/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "用户管理",
"target": null,
"parentId": 1
},
{
"id": 3,
"href": "dormitoryset/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "群组管理",
"target": null,
"parentId": 1
},
{
"id": 4,
"href": "dormitory/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "权限管理",
"target": null,
"parentId": 1
}
],
"title": "安全管理",
"target": null,
"parentId": 0
}
-46
View File
@@ -1,46 +0,0 @@
{
"id": 1,
"title": "配置管理",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "网元管理",
"icon": "fa fa-caret-right",
"href": "building/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "参数配置",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 4,
"title": "软件管理",
"icon": "fa fa-caret-right",
"href": "dormitory/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 5 ,
"title": "许可证管理",
"icon": "fa fa-caret-right",
"href": "selection/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
-49
View File
@@ -1,49 +0,0 @@
{
"id": 1,
"title": "拓扑管理",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "系统拓扑",
"icon": "fa fa-caret-right",
"href": "page/user/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "网元状态",
"icon": "fa fa-caret-right",
"href": "page/main.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
{
"id": 1,
"href": null,
"icon": "fa fa-home",
"child": [
{
"id": 3,
"href": "page/main.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "网元状态",
"target": null,
"parentId": 1
}
],
"title": "系统状态",
"target": null,
"parentId": 0
}
-28
View File
@@ -1,28 +0,0 @@
{
"id": 1,
"title": "跟踪管理",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "任务管理",
"icon": "fa fa-caret-right",
"href": "building/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "信令分析",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
-346
View File
@@ -1,346 +0,0 @@
{
"parent": [
{
"id": 1,
"title": "系统状态",
"icon": "fa fa-cog",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "page/user/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "AUSF",
"icon": "fa fa-caret-right",
"href": "grade/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 4,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "org/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 5,
"title": "SMF",
"icon": "fa fa-caret-right",
"href": "student/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
},
{
"id": 7,
"title": "配置管理",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 8,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "building/list.html",
"target": null,
"parentId": 7,
"child": null
},
{
"id": 9,
"title": "AUSF",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 7,
"child": null
},
{
"id": 10,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "dormitory/list.html",
"target": null,
"parentId": 7,
"child": null
},
{
"id": 11,
"title": "SMF",
"icon": "fa fa-caret-right",
"href": "selection/list.html",
"target": null,
"parentId": 7,
"child": null
}
]
},
{
"id": 12,
"title": "故障管理",
"icon": "fa fa-telegram",
"href": "",
"target": null,
"parentId": 0,
"child": [
{
"id": 13,
"title": "活动告警",
"icon": "fa fa-caret-right",
"href": "page/alarm/alarmListDown.html",
"target": null,
"parentId": 12,
"child": null
},
{
"id": 14,
"title": "历史告警",
"icon": "fa fa-caret-right",
"href": "page/alarm/AlarmListHistory.html",
"target": null,
"parentId": 12,
"child": null
},
{
"id": 15,
"title": "告警设置",
"icon": "fa fa-caret-right",
"href": "absence/list.html",
"target": null,
"parentId": 12,
"child": null
}
]
},
{
"id": 16,
"title": "业务统计",
"icon": "fa fa-wrench",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 17,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "repair/list.html",
"target": null,
"parentId": 16,
"child": null
},
{
"id": 18,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "repair/list.html",
"target": null,
"parentId": 16,
"child": null
}
]
},
{
"id": 19,
"title": "日志管理",
"icon": "fa fa-truck",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 20,
"title": "操作日志",
"icon": "fa fa-caret-right",
"href": "page/log/operLogList.html",
"target": null,
"parentId": 19,
"child": null
},
{
"id": 21,
"title": "安全日志",
"icon": "fa fa-caret-right",
"href": "page/log/securityLogList.html",
"target": null,
"parentId": 19,
"child": null
},
{
"id": 22,
"title": "告警入库日志",
"icon": "fa fa-caret-right",
"href": "page/log/alarmLogList.html",
"target": null,
"parentId": 19,
"child": null
}
]
},
{
"id": 23,
"title": "系统维护",
"icon": "fa fa-truck",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 24,
"title": "设备升级",
"icon": "fa fa-caret-right",
"href": "visit/list.html",
"target": null,
"parentId": 23,
"child": [
{
"id": 26,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 23,
"child": null
},
{
"id": 27,
"title": "AUSF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 23,
"child": null
},
{
"id": 28,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 23,
"child": null
},
{
"id": 29,
"title": "SMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 23,
"child": null
}
]
},
{
"id": 25,
"title": "设备控制",
"icon": "fa fa-caret-right",
"href": "visit/list.html",
"target": null,
"parentId": 22,
"child": [
{
"id": 24,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 30,
"child": null
},
{
"id": 31,
"title": "AUSF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 24,
"child": null
},
{
"id": 32,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 24,
"child": null
},
{
"id": 33,
"title": "SMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 24,
"child": null
}
]
},
{
"id": 25,
"title": "许可证更新",
"icon": "fa fa-caret-right",
"href": "visit/list.html",
"target": null,
"parentId": 22,
"child": [
{
"id": 34,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 25,
"child": null
},
{
"id": 35,
"title": "AUSF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 25,
"child": null
},
{
"id": 36,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 25,
"child": null
},
{
"id": 37,
"title": "SMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 25,
"child": null
}
]
}
]
}
]
}
File diff suppressed because it is too large. Load diff
@@ -1,417 +0,0 @@
udm:
authdataManagement:
display: "Authentication Data Management"
mml:
- operation: "dsp"
object: "authdat"
display: "Display Auth Data"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- operation: "add"
object: "authdat"
display: "Add Auth Data"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "ki"
type: "int"
optional: "false"
filter: ""
display: "Ki"
comment: ""
- name: "amf"
type: "string"
optional: "false"
filter: ""
display: "AMF"
comment: ""
- name: "algo"
type: "int"
optional: "false"
filter: "0~15"
display: "Algo"
comment: ""
- name: "opc"
type: "string"
optional: "false"
filter: ""
display: "OPC"
comment: ""
- operation: "del"
object: "authdat"
display: "Delete Auth Data"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- operation: "bat"
object: "authdat"
display: "Batch Add Auth Data"
params:
- name: "start_imsi"
type: "string"
optional: "false"
filter: ""
display: "Starting IMSI"
comment: ""
- name: "sub_num"
type: "int"
optional: "false"
filter: ""
display: "auth data number"
comment: ""
- name: "ki"
type: "string"
optional: "false"
filter: ""
display: "Ki"
comment: ""
- name: "amf"
type: "string"
optional: "false"
filter: ""
display: "AMF"
comment: ""
- name: "algo"
type: "int"
optional: "false"
filter: "0~15"
display: "Algo"
comment: ""
- operation: "bde"
object: "authdat"
display: "Batch Delete Auth Data"
params:
- name: "start_imsi"
type: "string"
optional: "false"
filter: ""
display: "Starting IMSI"
comment: ""
- name: "sub_num"
type: "int"
optional: "false"
filter: ""
display: "auth data number"
comment: ""
- operation: "import"
object: "authdat"
display: "Import Auth Data From File"
params:
- name: "file"
type: "string"
optional: "false"
filter: ""
display: "Path file"
comment: ""
- operation: "export"
object: "authdat"
display: "Export Auth Data to File"
params:
- name: "file"
type: "string"
optional: "false"
filter: ""
display: "Path file"
comment: ""
subscriberManagement:
display: "Subcriber Management"
mml:
- operation: "dsp"
object: "udmuser"
display: "Display UDM Subscriber"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- operation: "add"
object: "udmuser"
display: "Add UDM Subscriber"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "msisdn"
type: "string"
optional: "false"
filter: ""
display: "MSISDN"
comment: ""
- name: "ambr"
type: "string"
optional: "false"
filter: ""
display: "AMBR"
comment: ""
- name: "nssai"
type: "string"
optional: "false"
filter: ""
display: "Nssai"
comment: ""
- name: "arfb"
type: "string"
optional: "false"
filter: ""
display: "Arfb"
comment: ""
- name: "sar"
type: "string"
optional: "false"
filter: ""
display: "SAR"
comment: ""
- name: "rat"
type: "string"
optional: "false"
filter: ""
display: "RAT"
comment: ""
- name: "cn"
type: "string"
optional: "false"
filter: ""
display: "CN"
comment: ""
- name: "smf_sel"
type: "string"
optional: "false"
filter: ""
display: "SMF_sel"
comment: ""
- name: "sm_data"
type: "string"
optional: "false"
filter: ""
display: "SM_data"
comment: ""
- operation: "del"
object: "udmuser"
display: "Delete Subscriber Data"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- operation: "mod"
object: "udmuser"
display: "Modify Subscriber Data"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
c1omment: ""
- name: "msisdn"
type: "string"
optional: "true"
filter: ""
display: "MSISDN"
comment: ""
- name: "ambr"
type: "string"
optional: "true"
filter: ""
display: "AMBR"
comment: ""
- name: "nssai"
type: "string"
optional: "true"
filter: ""
display: "Nssai"
comment: ""
- name: "arfb"
type: "string"
optional: "true"
filter: ""
display: "Arfb"
comment: ""
- name: "sar"
type: "string"
optional: "true"
filter: ""
display: "SAR"
comment: ""
- name: "rat"
type: "string"
filter: ""
display: "RAT"
comment: ""
- name: "cn"
type: "string"
optional: "true"
filter: ""
display: "CN"
comment: ""
- name: "smf_sel"
type: "string"
optional: "true"
filter: ""
display: "SMF_sel"
comment: ""
- name: "sm_data"
type: "string"
optional: "true"
filter: ""
display: "SM_data"
comment: ""
- operation: "bat"
object: "udmuser"
display: "Batch Add UDM Subscriber"
params:
- name: "start_imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "start_msisdn"
type: "string"
optional: "false"
filter: ""
display: "MSISDN"
comment: ""
- name: "sub_num"
type: "int"
optional: "false"
filter: ""
display: "subscriber number"
comment: ""
- name: "ambr"
type: "string"
optional: "false"
filter: ""
display: "AMBR"
comment: ""
- name: "nssai"
type: "string"
optional: "false"
filter: ""
display: "Nssai"
comment: ""
- name: "arfb"
type: "string"
optional: "false"
filter: ""
display: "Arfb"
comment: ""
- name: "sar"
type: "string"
optional: "false"
filter: ""
display: "SAR"
comment: ""
- name: "rat"
type: "string"
optional: "false"
filter: ""
display: "RAT"
comment: ""
- name: "cn"
type: "string"
optional: "false"
filter: ""
display: "CN"
comment: ""
- name: "smf_sel"
type: "string"
optional: "false"
filter: ""
display: "SMF_sel"
comment: ""
- name: "sm_data"
type: "string"
optional: "false"
filter: ""
display: "SM_data"
comment: ""
- operation: "bde"
object: "udmuser"
display: "Batch Delete Subscriber Data"
params:
- name: "start_imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "sub_num"
type: "string"
optional: "false"
filter: ""
display: "Subcribers number"
comment: ""
- operation: "bmd"
object: "udmuser"
display: "Batch Modify Subscriber Data"
params:
- name: "start_imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "sub_num"
type: "string"
optional: "false"
filter: ""
display: "Subcribers number"
comment: ""
- name: "sm_data"
type: "string"
optional: "false"
filter: ""
display: "SM_data"
comment: ""
- operation: "import"
object: "udmuser"
display: "Import Subscriber Data From File"
params:
- name: "file"
type: "string"
optional: "false"
filter: ""
display: "Path file"
comment: ""
- operation: "upload"
object: "udmuser"
display: "Upload Subscriber Data"
params:
- name: "file"
type: "string"
optional: "false"
filter: ""
display: "Path file"
comment: ""
- operation: "sync"
object: "start"
display: "Sync UDM Data From Public UDM"
params:
- operation: "sync"
object: "state"
display: "Query State of Sync Task"
params:
-147
View File
@@ -1,147 +0,0 @@
amf:
systemManagement:
display: "System Management"
mml:
- operation: "set"
object: "n8_ip"
display: "Set N8 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "n11_ip"
display: "Set N11 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "n12_ip"
display: "Set N12 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "relative_capacity"
display: "Set Relative Capacity"
params:
- name: "capacity"
type: "int"
optional: "false"
filter: ""
display: "Relative Capacity"
comment: ""
- operation: "set"
object: "n2_ip"
display: "Set N2 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n2_port"
display: "Set N2 Port"
params:
- name: "port"
type: "int"
optional: "false"
filter: "0~65535"
display: "Port"
comment: ""
- operation: "set"
object: "ntpversion"
display: "Set NTP Version"
params:
- name: "version"
type: "int"
optional: "false"
filter: ""
display: "Version"
comment: ""
- operation: "set"
object: "ntpmaxdiff"
display: "Set NTP Max Diff"
params:
- name: "value"
type: "int"
optional: "false"
filter: "100~2000"
display: "Max Value(ms)"
comment: ""
- operation: "set"
object: "ntpsynctimer"
display: "Set NTP Sync Timer"
params:
- name: "periods"
type: "int"
optional: "false"
filter: ""
display: "Periods(second)"
comment: ""
- operation: "add"
object: "slice"
display: "Add Slice"
params:
- name: "sst"
type: "string"
optional: "false"
filter: ""
display: "SST"
comment: ""
- name: "sd"
type: "string"
optional: "false"
filter: ""
display: "SD"
comment: ""
- operation: "deregister"
object: "imsi"
display: "Deregister IMSI"
params:
- name: "IMSI"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- operation: "exec"
object: "shell"
display: "Execute Shell Command"
params:
- name: "cmd"
type: "string"
optional: "false"
filter: ""
display: "CMD"
comment: ""
- operation: "reload"
object: ""
display: "Reload Config"
params:
subsManagement:
display: "Subscriber Management"
mml:
- operation: "list"
object: "imsi"
display: "List Online IMSI"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: "32"
display: "IMSI"
comment: ""
@@ -1,48 +0,0 @@
ausf:
systemManagement:
display: "System Management"
mml:
- operation: "set"
object: "n12ip"
display: "Set N12 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n12port"
display: "Set N12 Port"
params:
- name: "port"
type: "int"
optional: "false"
filter: "1~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n12scheme"
display: "Set N12 Scheme"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- operation: "set"
object: "supirange"
display: "Set SUPI Range"
params:
- name: "supirange"
type: "string"
optional: "false"
filter: ""
display: "SUPI Range"
comment: ""
- operation: "reload"
object: ""
display: "Reload Config"
params:
-366
View File
@@ -1,366 +0,0 @@
smf:
systemManagement:
display: "System Management"
mml:
- operation: "set"
object: "n7 server"
display: "Set N7 Server"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- name: "port"
type: "int"
optional: "false"
filter: "0~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n7 client"
display: "Set N7 Client"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "n10 server"
display: "Set N10 Server"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- name: "port"
type: "int"
optional: "false"
filter: "0~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n10 client"
display: "Set N10 Client"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "n11 server"
display: "Set N11 Server"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- name: "port"
type: "int"
optional: "false"
filter: "0~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n11 client"
display: "Set N11 Client"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "dnn"
display: "Set DNN"
params:
- name: "index"
type: "int"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "DNN"
type: "string"
optional: "false"
filter: ""
display: "DNN"
comment: ""
- operation: "set pccrule <index> <precedence> <qosIndex> <filter direction> <filter> <appId>"
object: "pccrule"
display: "Set PCC Rule"
params:
- name: "index"
type: "int"
optional: "false"
filter: "0~65535"
display: "Index"
comment: ""
- name: "precedence"
type: "int"
optional: "false"
filter: ""
display: "Precedence"
comment: ""
- name: "qosIndex"
type: "int"
optional: "false"
filter: ""
display: "QOS Index"
comment: ""
- name: "direction"
type: "int"
optional: "true"
filter: '{"0":"NA", "1":"Uplink", "2":"Downlink", "3":"Bidirectionallink"}'
display: "Filter Direction"
comment: ""
- name: "filter"
type: "string"
optional: "true"
filter: ""
display: "Filter"
comment: ""
- name: "appId"
type: "string"
optional: "true"
filter: ""
display: "Application ID"
comment: ""
- operation: "set"
object: "urr"
display: "Set URR"
params:
- name: "index"
type: "string"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "quotavolumetatol"
type: "string"
optional: "false"
filter: ""
display: "SD"
comment: ""
- name: "quotavolumeul"
type: "string"
optional: "false"
filter: ""
display: "quota volume ul"
comment: ""
- name: "quotavolumedl"
type: "string"
optional: "false"
filter: ""
display: "quota volume dl"
comment: ""
- name: "quotatime"
type: "string"
optional: "false"
filter: ""
display: "quota time"
comment: ""
- operation: "set"
object: "qos"
display: "Set Qos"
params:
- name: "index"
type: "string"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "5qi"
type: "string"
optional: "false"
filter: ""
display: "SD"
comment: ""
- name: "5qipl"
type: "string"
optional: "false"
filter: ""
display: "5qipl"
comment: ""
- name: "arppl"
type: "string"
optional: "false"
filter: ""
display: "arppl"
comment: ""
- name: "arppci"
type: "string"
optional: "false"
filter: ""
display: "arppci"
comment: ""
- name: "arppvi"
type: "string"
optional: "false"
filter: ""
display: "arppvi"
comment: ""
- name: "mfbrul"
type: "string"
optional: "false"
filter: ""
display: "mfbrul"
comment: ""
- name: "mfbrdl"
type: "string"
optional: "false"
filter: ""
display: "mfbrdl"
comment: ""
- name: "gfbrul"
type: "string"
optional: "false"
filter: ""
display: "gfbrul"
comment: ""
- name: "gfbrdl"
type: "string"
optional: "false"
filter: ""
display: "gfbrdl"
comment: ""
- operation: "set"
object: "snssai"
display: "Set Snssai"
params:
- name: "index"
type: "string"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "sst-sd"
type: "string"
optional: "false"
filter: ""
display: "sst-sd"
- operation: "release"
object: "imsi"
display: "Release IMSI"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "pduSessId"
type: "string"
optional: "false"
filter: ""
display: "PDU Session Id"
- operation: "set"
object: "urr"
display: "Set URR"
params:
- name: "index"
type: "string"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "quotavolumetatol"
type: "string"
optional: "false"
filter: ""
display: "Quota Volume Tatol"
comment: ""
- name: "quotavolumeul"
type: "string"
optional: "false"
filter: ""
display: "Quota Volume UL"
comment: ""
- name: "quotavolumedl"
type: "string"
optional: "false"
filter: ""
display: "Quota Volume DL"
comment: ""
- name: "quotatime"
type: "string"
optional: "false"
filter: ""
display: "Quota Time"
comment: ""
- operation: "set"
object: "dpi"
display: "Set DPI"
params:
- name: "flag"
type: "enum"
optional: "false"
filter: '{"0":"disable", "1":"enable"}'
display: "Flag"
comment: ""
- name: "max"
type: "string"
optional: "false"
filter: ""
display: "Max Detect Packet Number"
comment: ""
- operation: "exec"
object: "shell"
display: "Execute Shell Command"
params:
- name: "cmd"
type: "string"
optional: "false"
filter: ""
display: "CMD"
comment: ""
- operation: "reload"
object: ""
display: "Reload Config"
params:
-121
View File
@@ -1,121 +0,0 @@
udm:
systemManagement:
display: "System Management"
mml:
- operation: "set"
object: "n8ip"
display: "Set N8 IP Address"
params:
- name: "ip"
type: "ipv4"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n8port"
display: "Set N8 Port"
params:
- name: "port"
type: "int"
optional: "false"
filter: "1~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n8scheme"
display: "Set N8 Scheme"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- operation: "set"
object: "n10ip"
display: "Set N10 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n10port"
display: "Set N10 Port"
params:
- name: "port"
type: "int"
optional: "false"
filter: "1~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n10scheme"
display: "Set N10 Scheme"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- operation: "exec"
object: "shell"
display: "Execute Shell Command"
params:
- name: "cmd"
type: "string"
optional: "false"
filter: ""
display: "CMD"
comment: ""
ausfManagement:
display: "AUSF Management"
mml:
- operation: "set"
object: "n12ip"
display: "Set N12 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n12port"
display: "Set N12 Port"
params:
- name: "port"
type: "int"
optional: "false"
filter: "1~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n12scheme"
display: "Set N12 Scheme"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- operation: "set"
object: "supirange"
display: "Set SUPI Range"
params:
- name: "supirange"
type: "string"
optional: "false"
filter: ""
display: "SUPI Range"
comment: ""
- operation: "reload"
object: ""
display: "Reload Config"
params:
-242
View File
@@ -1,242 +0,0 @@
upf:
systemManagement:
display: "System Management"
mml:
- operation: "set"
object: "n3 driver"
display: "Set N3 Driver"
params:
- name: "type"
type: "int"
optional: "false"
filter: ""
display: "Type"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP address"
comment: ""
- name: "mask"
type: "string"
optional: "false"
filter: ""
display: "Mask"
comment: ""
- name: "mac"
type: "string"
optional: "false"
filter: ""
display: "Mac address"
comment: ""
- name: "pci"
type: "string"
optional: "false"
filter: ""
display: "PCI address"
comment: ""
- operation: "set"
object: "n4 ip"
display: "Set N4 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n6 driver"
display: "Set N6 Driver"
params:
- name: "type"
type: "int"
optional: "false"
filter: ""
display: "Type"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP address"
comment: ""
- name: "mask"
type: "string"
optional: "false"
filter: ""
display: "Mask"
comment: ""
- name: "mac"
type: "string"
optional: "false"
filter: ""
display: "Mac address"
comment: ""
- name: "pci"
type: "string"
optional: "false"
filter: ""
display: "PCI address"
comment: ""
- operation: "set"
object: "n9 driver"
display: "Set N9 Driver"
params:
- name: "type"
type: "int"
optional: "false"
filter: ""
display: "Type"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP address"
comment: ""
- name: "mask"
type: "string"
optional: "false"
filter: ""
display: "Mask"
comment: ""
- name: "mac"
type: "string"
optional: "false"
filter: ""
display: "Mac address"
comment: ""
- name: "pci"
type: "string"
optional: "false"
filter: ""
display: "PCI address"
comment: ""
- operation: "set"
object: "dnn"
display: "Set DNN"
params:
- name: "dnn"
type: "string"
optional: "false"
filter: ""
display: "DNN"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "pfcp"
display: "Set PFCP"
params:
- name: "path"
type: "string"
optional: "false"
filter: ""
display: "Path"
comment: ""
- name: "local"
type: "string"
optional: "false"
filter: ""
display: "Local IP Address"
comment: ""
- name: "remote"
type: "string"
optional: "false"
filter: ""
display: "Remote IP Address"
comment: ""
- operation: "set"
object: "qos"
display: "Set Qos"
params:
- name: "index"
type: "string"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "5qi"
type: "string"
optional: "false"
filter: ""
display: "5qi"
comment: ""
- name: "priority"
type: "int"
optional: "false"
filter: ""
display: "Priority Level"
comment: ""
- name: "mbr"
type: "string"
optional: "false"
filter: ""
display: "MBR"
comment: ""
- name: "gbr"
type: "string"
optional: "false"
filter: ""
display: "GBR"
comment: ""
- operation: "set"
object: "pccrule"
display: "Set PCC Rule"
params:
- name: "index"
type: "int"
optional: "false"
filter: "0~65535"
display: "Index"
comment: ""
- name: "precedence"
type: "int"
optional: "false"
filter: ""
display: "Precedence"
comment: ""
- name: "qosindex"
type: "int"
optional: "false"
filter: ""
display: "QOS Index"
comment: ""
- name: "direction"
type: "int"
optional: "true"
filter: '{"0":"NA", "1":"Uplink", "2":"Downlink", "3":"Bidirectionallink"}'
display: "Filter Direction"
comment: ""
- name: "filter"
type: "string"
optional: "true"
filter: ""
display: "Filter"
comment: ""
- name: "appid"
type: "string"
optional: "true"
filter: ""
display: "Application ID"
comment: ""
- operation: "exec"
object: "shell"
display: "Execute Shell Command"
params:
- name: "cmd"
type: "string"
optional: "false"
filter: ""
display: "CMD"
comment: ""
- operation: "reload"
object: ""
display: "Reload Config"
params:
-981
View File
@@ -1,981 +0,0 @@
"ne_info":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Network element information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 16
},
{
"name": "rm_uid",
"display": "Resource management UID",
"length": 28
},
{
"name": "ne_name",
"display": "NE name",
"length": 28
},
{
"name": "pv_flag",
"display": "PV flag",
"length": 10
},
{
"name": "ip",
"display": "IP address",
"length": 32
},
{
"name": "port",
"display": "Port",
"length": 6
},
{
"name": "status",
"display": "Status",
"length": 10,
"alias": [
"online",
"offline",
"standby",
"maintain"
]
}
],
"end": "(Number of results = %d)\n\n"
}
"me_map":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Managed Element Map",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "rm_uid",
"display": "Resource management UID",
"length": 28
},
{
"name": "ne_name",
"display": "NE name",
"length": 28
}
],
"end": "(Number of results = %d)\n\n"
}
{
"retFmt": "DeleteDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"cols": [
{
"name": "affectedRows",
"display": "Affected rows",
"length": 11
}
]
}
{
"bodyFmt": "PostDB",
"bodyKey": "ne_info"
}
{
"bodyFmt": "PutDB",
"bodyKey": "measure_task",
"cols": [
{
"name": "status",
"alias": "status",
"type": "int",
"length": 11,
"value": "Active"
}
]
}
{
"bodyFmt": "PutDB",
"bodyKey": "measure_task",
"cols": [
{
"name": "status",
"alias": "status",
"type": "string",
"length": 11,
"value": "Active"
}
]
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_version",
"cols": [
{
"name": "status",
"alias": "status",
"type": "string",
"length": 8,
"value": "Active"
}
]
}
{
"retFmt": "PostDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"cols": [
{
"name": "affectedRows",
"display": "Affected rows",
"length": 11
}
]
}
{
"retFmt": "PutDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"cols": [
{
"name": "affectedRows",
"display": "Affected rows",
"length": 11
}
]
}
"alarm":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Alarm Information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE UID",
"length": 28
},
{
"name": "ne_name",
"display": "NE name",
"length": 28
},
{
"name": "alarm_seq",
"display": "Alarm sequence",
"length": 11
},
{
"name": "alarm_title",
"display": "Alarm title",
"length": 30
},
{
"name": "orig_severity",
"display": "Original severity",
"length": 11,
"alias": [
"Critical",
"Major",
"Minor",
"Warning",
"Event"
]
},
{
"name": "pv_flag",
"display": "PV flag",
"length": 10
},
{
"name": "event_time",
"display": "Event time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"measure_task":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Alarm Information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "id",
"display": "Task ID",
"length": 11
},
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_ids",
"display": "NE ID Set",
"length": 28
},
{
"name": "granul_option",
"display": "Time granulity",
"length": 5
},
{
"name": "kpi_set",
"display": "KPI set",
"length": 60
},
{
"name": "start_time",
"display": "Start time",
"length": 20
},
{
"name": "end_time",
"display": "End time",
"length": 20
},
{
"name": "status",
"display": "Status",
"length": 8
}
],
"end": "(Number of results = %d)\n\n"
}
"measure_data":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Performance Measure Data",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "task_id",
"display": "Task ID",
"length": 11
},
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "rm_uid",
"display": "Resource management UID",
"length": 28
},
{
"name": "ne_name",
"display": "NE name",
"length": 28
},
{
"name": "granul_option",
"display": "Time granulity",
"length": 5
},
{
"name": "kpi_id",
"display": "KPI ID",
"length": 32
},
{
"name": "start_time",
"display": "Start time",
"length": 20
},
{
"name": "end_time",
"display": "End time",
"length": 20
},
{
"name": "value",
"display": "value",
"length": 11
}
],
"end": "(Number of results = %d)\n\n"
}
"operation_log":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Operation Log",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "account_name",
"display": "Account ID",
"length": 10
},
{
"name": "op_ip",
"display": "Source IP address",
"length": 20
},
{
"name": "op_type",
"display": "Opration type",
"length": 12
},
{
"name": "op_content",
"display": "Operation content",
"length": 50
},
{
"name": "op_result",
"display": "Operation result",
"length": 20
},
{
"name": "log_time",
"display": "Log time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"security_log": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Security Log",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "account_name",
"display": "Account ID",
"length": 10
},
{
"name": "op_ip",
"display": "Source IP address",
"length": 20
},
{
"name": "op_type",
"display": "Opration type",
"length": 12
},
{
"name": "op_content",
"display": "Operation content",
"length": 50
},
{
"name": "op_result",
"display": "Operation result",
"length": 20
},
{
"name": "op_time",
"display": "Operation log time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"alarm_log":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Alarm Log",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 8
},
{
"name": "ne_id",
"display": "NE UID",
"length": 28
},
{
"name": "alarm_seq",
"display": "Alarm sequence",
"length": 12
},
{
"name": "alarm_id",
"display": "Alarm ID",
"length": 20
},
{
"name": "event_time",
"display": "Alarm event time",
"length": 20
},
{
"name": "log_time",
"display": "Log time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"sysInfo": {
"retFmt": "GetNF",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "NE System Information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "neType",
"display": "NE type",
"length": 10
},
{
"name": "neId",
"display": "NE ID",
"length": 28
},
{
"name": "hostName",
"display": "Host name",
"length": 16
},
{
"name": "osInfo",
"display": "OS information",
"length": 128
},
{
"name": "dbInfo",
"display": "Database information",
"length": 80
},
{
"name": "version",
"display": "Software version",
"length": 12
},
{
"name": "ipAddr",
"display": "IP address",
"length": 20
},
{
"name": "port",
"display": "Port",
"length": 6
},
{
"name": "cpus",
"display": "CPUs",
"length": 4
},
{
"name": "totalMem",
"display": "Total memory(KB)",
"length": 11
}
],
"end": "(Number of results = %d)\n\n"
}
"licenseInfo":{
"retFmt": "GetNF",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "NE License Information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "neType",
"display": "NE type",
"length": 10
},
{
"name": "neId",
"display": "NE ID",
"length": 20
},
{
"name": "serialNum",
"display": "Serial No",
"length": 12
},
{
"name": "capability",
"display": "License capability",
"length": 11
},
{
"name": "capUsed",
"display": "License used",
"length": 11
},
{
"name": "featureEnabled",
"display": "Feature enabled",
"length": 28
},
{
"name": "expiryDate",
"display": "License expiry date",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"system_log": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "System Log",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "process_type",
"display": "Process type",
"length": 10
},
{
"name": "process_name",
"display": "Process name",
"length": 28
},
{
"name": "user_name",
"display": "User name",
"length": 12
},
{
"name": "process_id",
"display": "Process ID",
"length": 12
},
{
"name": "event",
"display": "Event",
"length": 20
},
{
"name": "start_time",
"display": "Start time",
"length": 20
},
{
"name": "end_time",
"display": "End time",
"length": 20
},
{
"name": "log_time",
"display": "Log time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"event_log": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Event Log",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 28
},
{
"name": "event",
"display": "Event",
"length": 12
},
{
"name": "event_time",
"display": "Event time",
"length": 20
},
{
"name": "log_time",
"display": "Log time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"mml_command": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "OMC MML Command List",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "operation",
"display": "Operation",
"length": 10
},
{
"name": "object",
"display": "Object",
"length": 28
},
{
"name": "mml_display",
"display": "MML description",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"mml_cmd": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "OMC MML Command Help List",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "operation",
"display": "Operation",
"length": 10
},
{
"name": "object",
"display": "Object",
"length": 28
},
{
"name": "params",
"display": "Parameter list",
"length": 128
}
],
"end": "(Number of results = %d)\n\n"
}
"ne_license": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "NE License Information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 20
},
{
"name": "serial_no",
"display": "Serial no",
"length": 12
},
{
"name": "capcity",
"display": "License capcity",
"length": 11
},
{
"name": "used",
"display": "License used",
"length": 11
},
{
"name": "feature_enabled",
"display": "Feature enabled",
"length": 30
},
{
"name": "expiration_date",
"display": "License expiration date",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"ne_link": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Network Element Link",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 28
},
{
"name": "interface",
"display": "Interface",
"length": 20
},
{
"name": "status",
"display": "Status",
"length": 20
},
{
"name": "created_at",
"display": "Timestamp",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"northbound_cm": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "NBI Resource Management",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 20
},
{
"name": "rm_uid",
"display": "RM UID",
"length": 20
},
{
"name": "user_label",
"display": "User label",
"length": 20
},
{
"name": "object_type",
"display": "Object type",
"length": 20
},
{
"name": "pv_flag",
"display": "PV flag",
"length": 8
},
{
"name": "value_json",
"display": "NBI resource management",
"length": 200
}
],
"end": "(Number of results = %d)\n\n"
}
"param_config": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "NE Config Parameters",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 28
},
{
"name": "top_tag",
"display": "Parameters tag",
"length": 128
},
{
"name": "param_name",
"display": "Parameter name list",
"length": 256
},
{
"name": "param_value",
"display": "Parameter value list",
"length": 256
}
],
"end": "(Number of results = %d)\n\n"
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_license",
"callFunc": "DeploymentLicense"
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_license",
"callFunc": "AdjustmentLicense"
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_license",
"callFunc": "InstallLicense"
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_license",
"cols": [
{
"name": "updated_at",
"alias": "updated_at",
"type": "string",
"length": 20,
"value": "2023-08-17 23:38:53"
}
]
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_license"
}
{
"bodyFmt": "PutDB",
"bodyKey": "shell",
"callFunc": "RunShellCommand"
}
-310
View File
@@ -1,310 +0,0 @@
amf:
system:
display: "System Config"
list:
- name: "amfName"
type: "string"
value: "AMF"
access: "read-write"
filter: '0~64'
display: "AMF Name"
comment: ""
- name: "relativeCapacity"
type: "int"
value: "255"
access: "read-write"
filter: "0~255"
display: "Relative Capacity"
comment: ""
- name: "sbiScheme"
type: "enum"
value: "0"
access: "read-write"
filter: '{"0":"http","1":"https"}'
display: "SBI Scheme"
comment: ""
- name: "sbiServerIp"
type: "string"
value: "192.168.1.183"
access: "read-write"
filter: '0~64'
display: "SBI Server IP"
comment: ""
- name: "sbiServerPort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "SBI Server Port"
comment: "0~65535"
- name: "nrfEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "NRF Enabled"
comment: ""
- name: "nrfUri"
type: "string"
value: "http://172.16.5.180:8080"
access: "read-write"
filter: '0~64'
display: "NRF URI"
comment: ""
- name: "ausfUri"
type: "string"
value: "http://172.16.5.130:8080"
access: "read-write"
filter: '0~64'
display: "AUSF URI"
comment: ""
- name: "udmUri"
type: "string"
value: "http://172.16.5.140:8080"
access: "read-write"
filter: '0~64'
display: "UDM URI"
comment: ""
- name: "smfUri"
type: "string"
value: "http://172.16.5.150:8080"
access: "read-write"
filter: '0~64'
display: "SMF URI"
comment: ""
- name: "pcfUri"
type: "string"
value: "http://172.16.5.160:8080"
access: "read-write"
filter: '0~64'
display: "PCF URI"
comment: ""
- name: "lmfUri"
type: "string"
value: "http://172.16.5.200:8080"
access: "read-write"
filter: '0~64'
display: "LMF URI"
comment: ""
- name: "nefUri"
type: "string"
value: "http://172.16.5.210:8080"
access: "read-write"
filter: '0~64'
display: "NEF URI"
comment: ""
- name: "dnnCorrectionEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "DNN Correction Enabled"
comment: ""
- name: "defaultDnn"
type: "string"
value: "cmnet"
access: "read-write"
filter: '0~64'
display: "Default DNN"
comment: ""
- name: "integrityAlgorithm"
type: "enum"
value: "2"
access: "read-write"
filter: '{"0":"NIA0","1":"NIA1","2":"NIA2","3":"NIA3"}'
display: "Integrity Algorithm"
comment: ""
- name: "cipheringAlgorithm"
type: "enum"
value: "0"
access: "read-write"
filter: '{"0":"NEA0","1":"NEA1","2":"NEA2","3":"NEA3"}'
display: "Ciphering Algorithm"
comment: ""
- name: "t3502"
type: "int"
value: "720"
access: "read-write"
filter: ""
display: "T3502"
comment: ""
- name: "t3512"
type: "int"
value: "3600"
access: "read-write"
filter: ""
display: "T3512"
comment: ""
- name: "t3513"
type: "int"
value: "2"
access: "read-write"
filter: ""
display: "T3513"
comment: ""
- name: "t3522"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3522"
comment: ""
- name: "t3550"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3550"
comment: ""
- name: "t3555"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3555"
comment: ""
- name: "t3560"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3560"
comment: ""
- name: "t3565"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3565"
comment: ""
- name: "t3570"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3570"
comment: ""
association:
display: "TNL Association"
array:
- name: "index"
type: "int"
value: "0"
access: "read-write"
filter: '0~15'
display: "Index"
comment: "0~15"
- name: "ngapIp"
type: "string"
value: "192.168.1.183"
access: "read-write"
filter: '0~64'
display: "NGAP IP"
comment: ""
- name: "ngapSctpPort"
type: "int"
value: "38412"
access: "read-write"
filter: "0~65535"
display: "NGAP SCTP Port"
comment: "0~65535"
- name: "weightFactor"
type: "int"
value: "255"
access: "read-write"
filter: "0~255"
display: "Weight"
comment: ""
guami:
display: "Guami List"
array:
- name: "index"
type: "int"
value: "0"
access: "read-write"
filter: '0~15'
display: "Index"
comment: "0~15"
- name: "plmnId"
type: "regex"
value: '46000'
access: "read-write"
filter: '^[0-9]{5,6}$'
display: "Plmn Id"
comment: ""
- name: "regionId"
type: "int"
value: '1'
access: "read-write"
filter: '0~256'
display: "Region ID"
comment: "0~256"
- name: "setId"
type: "int"
value: '1'
access: "read-write"
filter: '0~1023'
display: "Set ID"
comment: ""
- name: "pointer"
type: "int"
value: '1'
access: "read-write"
filter: '0~63'
display: "Pointer"
comment: ""
tai:
display: "TAI List"
array:
- name: "index"
type: "int"
value: "0"
access: "read-write"
filter: '0~15'
display: "Index"
comment: "0~15"
- name: "plmnId"
type: "regex"
value: '46000'
access: "read-write"
filter: '^[0-9]{5,6}$'
display: "Plmn Id"
comment: ""
- name: "tac"
type: "string"
value: "1"
access: "read-write"
filter: '0~8'
display: "TAC"
comment: "0~8"
slice:
display: "Slice List"
array:
- name: "index"
type: "int"
value: "0"
access: "read-write"
filter: '0~15'
display: "Index"
comment: "0~15"
- name: "plmnId"
type: "regex"
value: '46000'
access: "read-write"
filter: '^[0-9]{5,6}$'
display: "Plmn Id"
comment: ""
- name: "sst"
type: "int"
value: '1'
access: "read-write"
filter: '0~127'
display: "Sst"
comment: ""
- name: "sd"
type: "regex"
value: '000001'
access: "read-write"
filter: ''
display: "Sd"
comment: ""
-46
View File
@@ -1,46 +0,0 @@
ausf:
system:
display: "System"
list:
- name: "serviceIP"
type: "ipv4"
value: "172.16.5.130"
access: "read-write"
filter: ''
display: "Service IP"
comment: ""
- name: "servicePort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "Service Port"
comment: "0~65535"
- name: "scheme"
type: "enum"
value: "http"
access: "read-write"
filter: "{\"0\":\"http\", \"1\":\"https\"}"
display: "scheme"
comment: ""
- name: "nrfUri"
type: "string"
value: "http://172.16.5.180:8080"
access: "read-write"
filter: ''
display: "NRF URI"
comment: ""
- name: "udmUri"
type: "string"
value: "http://172.16.5.140:8080"
access: "read-write"
filter: ''
display: "UDM URI"
comment: ""
- name: "groupId"
type: "string"
value: "0"
access: "read-write"
filter: ''
display: "Group Id"
comment: "0~31"
-114
View File
@@ -1,114 +0,0 @@
ims:
system:
display: "System"
list:
- name: "label"
type: "string"
value: "ims-core"
access: "read-write"
filter: ''
display: "label"
comment: ""
- name: "hplmnMCC"
type: "string"
value: "460"
access: "read-write"
filter: ''
display: "HPLMN MCC"
comment: ""
- name: "hplmnMNC"
type: "string"
value: "00"
access: "read-write"
filter: ''
display: "HPLMN MNC"
comment: ""
- name: "serviceIP"
type: "ipv4"
value: "172.16.5.110"
access: "read-write"
filter: ''
display: "Service IP"
comment: ""
- name: "serviceIPv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ''
display: "Service IPv6"
comment: ""
- name: "domainName1"
type: "string"
value: "ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: ''
display: "Domain Name 1"
comment: ""
- name: "domainName2"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Domain Name 2"
comment: ""
- name: "domainName3"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Domain Name 3"
comment: ""
- name: "domainName4"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Domain Name 4"
comment: ""
- name: "multiDomainInd"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "MultiDomain Indicator"
comment: ""
- name: "transcodeInd"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Transcode Indicator"
comment: ""
- name: "multiIPStackInd"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "MultiIPStack Indicator"
comment: ""
- name: "registerTimer"
type: "int"
value: "7200"
access: "read-only"
filter: '120-1000000'
display: "Register Timer"
comment: "1~8"
- name: "dispatchSystemInd"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Dispatch System Indicator"
comment: ""
- name: "dispatchSystemIP"
type: "ipv4"
value: ""
access: "read-write"
filter: ''
display: "Dispatch System IP"
comment: ""
-64
View File
@@ -1,64 +0,0 @@
nrf:
system:
display: "System"
list:
- name: "serviceIP"
type: "ipv4"
value: "172.16.5.180"
access: "read-write"
filter: ''
display: "Service IP"
comment: ""
- name: "servicePort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "Service Port"
comment: "0~65535"
- name: "scheme"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"http\", \"1\":\"https\"}"
display: "scheme"
comment: ""
registeredNFs:
display: "Registered NFs"
method: "get"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~256'
display: "Index"
comment: "1~256"
- name: "nfType"
type: "string"
value: ''
access: "read-only"
filter: '^.{1,128}$'
display: "NF Type"
comment: "1~128"
- name: "status"
type: "string"
value: ''
access: "read-only"
filter: '^.{1,128}$'
display: "Status"
comment: "1~128"
- name: "nfId"
type: "string"
value: ''
access: "read-only"
filter: '^.{1,128}$'
display: "NF Id"
comment: "1~128"
- name: "ipAddress"
type: "string"
value: ''
access: "read-only"
filter: '^.{1,128}$'
display: "IP Address"
comment: "1~128"
-366
View File
@@ -1,366 +0,0 @@
nssf:
General:
display: "General"
list:
- name: "NssfName"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "NSSF Name"
comment: ""
- name: "NrfUri"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Nrf Uri"
comment: ""
- name: "LogLevel"
type: "string"
value: "error"
access: "read-write"
filter: ''
display: "Log Level"
comment: ""
- name: "NFId"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "NF Id"
comment: ""
- name: "SystemID"
type: "int"
value: "0"
access: "read-write"
filter: ''
display: "System ID"
comment: ""
Omc:
display: "Omc"
list:
- name: "Enabled"
type: "bool"
value: "false"
access: "read-write"
filter: ''
display: "Enabled"
comment: ""
- name: "IpType"
type: "string"
value: "ipv4"
access: "read-write"
filter: ''
display: "Ip Type"
comment: "ipv4|ipv6|ipv46"
- name: "LocalIpv4"
type: "string"
value: "0.0.0.0"
access: "read-write"
filter: ''
display: "Local Ipv4"
comment: ""
- name: "LocalIpv6"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Local Ipv6"
comment: ""
- name: "LocalSeverPort"
type: "int"
value: "3030"
access: "read-write"
filter: '0~65535'
display: "Local Sever Port"
comment: "0~65535"
- name: "OmcIpv4"
type: "string"
value: "0.0.0.0"
access: "read-write"
filter: ''
display: "OMC Ipv4"
comment: ""
- name: "OmcIpv6"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "OMC Ipv6"
comment: ""
- name: "OmcPort"
type: "int"
value: "3030"
access: "read-write"
filter: '0~65535'
display: "OMC Port"
comment: "0~65535"
- name: "HttpScheme"
type: "string"
value: "http"
access: "read-write"
filter: ''
display: "Http Scheme"
comment: "http|https"
- name: "KpiStatisticInterval"
type: "int"
value: "1"
access: "read-write"
filter: '0~255'
display: "Kpi Statistic Interval"
comment: "0~255"
- name: "NeId"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Ne Id"
comment: ""
- name: "NeName"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Ne Name"
comment: ""
- name: "ObjectName"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Object Name"
comment: ""
- name: "Province"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Province"
comment: ""
- name: "PVFlag"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "PV Flag"
comment: ""
Sbi:
display: "Sbi"
list:
- name: "Scheme"
type: "string"
value: "http"
access: "read-write"
filter: ''
display: "Scheme"
comment: ""
- name: "RegisterIPv4"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Register IPv4"
comment: "Register IPv4"
- name: "BindingIPv4"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Binding IPv4"
comment: "Binding IPv4"
- name: "Register IPv6"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Register IPv6"
comment: "Register IPv6"
- name: "BindingIPv6"
type: "string"
value: ""
access: "read-write"
filter: '0~65535'
display: "Binding IPv6"
comment: "Binding IPv6"
- name: "IPType"
type: "string"
value: "ipv4"
access: "read-write"
filter: ''
display: "IP Type"
comment: "IP Type"
- name: "Port"
type: "int"
value: "8080"
access: "read-write"
filter: ''
display: "Port"
comment: "Port"
- name: "TelnetIPv4"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Telnet IPv4"
comment: "Telnet IPv4"
- name: "TelnetIPv6"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Telnet IPv6"
comment: "Telnet IPv6"
- name: "TelnetPort"
type: "int"
value: "4100"
access: "read-write"
filter: ''
display: "Telnet Port"
comment: "Telnet Port"
SupportedNetworkSliceList:
display: "Supported Network Slice List"
array:
- name: "Index"
type: "int"
value: "1"
access: "read-only"
filter: '1~32'
display: "Index"
comment: "1~32"
- name: "Mcc"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Mcc"
comment: "Mcc"
- name: "Mnc"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Mnc"
comment: "Mnc"
- name: "Tac"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Tac"
comment: "Tac"
- name: "SupportedSst"
type: "int"
value: ""
access: "read-only"
filter: ''
display: "Supported Sst"
comment: "Supported Sst"
- name: "SupportedSd"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Supported Sd"
comment: "Supported Sd"
- name: "RestrictedSst"
type: "int"
value: ""
access: "read-only"
filter: ''
display: "Restricted Sst"
comment: "Restricted Sst"
- name: "RestrictedSd"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Restricted Sd"
comment: "Restricted Sd"
- name: "NrfId"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Nrf Id"
comment: "Nrf Id"
- name: "Nsi Id"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Nsi Id"
comment: "Nsi Id"
- name: "Access Type"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Access Type"
comment: "Access Type"
- name: "AmfSetId"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Amf Set Id"
comment: "Amf Set Id"
PlmnMappingList:
display: "Plmn Mapping List"
array:
- name: "Index"
type: "int"
value: "1"
access: "read-only"
filter: '1~32'
display: "Index"
comment: "1~32"
- name: "OperatorName"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Operator Name"
comment: "Operator Name"
- name: "Mcc"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Mcc"
comment: "Mcc"
- name: "Mnc"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Mnc"
comment: "Mnc"
- name: "ServingSnssaiSst"
type: "int"
value: "1"
access: "read-only"
filter: ''
display: "Serving Snssai Sst"
comment: "Serving Snssai Sst"
- name: "ServingSnssaiSd"
type: "string"
value: "1"
access: "read-write"
filter: ''
display: "Serving Snssai Sd"
comment: "Serving Snssai Sd"
- name: "HomeSnssaiSst"
type: "int"
value: "1"
access: "read-only"
filter: ''
display: "Home Snssai Sst"
comment: "Home Snssai Sst"
- name: "HomeSnssaiSd"
type: "string"
value: "1"
access: "read-write"
filter: ''
display: "Home Snssai Sd"
comment: "Home Snssai Sd"
-594
View File
@@ -1,594 +0,0 @@
pcf:
system:
display: "System"
list:
- name: "serviceIP"
type: "ipv4"
value: "172.16.5.160"
access: "read-write"
filter: ''
display: "Service IP"
comment: ""
- name: "servicePort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "Service Port"
comment: "0~65535"
- name: "scheme"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"http\", \"1\":\"https\"}"
display: "scheme"
comment: ""
- name: "nrfUri"
type: "string"
value: "http://172.16.5.180:8080"
access: "read-write"
filter: ''
display: "NRF URI"
comment: ""
serviceAreaRestriction:
display: "Service Area Restriction"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_ambr'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "restrictionType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"Allowed Areas\", \"1\":\"Not Allowed Areas\"}"
display: "Restriction Type"
comment: ""
- name: "tacs"
type: "string"
value: '123'
access: "read-write"
filter: ''
display: "TACs"
comment: "0~128"
- name: "areaCodes"
type: "string"
value: '123456'
access: "read-write"
filter: ''
display: "AreaCodes"
comment: "0~128"
- name: "maxTAs"
type: "int"
value: "1"
access: "read-write"
filter: '^\d{1,2}$'
display: "Max TAs"
comment: "0~32"
pccRules:
display: "PCC Rules"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~64'
display: "Index"
comment: "1~64"
- name: "ruleId"
type: "string"
value: 'internet'
access: "read-write"
filter: '^.{1,63}$'
display: "Rule Id"
comment: "0~63"
- name: "activate"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "Activate"
comment: ""
- name: "precedence"
type: "int"
value: "80"
access: "read-write"
filter: '0~255'
display: "Precedence"
comment: "0~255"
- name: "flowUsage"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"General\", \"1\":\"IMS-Signalling\"}"
display: "Flow Usage"
comment: ""
- name: "appId"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "App Id"
comment: "0~63"
- name: "flowTemplate"
type: "string"
value: 'flow_any'
access: "read-write"
filter: '^.{1,255}$'
display: "Flow Template"
comment: "0~255"
- name: "qosId"
type: "string"
value: 'qos_cmnet'
access: "read-write"
filter: '^.{1,63}$'
display: "Qos Id"
comment: "0~63"
- name: "trafficControlId"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Traffic Control Id"
comment: "0~63"
- name: "usageMonitoringId"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Usage Monitoring Id"
comment: "0~63"
sessionRules:
display: "Session Rules"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~64'
display: "Index"
comment: "1~64"
- name: "ruleId"
type: "string"
value: 'internet'
access: "read-write"
filter: '^.{1,63}$'
display: "Rule Id"
comment: "0~63"
- name: "activate"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "Activate"
comment: ""
- name: "fiveQI"
type: "int"
value: "9"
access: "read-write"
filter: '0~255'
display: "5QI"
comment: "0~255"
- name: "fiveQIPriorityLevel"
type: "int"
value: "80"
access: "read-write"
filter: '0~127'
display: "5QI Priority Level"
comment: "0~127"
- name: "flowUsage"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"General\", \"1\":\"IMS-Signalling\"}"
display: "Flow Usage"
comment: ""
- name: "usageMonitoringId"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Usage Monitoring Id"
comment: "0~63"
- name: "ambrDl"
type: "string"
value: '200Mbps'
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Ambr Dl"
comment: "0~31"
- name: "ambrUl"
type: "string"
value: '100Mbps'
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Ambr Ul"
comment: "0~31"
- name: "averagingWindow"
type: "int"
value: "0"
access: "read-write"
filter: '0~4095'
display: "Packet Delay Budget"
comment: "0~4095"
- name: "maxDataBurstVolume"
type: "int"
value: "0"
access: "read-write"
filter: '0~4095'
display: "Max Data Burst Volume"
comment: "0~4095"
- name: "arpPriorityLevel"
type: "int"
value: "1"
access: "read-write"
filter: '1~15'
display: "ARP Priority Level"
comment: "1~15"
- name: "arpPreemptCap"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preempt\",\"1\":\"May Preempt\"}"
display: "ARP PreemptCap"
comment: ""
- name: "arpPreemptVuln"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preemptable\",\"1\":\"Preemptable\"}"
display: "ARP PreemptVuln"
comment: ""
- name: "maxbrDl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Max Bitrate Dl"
comment: "0~31"
- name: "maxbrUl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Max Bitrate Ul"
comment: "0~31"
- name: "gbrDl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Gbr Dl"
comment: "0~31"
- name: "gbrUl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Gbr Ul"
comment: "0~31"
gxServer:
display: "Gx Server"
list:
- name: "enable"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "enable"
comment: ""
- name: "netType"
type: "enum"
value: '1'
access: "read-write"
filter: "{\"0\":\"tcp\",\"1\":\"sctp\"}"
display: "Link Type"
comment: ""
- name: "addr"
type: "string"
value: "172.16.5.140:3868"
access: "read-write"
filter: ''
display: "address"
comment: ""
- name: "host"
type: "string"
value: "hss.ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{0,127}$'
display: "host"
comment: "0~127"
- name: "realm"
type: "string"
value: "ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{0,127}$'
display: "realm"
comment: "0~127"
rxServer:
display: "Rx Server"
list:
- name: "enable"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "enable"
comment: ""
- name: "netType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"tcp\",\"1\":\"sctp\"}"
display: "Link Type"
comment: ""
- name: "addr"
type: "string"
value: "172.16.5.140:3868"
access: "read-write"
filter: ''
display: "address"
comment: ""
- name: "host"
type: "string"
value: "hss.ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{0,127}$'
display: "host"
comment: "0~127"
- name: "realm"
type: "string"
value: "ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{0,127}$'
display: "realm"
comment: "0~127"
flowTemplate:
display: "Flow Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~256'
display: "Index"
comment: "1~256"
- name: "templateName"
type: "string"
value: 'flow_any'
access: "read-write"
filter: '^.{1,63}$'
display: "Template Name"
comment: "0~63"
- name: "flowDescription"
type: "string"
value: 'permit out ip from any to assigned'
access: "read-write"
filter: '^.{1,127}$'
display: "Flow Description"
comment: "0~127"
- name: "flowDirection"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"unspecified\", \"1\":\"uplink\", \"2\":\"downlink\", \"3\":\"bidirectional\"}"
display: "Flow Direction"
comment: ""
qosTemplate:
display: "Qos Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~64'
display: "Index"
comment: "1~64"
- name: "qosId"
type: "string"
value: 'qos_cmnet'
access: "read-write"
filter: '^.{1,63}$'
display: "Qos Id"
comment: "0~63"
- name: "fiveQI"
type: "int"
value: "9"
access: "read-write"
filter: '0~255'
display: "5QI"
comment: "0~255"
- name: "fiveQIPriorityLevel"
type: "int"
value: "80"
access: "read-write"
filter: '0~127'
display: "5QI Priority Level"
comment: "0~127"
- name: "maxbrDl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Max Bitrate Dl"
comment: "0~31"
- name: "maxbrUl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Max Bitrate Ul"
comment: "0~31"
- name: "gbrDl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Gbr Dl"
comment: "0~31"
- name: "gbrUl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Gbr Ul"
comment: "0~31"
- name: "arpPriorityLevel"
type: "int"
value: "1"
access: "read-write"
filter: '1~15'
display: "ARP Priority Level"
comment: "1~15"
- name: "arpPreemptCap"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preempt\",\"1\":\"May Preempt\"}"
display: "ARP PreemptCap"
comment: ""
- name: "arpPreemptVuln"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preemptable\",\"1\":\"Preemptable\"}"
display: "ARP PreemptVuln"
comment: ""
- name: "defQosFlowIndication"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Default Qos Flow Indication"
comment: ""
usageMonitoringTemplate:
display: "Usage Monitoring Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~64'
display: "Index"
comment: "1~64"
- name: "umId"
type: "string"
value: 'flow_any'
access: "read-write"
filter: '^.{1,63}$'
display: "Usage Monitoring Id"
comment: "0~63"
- name: "volumeThreshold"
type: "int"
value: '5242880'
access: "read-write"
filter: ''
display: "Volume Threshold(KB)"
comment: ""
- name: "volumeThresholdUplink"
type: "int"
value: '0'
access: "read-write"
filter: ''
display: "Volume Threshold Uplink(KB)"
comment: ""
- name: "volumeThresholdDownlink"
type: "int"
value: '0'
access: "read-write"
filter: ''
display: "Volume Threshold Downlink(KB)"
comment: ""
- name: "timeThreshold"
type: "int"
value: '0'
access: "read-write"
filter: ''
display: "Time Threshold"
comment: ""
- name: "inactivityTime"
type: "int"
value: '0'
access: "read-write"
filter: ''
display: "Inactivity Time"
comment: ""
trafficControlTemplate:
display: "Traffic Control Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~64'
display: "Index"
comment: "1~64"
- name: "tcId"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Traffic Control Id"
comment: "0~63"
- name: "flowStatus"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"disable\", \"1\":\"uplink\", \"2\":\"downlink\", \"3\":\"enable\", \"4\":\"remove\"}"
display: "Flow Status"
comment: ""
- name: "muteNotif"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "Mute Notify"
comment: ""
- name: "dnai"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Route to Location Dnai"
comment: "0~63"
headerEnrichTemplate:
display: "Header Enrich Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "templateName"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Template Name"
comment: "0~63"
- name: "headerType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"gpsi\", \"1\":\"supi\", \"2\":\"ueip\", \"3\":\"userlocation\", \"4\":\"dnn\"}"
display: "Header Type"
comment: ""
- name: "headerName"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Header Name"
comment: "0~63"
-286
View File
@@ -1,286 +0,0 @@
smf:
smfSystem:
display: "SmfSystem"
list:
- name: "sbiIpAddr"
type: "string"
value: "172.16.5.150"
access: "read-write"
filter: ''
display: "SBI IpAddr"
comment: ""
- name: "sbiPort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "SBI Port"
comment: "0~65535"
- name: "sbiScheme"
type: "enum"
value: "http"
access: "read-write"
filter: "{\"0\":\"http\", \"1\":\"https\"}"
display: "SBI Scheme"
comment: ""
- name: "n4Ipv4"
type: "ipv4"
value: "172.16.5.150"
access: "read-write"
filter: ''
display: "N4 IPv4"
comment: ""
- name: "n4Ipv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ''
display: "N4 Ipv6"
comment: "N4 IPv6"
- name: "n4UIpv4"
type: "ipv4"
value: ""
access: "read-write"
filter: ''
display: "N4U IPv4"
comment: ""
- name: "n4UIpv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ''
display: "N4U IPv6"
comment: "N4U IPv6"
- name: "amfUri"
type: "string"
value: "http://172.16.5.120:8080"
access: "read-write"
filter: ''
display: "AMF Uri"
comment: ""
- name: "pcfUri"
type: "string"
value: "http://172.16.5.160:8080"
access: "read-write"
filter: ''
display: "PCF Uri"
comment: ""
- name: "udmUri"
type: "string"
value: "http://172.16.5.140:8080"
access: "read-write"
filter: ''
display: "UDM Uri"
comment: ""
- name: "nrfEnable"
type: "bool"
value: "false"
access: "read-write"
filter: "{\"0\":\"false\", \"1\":\"true\"}"
display: "NRF Enable"
comment: ""
- name: "nrfUri"
type: "string"
value: "http://172.16.5.180:8080"
access: "read-write"
filter: ''
display: "NRF Uri"
comment: ""
- name: "primaryDnsIpv4"
type: "ipv4"
value: "114.114.114.114"
access: "read-write"
filter: ""
display: "Primary Dns Ipv4"
comment: ""
- name: "secondaryDnsIpv4"
type: "ipv4"
value: ""
access: "read-write"
filter: ""
display: "Secondary Dns Ipv4"
comment: ""
- name: "primaryDnsIpv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ""
display: "Primary Dns Ipv6"
comment: ""
- name: "secondaryDnsIpv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ""
display: "Secondary Dns Ipv6"
comment: ""
- name: "primaryPcscfIpv4"
type: "ipv4"
value: "172.16.5.110"
access: "read-write"
filter: ""
display: "Primary Pcscf Ipv4"
comment: ""
- name: "secondaryPcscfIpv4"
type: "ipv4"
value: ""
access: "read-write"
filter: ""
display: "Secondary Pcscf Ipv4"
comment: ""
- name: "primaryPcscfIpv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ""
display: "Primary Pcscf Ipv6"
comment: ""
- name: "secondaryPcscfIpv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ""
display: "Secondary Pcscf Ipv6"
comment: ""
- name: "ueMtu"
type: "int"
value: ""
access: "read-write"
filter: "0~65535"
display: "Ue MTU"
comment: ""
upfConfig:
display: "UpfConfig"
array:
- name: "index"
type: "int"
value: ""
access: "read-write"
filter: '0~65535'
display: "Index"
comment: ""
- name: "id"
type: "string"
value: ""
access: "read-write"
filter: '1~64'
display: "Upf Id"
comment: "upfId-1"
- name: "addr"
type: "string"
value: ""
access: "read-write"
filter: '7~45'
display: "Addr"
comment: "ip:port"
- name: "ipv4Pools"
type: "string"
value: ""
access: "read-write"
filter: '10~256'
display: "Ipv4Pools"
comment: "CIDR format, e.g. 192.168.1.0/24"
- name: "ipv6Pools"
type: "string"
value: ""
access: "read-write"
filter: '5~512'
display: "Ipv6Pools"
comment: "CIDR format, e.g. fe80::20c:29ff:fee4:dab7/50"
- name: "staticIpv4Enable"
type: "bool"
value: ""
access: "read-write"
filter: "{\"0\":\"false\", \"1\":\"true\"}"
display: "StaticIpv4Enable"
comment: ""
- name: "staticIpv4Start"
type: "ipv4"
value: ""
access: "read-write"
filter: ''
display: "StaticIpv4Start"
comment: "ipv4 format"
- name: "staticIpv4End"
type: "ipv4"
value: ""
access: "read-write"
filter: ''
display: "StaticIpv4End"
comment: "ipv4 format"
- name: "staticIpv6Enable"
type: "bool"
value: ""
access: "read-write"
filter: "{\"0\":\"false\", \"1\":\"true\"}"
display: "StaticIpv6Enable"
comment: ""
- name: "staticIpv6Start"
type: "ipv6"
value: ""
access: "read-write"
filter: ''
display: "StaticIpv6Start"
comment: "ipv6 format"
- name: "staticIpv6End"
type: "ipv6"
value: ""
access: "read-write"
filter: ''
display: "StaticIpv6End"
comment: "ipv6 format"
dnnSelectUpf:
display: "DnnSelectUpf"
array:
- name: "index"
type: "int"
value: "0"
access: "read-write"
filter: '0~65535'
display: "Index"
comment: ""
- name: "dnn"
type: "string"
value: ""
access: "read-write"
filter: '1~64'
display: "Dnn"
comment: ""
- name: "upfId"
type: "string"
value: ""
access: "read-write"
filter: '1~64'
display: "Upf Id"
comment: "upf Id"
dnnTaiSelectUpf:
display: "DnnTaiSelectUpf"
array:
- name: "index"
type: "int"
value: ""
access: "read-write"
filter: '0~65535'
display: "Index"
comment: ""
- name: "dnn"
type: "string"
value: ""
access: "read-write"
filter: '1~64'
display: "Dnn"
comment: ""
- name: "tai"
type: "string"
value: ""
access: "read-write"
filter: '1~64'
display: "Tai"
comment: "46000123456"
- name: "upfId"
type: "string"
value: "upf2-Id"
access: "read-write"
filter: '1~64'
display: "Upf Id"
comment: "upf Id"
-755
View File
@@ -1,755 +0,0 @@
udm:
system:
display: "System"
list:
- name: "serviceIP"
type: "ipv4"
value: "172.16.5.140"
access: "read-write"
filter: ''
display: "Service IP"
comment: ""
- name: "servicePort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "Service Port"
comment: "0~65535"
- name: "nrfUri"
type: "string"
value: "http://172.16.5.180:8080"
access: "read-write"
filter: ''
display: "NRF URI"
comment: ""
- name: "ausfIP"
type: "ipv4"
value: "172.16.5.130"
access: "read-write"
filter: ''
display: "AUSF IP"
comment: ""
- name: "fqdn"
type: "string"
value: "agt.com"
access: "read-write"
filter: ''
display: "fqdn"
comment: ""
- name: "priority"
type: "int"
value: "1"
access: "read-write"
filter: "0~4095"
display: "Priority"
comment: "0~4095"
- name: "capacity"
type: "int"
value: "4096"
access: "read-write"
filter: "0~65535"
display: "Capacity"
comment: "0~65535"
- name: "groupId"
type: "string"
value: "0"
access: "read-write"
filter: ''
display: "Group Id"
comment: "0~31"
- name: "supiRanges"
type: "regex"
value: "imsi-001010100080000~imsi-001010100080099"
access: "read-write"
filter: '^imsi-\d{15}~imsi-\d{15}$'
display: "SUPI Ranges"
comment: ""
- name: "gpsiRanges"
type: "regex"
value: "msisdn-69072000~msisdn-69072099"
access: "read-write"
filter: '^msisdn-\d{2,15}~msisdn-\d{2,15}$'
display: "GPSI Ranges"
comment: ""
- name: "scheme"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"http\", \"1\":\"https\"}"
display: "scheme"
comment: ""
subsUEAmbr:
display: "Subs UE AMBR"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_ambr'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "uplink"
type: "string"
value: '1Gbps'
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Uplink"
comment: ""
- name: "downlink"
type: "string"
value: '2Gbps'
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Downlink"
comment: ""
subsNssais:
display: "Subs Nssais"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_nssai'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "supportedFeatures"
type: "string"
value: "1"
access: "read-write"
filter: '8~8'
display: "Supported Features"
comment: "8~8"
- name: "defaultSingleNSSAIs"
type: "string"
value: '1-000001'
access: "read-write"
filter: ''
display: "Default Single NSSAIs"
comment: "0~128"
- name: "singleNssais"
type: "string"
value: '1-000002'
access: "read-write"
filter: ''
display: "Single Nssais"
comment: "0~128"
forbiddenAreas:
display: "Forbidden Areas"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_ambr'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "tacs"
type: "string"
value: '123'
access: "read-write"
filter: ''
display: "TACs"
comment: "0~128"
- name: "areaCodes"
type: "string"
value: '123456'
access: "read-write"
filter: ''
display: "AreaCodes"
comment: "0~128"
serviceAreaRestriction:
display: "Service Area Restriction"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_ambr'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "restrictionType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"Allowed Areas\", \"1\":\"Not Allowed Areas\"}"
display: "Restriction Type"
comment: "0~128"
- name: "tacs"
type: "string"
value: '123'
access: "read-write"
filter: ''
display: "TACs"
comment: "0~128"
- name: "areaCodes"
type: "string"
value: '123456'
access: "read-write"
filter: ''
display: "AreaCodes"
comment: "0~128"
- name: "maxTAs"
type: "int"
value: "1"
access: "read-write"
filter: '^\d{1,2}$'
display: "Max TAs"
comment: "0~32"
smfSelection:
display: "Subs Smf Selection"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_snssai'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "0~32"
- name: "snssai"
type: "string"
value: '1-000001'
access: "read-write"
filter: '^\d{1,3}[A-Fa-f0-9]{6}$'
display: "Snssai"
comment: ""
- name: "dnnList"
type: "int"
value: '1'
access: "read-only"
filter: '1~4'
display: "Dnn List"
comment: ""
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~4'
display: "index"
comment: "1~4"
- name: "dnn"
type: "string"
value: 'cmnet'
access: "read-write"
filter: '^.{1,32}$'
display: "Dnn"
comment: "0~32"
- name: "defaultDnnInd"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "default Dnn Indicator"
comment: ""
- name: "lboRoamingAllowed"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "LBO Roaming Allowed"
comment: "LBO Roaming Allowed"
- name: "iwkEpsInd"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Iwk EPS Ind"
comment: "Iwk EPS Ind"
- name: "ladnIndicator"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "LADN Indicator"
comment: "LADN Indicator"
dnn:
display: "Dnn Conf"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_nssai'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "defaultPDUSessionType"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"IPV4\",\"1\":\"IPV6\",\"2\":\"IPV4V6\",\"3\":\"Ethernet\",\"4\":\"Unstruction\"}"
display: "Default PDU Session Type"
comment: ""
- name: "allowedPDUSessionTypes"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"IPV4\",\"1\":\"IPV6\",\"2\":\"IPV4V6\",\"3\":\"Ethernet\",\"4\":\"Unstruction\",\"5\":\"IPV4 & IPV6\",\"6\":\"IPV4 & IPV4V6\",\"7\":\"IPV6 & IPV4V6\",\"8\":\"IPV4 & IPV6 & IPV4V6\"}"
display: "Allowed PDU Session Types"
comment: ""
- name: "5qi"
type: "int"
value: "9"
access: "read-write"
filter: "0~255"
display: "5qi"
comment: ""
- name: "priorityLevel"
type: "int"
value: "9"
access: "read-write"
filter: "1~127"
display: "Priority Level"
comment: ""
- name: "defaultSSCmode"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"sscMode1\",\"1\":\"sscMode2\",\"2\":\"sscMode3\"}"
display: "Default SSC Mode"
comment: "1~16"
- name: "allowedSSCmodes"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"sscMode1\",\"1\":\"sscMode2\",\"2\":\"sscMode3\",\"3\":\"sscMode1 & sscMode2\",\"4\":\"sscMode1 & sscMode3\",\"5\":\"sscMode2 & sscMode3\",\"6\":\"sscMode1 & sscMode2 & sscMode3\"}"
display: "Allowed SSC Modes"
comment: "1~16"
- name: "interworkingEPSIndicator"
type: "bool"
value: "1"
access: "read-write"
filter: ''
display: "Interworking EPS Indicator"
comment: ""
- name: "ladnIndicator"
type: "bool"
value: "1"
access: "read-write"
filter: ''
display: "LADN Indicator"
comment: ""
- name: "chargingCharacteristics"
type: "string"
value: "0001"
access: "read-write"
filter: '4~4'
display: "Charging Characteristics"
comment: "4~4"
- name: "subscribedSessionAmbrUL"
type: "regex"
value: "1Gbps"
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Subscribed Session Ambr UL"
comment: ""
- name: "subscribedSessionAmbrDL"
type: "regex"
value: "2Gbps"
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Subscribed Session Ambr DL"
comment: ""
- name: "staticIPAddress"
type: "ipv4"
value: "192.168.1.100"
access: "read-write"
filter: ''
display: "Static IP Address"
comment: ""
- name: "userPlaneIntegrity"
type: "enum"
value: "3"
access: "read-write"
filter: "{\"0\":\"Null\",\"1\":\"Required\",\"2\":\"Preferred\",\"3\":\"Not Needed\"}"
display: "User Plane Integrity"
comment: ""
- name: "userPlaneConfidentiality"
type: "enum"
value: "3"
access: "read-write"
filter: "{\"0\":\"Null\",\"1\":\"Required\",\"2\":\"Preferred\",\"3\":\"Not Needed\"}"
display: "User Plane Confidentiality"
comment: ""
- name: "arpPriorityLevel"
type: "int"
value: "6"
access: "read-write"
filter: "0~255"
display: "ARP Priority Level"
comment: ""
- name: "arpPreemptCap"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preempt\",\"1\":\"May Preempt\"}"
display: "ARP PreemptCap"
comment: ""
- name: "arpPreemptVuln"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preemptable\",\"1\":\"Preemptable\"}"
display: "ARP PreemptVuln"
comment: ""
epsTemplate:
display: "Eps User Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_eps'
access: "read-write"
filter: '^.{0,31}$'
display: "Name"
comment: "0~31"
- name: "ambrUplink"
type: "int"
value: '100000000'
access: "read-write"
filter: '0~4294967295'
display: "AMBR Uplink"
comment: "0~4294967295"
- name: "ambrDownlink"
type: "int"
value: '200000000'
access: "read-write"
filter: '0~4294967295'
display: "AMBR Downlink"
comment: "0~4294967295"
- name: "apnOIReplacement"
type: "string"
value: 'money'
access: "read-write"
filter: '^.{0,31}$'
display: "APN OI Replacement"
comment: "0~31"
- name: "rfsp"
type: "int"
value: '1'
access: "read-write"
filter: ''
display: "rfsp"
comment: ""
- name: "rauTauTimer"
type: "int"
value: '120'
access: "read-write"
filter: ''
display: "Rau Tau Timer"
comment: ""
- name: "chargingCharacteristic"
type: "string"
value: '0001'
access: "read-write"
filter: '4~4'
display: "Charging Characteristic"
comment: "4~4"
epsApn:
display: "Eps Apn"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "dnn"
type: "string"
value: 'cmnet'
access: "read-write"
filter: '^.{0,127}$'
display: "Dnn"
comment: "0~127"
- name: "pdnType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"IPV4\",\"1\":\"IPV6\",\"2\":\"IPV4V6\",\"3\":\"IPV4 or IPV6\"}"
display: "Pdn Type"
comment: ""
- name: "qci"
type: "int"
value: '9'
access: "read-write"
filter: '1~255'
display: "qci"
comment: "1~255"
- name: "arpPriorityLevel"
type: "int"
value: '8'
access: "read-write"
filter: '1~127'
display: "ARP Priority"
comment: "1~127"
- name: "arpPreemptCap"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"Not Preempt\",\"1\":\"May Preempt\"}"
display: "ARP Preemption Capability"
comment: ""
- name: "arpPreemptVuln"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"Not Preemptable\",\"1\":\"Preemptable\"}"
display: "ARP Preemption Vulnerability"
comment: ""
- name: "contextIdentifier"
type: "int"
value: '1'
access: "read-write"
filter: ''
display: "Context Identifier"
comment: ""
- name: "vplmnDynamicAddressAllowed"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "enable"
comment: ""
- name: "pdnGWAllocationType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"static\",\"1\":\"dynamic\"}"
display: "Pdn GW Allocation Type"
comment: ""
- name: "ambrUplink"
type: "int"
value: '100000000'
access: "read-write"
filter: '0~4294967295'
display: "AMBR Uplink"
comment: "0~4294967295"
- name: "ambrDownlink"
type: "int"
value: '200000000'
access: "read-write"
filter: '0~4294967295'
display: "AMBR Downlink"
comment: "0~4294967295"
- name: "chargingCharacteristic"
type: "string"
value: '0001'
access: "read-write"
filter: '4~4'
display: "Charging Characteristic"
comment: "4~4"
applicationServer:
display: "Application Server"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~32'
display: "Index"
comment: "1~32"
- name: "name"
type: "string"
value: 'mmtel_as'
access: "read-write"
filter: '^.{1,31}$'
display: "AS Name"
comment: "0~31"
- name: "defaultHandling"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"Session Continued\",\"1\":\"Session Terminated\"}"
display: "Default Handling"
comment: ""
- name: "serverName"
type: "string"
value: 'sip:192.168.8.26:7060'
access: "read-write"
filter: '^.{1,127}$'
display: "Server Name"
comment: "0~127"
- name: "diameterAddress"
type: "string"
value: 'mmtel.ims.mnc000.mcc460.3gppnetwork.org'
access: "read-write"
filter: '^.{1,127}$'
display: "Diameter Address"
comment: "0~127"
- name: "repDataSizeLimit"
type: "int"
value: '0'
access: "read-write"
filter: '0~65535'
display: "Rep Data Size Limit"
comment: "0~65535"
- name: "includeRegisterRequest"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Include Register Request"
comment: ""
- name: "includeRegisterResponse"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Include Register Response"
comment: ""
scscfSet:
display: "Scscf Set"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~8'
display: "Index"
comment: "1~8"
- name: "name"
type: "string"
value: 'mmtel_as'
access: "read-write"
filter: '^.{1,31}$'
display: "Name"
comment: "0~31"
- name: "priority"
type: "int"
value: '1'
access: "read-write"
filter: ''
display: "Priority"
comment: ""
- name: "serverName"
type: "string"
value: 'sip:scscf.ims.mnc000.mcc460.3gppnetwork.org:6060'
access: "read-write"
filter: '^.{1,127}$'
display: "Server Name"
comment: "0~127"
s6aServer:
display: "S6a Server"
list:
- name: "enable"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "enable"
comment: ""
- name: "netType"
type: "enum"
value: '1'
access: "read-write"
filter: "{\"0\":\"tcp\",\"1\":\"sctp\"}"
display: "Link Type"
comment: ""
- name: "addr"
type: "string"
value: "172.16.5.140:3868"
access: "read-write"
filter: ''
display: "address"
comment: ""
- name: "host"
type: "string"
value: "hss.ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{1,127}$'
display: "host"
comment: "0~127"
- name: "realm"
type: "string"
value: "ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{1,127}$'
display: "realm"
comment: "0~127"
cxServer:
display: "Cx Server"
list:
- name: "enable"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "enable"
comment: ""
- name: "netType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"tcp\",\"1\":\"sctp\"}"
display: "Link Type"
comment: ""
- name: "addr"
type: "string"
value: "172.16.5.140:3868"
access: "read-write"
filter: ''
display: "address"
comment: ""
- name: "host"
type: "string"
value: "hss.ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{1,127}$'
display: "host"
comment: "0~127"
- name: "realm"
type: "string"
value: "ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{1,127}$'
display: "realm"
comment: "0~127"
File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-76
View File
@@ -1,76 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="DataFile">
<xs:complexType>
<xs:sequence>
<xs:element name="FileHeader">
<xs:complexType>
<xs:sequence>
<xs:element name="TimeStamp" type="xs:dateTime"/>
<xs:element name="TimeZone" type="xs:string"/>
<xs:element name="VendorName" type="xs:string" minOccurs="0"/>
<xs:element name="ElementType" type="xs:string" minOccurs="0"/>
<xs:element name="CmVersion" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Objects" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ObjectType" type="xs:string"/>
<!--该字段必选-->
<xs:element name="FieldName">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="N">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FieldValue">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="Object">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="V">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="rmUID" type="xs:string" use="required"/>
<xs:attribute name="Dn" type="xs:string"/>
<!-- //无线、核心网专业该字段必选,传输、IP专业、业务系统无该字段-->
<xs:attribute name="UserLabel" type="xs:string"/>
<!-- //无线、核心网专业该字段必选,传输、IP专业、业务系统无该字段-->
<xs:attribute name="PVFlag" type="xs:string" use="required"/>
<!-- //必须-->
<xs:attribute name="VMID" type="xs:string"/>
<!-- //VNF网络或VNF和PNF混合组网:虚拟网元必选,物理网元无该字段-->
<xs:attribute name="VNFInstanceID" type="xs:string"/>
<!-- //VNF网络或VNF和PNF混合组网:虚拟网元必选,物理网元无该字段-->
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
-80
View File
@@ -1,80 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="PmFile">
<xs:complexType>
<xs:sequence>
<xs:element name="FileHeader">
<xs:complexType>
<xs:sequence>
<xs:element name="TimeStamp" type="xs:dateTime" />
<xs:element name="TimeZone" type="xs:string" />
<xs:element name="Period" type="xs:integer" />
<xs:element name="VendorName" type="xs:string" />
<xs:element name="ElementType" type="xs:string" />
<xs:element name="PmVersion" type="xs:string" />
<xs:element name="StartTime" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Measurements" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ObjectType" type="xs:string" />
<xs:element name="PmName">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="N">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PmData">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="Object">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="V">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="CV">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="SN" type="xs:string" />
<xs:element name="SV" type="xs:string" />
</xs:sequence>
<xs:attribute name="i" type="xs:integer"
use="required" />
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="rmUID" type="xs:string" use="required" />
<xs:attribute name="Dn" type="xs:string" use="required" />
<xs:attribute name="UserLabel" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
-15
View File
@@ -1,15 +0,0 @@
#!/usr/bin/expect
#This script is to invoke CB_SMS via debug command
spawn telnet 192.168.1.51 4965
send "x\n"
send "n\n"
sleep 1
send "\033\n"
send "vlr start cb_sms\n"
sleep 1
send "q\n"
exit
-53
View File
@@ -1,53 +0,0 @@
#!/bin/bash
while true; do
timestamp=`date +%s`
filepath=~altouser/imsi.txt
if [ -f $filepath ];
then
filetimestamp=`stat -c %Y $filepath`
timegap=$(($timestamp-$filetimestamp))
if [ $timegap -gt 2 ]; then
mv $filepath /etc/edge/white_list.cfg
fi
fi
filepath=~altouser/dns.txt
if [ -f $filepath ];
then
filetimestamp=`stat -c %Y $filepath`
timegap=$(($timestamp-$filetimestamp))
if [ $timegap -gt 2 ]; then
mv $filepath /etc/edge/dns.txt
fi
fi
filepath=~altouser/osmo-bsc.cfg
if [ -f $filepath ];
then
filetimestamp=`stat -c %Y $filepath`
timegap=$(($timestamp-$filetimestamp))
if [ $timegap -gt 2 ]; then
mv $filepath /etc/edge/osmo-bsc.cfg
fi
fi
filepath=~altouser/cb_sms.cfg
if [ -f $filepath ];
then
filetimestamp=`stat -c %Y $filepath`
timegap=$(($timestamp-$filetimestamp))
if [ $timegap -gt 2 ]; then
mv $filepath /etc/edge/cb_sms.cfg
/usr/bin/cb_sms.sh
fi
fi
sleep 1
done
-495
View File
@@ -1,495 +0,0 @@
EXP #1: "Get all smf systemState"
URI: 192.168.30.20: 3030/api/rest/systemManagement/v1/elementType/smf/objectType/systemState
RETURN:
{
"data": [
"SMF_0": {
"ipAddress": "192.168.1.232",
"systemState": {
"version": "1.5.3.2",
"capability": 10000,
"serialNum": "13740126",
"expiryDate": "2025-02-28",
"cpuUsage": {
"nfCpuUsage": 41,
"sysCpuUsage": 78
},
"memUsage": {
"totalMem": 4025608,
"nfUsedMem": 160872,
"sysMemUsage": 1341
},
"diskSpace": {
"partitionNum": 19,
"partitionInfo": [
{
"total": 1920,
"used": 0
},
{
"total": 393,
"used": 11
},
{
"total": 48700,
"used": 32360
},
{
"total": 1965,
"used": 0
},
{
"total": 5,
"used": 0
},
{
"total": 1965,
"used": 0
},
{
"total": 55,
"used": 55
},
{
"total": 63,
"used": 63
},
{
"total": 91,
"used": 91
},
{
"total": 49,
"used": 49
},
{
"total": 55,
"used": 55
},
{
"total": 73,
"used": 73
},
{
"total": 91,
"used": 91
},
{
"total": 1475,
"used": 206
},
{
"total": 49,
"used": 49
},
{
"total": 393,
"used": 11
},
{
"total": 393,
"used": 0
},
{
"total": 73,
"used": 73
},
{
"total": 63,
"used": 63
}
]
}
}
},
"SMF_1": {
"ipAddress": "192.168.1.73",
"systemState": {
"version": "1.5.3.2",
"capability": 10000,
"serialNum": "13740126",
"expiryDate": "2025-02-28",
"cpuUsage": {
"nfCpuUsage": 41,
"sysCpuUsage": 78
},
"memUsage": {
"totalMem": 4025608,
"nfUsedMem": 160872,
"sysMemUsage": 1341
},
"diskSpace": {
"partitionNum": 19,
"partitionInfo": [
{
"total": 1920,
"used": 0
},
{
"total": 393,
"used": 11
},
{
"total": 48700,
"used": 32360
},
{
"total": 1965,
"used": 0
},
{
"total": 5,
"used": 0
},
{
"total": 1965,
"used": 0
},
{
"total": 55,
"used": 55
},
{
"total": 63,
"used": 63
},
{
"total": 91,
"used": 91
},
{
"total": 49,
"used": 49
},
{
"total": 55,
"used": 55
},
{
"total": 73,
"used": 73
},
{
"total": 91,
"used": 91
},
{
"total": 1475,
"used": 206
},
{
"total": 49,
"used": 49
},
{
"total": 393,
"used": 11
},
{
"total": 393,
"used": 0
},
{
"total": 73,
"used": 73
},
{
"total": 63,
"used": 63
}
]
}
}
}
]
}
EXP #2: "Get single smf systemState"
URI: 192.168.30.20: 3030/api/rest/systemManagement/v1/elementType/smf/objectType/systemState?subsys_no=0
RETURN:
{
"data": [
"SMF_0": {
"ipAddress": "192.168.1.232",
"systemState": {
"version": "1.5.3.2",
"capability": 10000,
"serialNum": "13740126",
"expiryDate": "2025-02-28",
"cpuUsage": {
"nfCpuUsage": 41,
"sysCpuUsage": 78
},
"memUsage": {
"totalMem": 4025608,
"nfUsedMem": 160872,
"sysMemUsage": 1341
},
"diskSpace": {
"partitionNum": 19,
"partitionInfo": [
{
"total": 1920,
"used": 0
},
{
"total": 393,
"used": 11
},
{
"total": 48700,
"used": 32360
},
{
"total": 1965,
"used": 0
},
{
"total": 5,
"used": 0
},
{
"total": 1965,
"used": 0
},
{
"total": 55,
"used": 55
},
{
"total": 63,
"used": 63
},
{
"total": 91,
"used": 91
},
{
"total": 49,
"used": 49
},
{
"total": 55,
"used": 55
},
{
"total": 73,
"used": 73
},
{
"total": 91,
"used": 91
},
{
"total": 1475,
"used": 206
},
{
"total": 49,
"used": 49
},
{
"total": 393,
"used": 11
},
{
"total": 393,
"used": 0
},
{
"total": 73,
"used": 73
},
{
"total": 63,
"used": 63
}
]
}
}
}
]
}
EXP #2: "Get all NFs systemState"
URI: 192.168.30.20: 3030/api/rest/systemManagement/v1/elementType/all/objectType/systemState
RETURN:
{
"data": [
{
"AMF_0": {
"error": {
"errorCode": "1",
"errorInfo": "Internal server error, NF connnect refused"
},
"ipAddress": "192.168.2.188"
}
},
{
"SMF_0": {
"ipAddress": "192.168.1.232",
"systemState": {
"capability": 10000,
"cpuUsage": {
"nfCpuUsage": 2,
"sysCpuUsage": 52
},
"diskSpace": {
"partitionInfo": [
{
"total": 1920,
"used": 0
},
{
"total": 393,
"used": 13
},
{
"total": 48700,
"used": 32431
},
{
"total": 1965,
"used": 0
},
{
"total": 5,
"used": 0
},
{
"total": 1965,
"used": 0
},
{
"total": 55,
"used": 55
},
{
"total": 63,
"used": 63
},
{
"total": 91,
"used": 91
},
{
"total": 49,
"used": 49
},
{
"total": 55,
"used": 55
},
{
"total": 73,
"used": 73
},
{
"total": 91,
"used": 91
},
{
"total": 1475,
"used": 206
},
{
"total": 49,
"used": 49
},
{
"total": 393,
"used": 13
},
{
"total": 393,
"used": 0
},
{
"total": 73,
"used": 73
},
{
"total": 63,
"used": 63
}
],
"partitionNum": 19
},
"expiryDate": "2025-02-28",
"memUsage": {
"nfUsedMem": 163992,
"sysMemUsage": 1345,
"totalMem": 4025608
},
"serialNum": "13740126",
"version": "1.5.3.2"
}
}
},
{
"SMF_1": {
"ipAddress": "192.168.1.173",
"systemState": {
"capability": 10000,
"cpuUsage": {
"nfCpuUsage": 0,
"sysCpuUsage": 69
},
"diskSpace": {
"partitionInfo": [
{
"total": 3966,
"used": 0
},
{
"total": 797,
"used": 0
},
{
"total": 200559,
"used": 5968
},
{
"total": 3987,
"used": 0
},
{
"total": 5,
"used": 0
},
{
"total": 3987,
"used": 0
},
{
"total": 797,
"used": 0
}
],
"partitionNum": 7
},
"expiryDate": "2024-12-31",
"memUsage": {
"nfUsedMem": 212136,
"sysMemUsage": 720,
"totalMem": 8167360
},
"serialNum": "13740272",
"version": "1.5.3.3"
}
}
}
]
}
-16
View File
@@ -1,16 +0,0 @@
[Unit]
Description=Capture trace data from NF daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/captrace -c /usr/local/omc/etc/capconf.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
-16
View File
@@ -1,16 +0,0 @@
[Unit]
Description=Cron task daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/crontask -c /usr/local/omc/etc/crontask.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
-16
View File
@@ -1,16 +0,0 @@
[Unit]
Description=REST agent daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/restagent -c /usr/local/omc/etc/restconf.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
-16
View File
@@ -1,16 +0,0 @@
[Unit]
Description=SSH MML service daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/sshsvc -c /usr/local/omc/etc/sshsvc.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
-516
View File
@@ -1,516 +0,0 @@
{
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "N3|N6|N9|N19",
"display": "Interface Type",
"filter": "",
"name": "InterfaceType",
"type": "string",
"value": "N3"
},
{
"access": "read-write",
"comment": "Interface Id",
"display": "Interface Id",
"filter": "1~32",
"name": "InterfaceId",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "host|vmxnet3|dpdk|socket|uds",
"display": "Driver Type",
"filter": "",
"name": "DriverType",
"type": "string",
"value": "host"
},
{
"access": "read-write",
"comment": "null|bak|sub|xor|round|lacp",
"display": "Bond Type",
"filter": "",
"name": "BondType",
"type": "string",
"value": "0"
},
{
"access": "read-write",
"comment": "Bond Id",
"display": "Bond Id",
"filter": "1~32",
"name": "BondId",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Bfd Tx Interval Ms",
"display": "Bfd Tx Interval Ms",
"filter": "",
"name": "BfdTxIntervalMs",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Bfd Rx Interval Ms",
"display": "Bfd Rx Interval Ms",
"filter": "",
"name": "BfdRxIntervalMs",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Dnn Name",
"display": "Dnn Name",
"filter": "",
"name": "DnnName",
"type": "string",
"value": "default"
},
{
"access": "read-write",
"comment": "ipv4|ipv6|ipv4v6",
"display": "Ip Type",
"filter": "",
"name": "IpType",
"type": "string",
"value": "ipv4"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~8",
"display": "Index",
"filter": "1~8",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv4",
"display": "Ipv4",
"filter": "",
"name": "Ipv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ipv4 Mask",
"display": "Ipv4 Mask",
"filter": "",
"name": "Ipv4Mask",
"type": "string",
"value": "0.0.0.0"
}
],
"comment": "Ipv4 Addr List",
"display": "Ipv4 Addr List",
"filter": "1~8",
"name": "Ipv4AddrList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~8",
"display": "Index",
"filter": "1~8",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv6",
"display": "Ipv6",
"filter": "",
"name": "Ipv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ipv6 Prefix",
"display": "Ipv6 Prefix",
"filter": "",
"name": "Ipv6Prefix",
"type": "int",
"value": "64"
}
],
"comment": "Ipv6 Addr List",
"display": "Ipv6 Addr List",
"filter": "1~8",
"name": "Ipv6AddrList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Mac Address",
"display": "Mac Address",
"filter": "",
"name": "MacAddr",
"type": "string",
"value": "00:00:00:00:00:00"
},
{
"access": "read-write",
"comment": "Interface PCI Value",
"display": "Interface PCI",
"filter": "",
"name": "InterfacePCI",
"type": "string",
"value": "0000:00:00.0"
},
{
"access": "read-write",
"comment": "System Network Card Name",
"display": "System Network Card Name",
"filter": "",
"name": "SystemNetworkCardName",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Gateway Ipv4 Value",
"display": "Gateway Ipv4",
"filter": "",
"name": "GatewayIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Gateway Ipv6 Value",
"display": "Gateway Ipv6",
"filter": "",
"name": "GatewayIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Bfd Gateway Ipv4 Value",
"display": "Bfd Gateway Ipv4",
"filter": "",
"name": "BfdGatewayIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Bfd Gateway Ipv6 Value",
"display": "Bfd Gateway Ipv6",
"filter": "",
"name": "BfdGatewayIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Mtu",
"display": "Mtu",
"filter": "1~65536",
"name": "Mtu",
"type": "int",
"value": "1500"
},
{
"access": "read-write",
"comment": "Vlan Id Min Value",
"display": "Vlan Id Min",
"filter": "",
"name": "VlanIdMin",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Vlan Id Max Value",
"display": "Vlan Id Max",
"filter": "",
"name": "VlanIdMax",
"type": "int",
"value": ""
},
{
"access": "read-write",
"comment": "Udp Src Port",
"display": "Udp Src Port",
"filter": "1~65536",
"name": "UdpSrcPort",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Udp Listen Port Value",
"display": "Udp Listen Port",
"filter": "1~65536",
"name": "UdpListenPort",
"type": "string",
"value": "2152"
},
{
"access": "read-write",
"comment": "Uds Local File Full Path",
"display": "Uds Local File Full Path",
"filter": "",
"name": "UdsLocalFileFullPath",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Uds Remote File Full Path",
"display": "Uds Remote File Full Path",
"filter": "",
"name": "UdsRemoteFileFullPath",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Link Detection Type",
"display": "Link Detection Type",
"filter": "0~1",
"name": "LinkDetectionType",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Nat Interface Id",
"display": "Nat Interface Id",
"filter": "0~1",
"name": "NatInterfaceId",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Ue Ipv4 Address",
"display": "Ipv4",
"filter": "",
"name": "UeIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ue Ipv4 Mask Address",
"display": "Ue Ipv4 Mask",
"filter": "",
"name": "UeIpv4Mask",
"type": "string",
"value": "255.255.255.0"
},
{
"access": "read-write",
"comment": "Ue Ipv6 Address",
"display": "Ue Ipv6",
"filter": "",
"name": "UeIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ue Ipv6 Prefix Value",
"display": "Ue Ipv6 Prefix",
"filter": "1~128",
"name": "UeIpv6Prefix",
"type": "int",
"value": "64"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv4",
"display": "Ipv4",
"filter": "",
"name": "Ipv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ipv4 Mask",
"display": "Ipv4 Mask",
"filter": "",
"name": "Ipv4Mask",
"type": "string",
"value": "0.0.0.0"
}
],
"comment": "Gtpu Remote Ipv4 Pool List",
"display": "Gtpu Remote Ipv4 Pool List",
"filter": "1~32",
"name": "GtpuRemoteIpv4PoolList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv6",
"display": "Ipv6",
"filter": "",
"name": "Ipv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ipv6 Prefix",
"display": "Ipv6 Prefix",
"filter": "",
"name": "Ipv6Prefix",
"type": "int",
"value": "64"
}
],
"comment": "Gtpu Remote Ipv6 Pool List",
"display": "Gtpu Remote Ipv6 Pool List",
"filter": "1~32",
"name": "GtpuRemoteIpv6PoolList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Gtpu Signaling Handle",
"display": "Gtpu Signaling Handle",
"filter": "0~1",
"name": "GtpuSignalingHandle",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Ims Default DSCP Value",
"display": "Ims Default DSCP Value",
"filter": "0~1",
"name": "ImsDefaultDSCPValue",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Data Default DSCP Value",
"display": "Data Default DSCP Value",
"filter": "0~1",
"name": "DataDefaultDSCPValue",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Inner DSCP Value Map",
"display": "Inner DSCP Value Map",
"filter": "0~1",
"name": "InnerDSCPValueMap",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Max Support Speed Mbps",
"display": "Max Support Speed Mbps",
"filter": "0~65536",
"name": "MaxSupportSpeedMbps",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Rx Queues Number",
"display": "Dpdk Rx Queues Number",
"filter": "0~127",
"name": "DpdkRxQueuesNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Tx Queues Number",
"display": "Dpdk Tx Queues Number",
"filter": "0~127",
"name": "DpdkTxQueuesNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Rx Desc Number",
"display": "Dpdk Rx Desc Number",
"filter": "0~32768",
"name": "DpdkRxDescNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Tx Desc Number",
"display": "Dpdk Tx Desc Number",
"filter": "0~32768",
"name": "DpdkTxDescNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Workers",
"display": "Dpdk Workers",
"filter": "",
"name": "Dpdkworkers",
"type": "string",
"value": ""
}
]
}
-516
View File
@@ -1,516 +0,0 @@
{
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "N3|N6|N9|N19",
"display": "Interface Type",
"filter": "",
"name": "InterfaceType",
"type": "string",
"value": "N3"
},
{
"access": "read-write",
"comment": "Interface Id",
"display": "Interface Id",
"filter": "1~32",
"name": "InterfaceId",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "host|vmxnet3|dpdk|socket|uds",
"display": "Driver Type",
"filter": "",
"name": "DriverType",
"type": "string",
"value": "host"
},
{
"access": "read-write",
"comment": "null|bak|sub|xor|round|lacp",
"display": "Bond Type",
"filter": "",
"name": "BondType",
"type": "string",
"value": "0"
},
{
"access": "read-write",
"comment": "Bond Id",
"display": "Bond Id",
"filter": "1~32",
"name": "BondId",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Bfd Tx Interval Ms",
"display": "Bfd Tx Interval Ms",
"filter": "",
"name": "BfdTxIntervalMs",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Bfd Rx Interval Ms",
"display": "Bfd Rx Interval Ms",
"filter": "",
"name": "BfdRxIntervalMs",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Dnn Name",
"display": "Dnn Name",
"filter": "",
"name": "DnnName",
"type": "string",
"value": "default"
},
{
"access": "read-write",
"comment": "ipv4|ipv6|ipv4v6",
"display": "Ip Type",
"filter": "",
"name": "IpType",
"type": "string",
"value": "ipv4"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~8",
"display": "Index",
"filter": "1~8",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv4",
"display": "Ipv4",
"filter": "",
"name": "Ipv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ipv4 Mask",
"display": "Ipv4 Mask",
"filter": "",
"name": "Ipv4Mask",
"type": "string",
"value": "0.0.0.0"
}
],
"comment": "Ipv4 Addr List",
"display": "Ipv4 Addr List",
"filter": "1~8",
"name": "Ipv4AddrList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~8",
"display": "Index",
"filter": "1~8",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv6",
"display": "Ipv6",
"filter": "",
"name": "Ipv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ipv6 Prefix",
"display": "Ipv6 Prefix",
"filter": "",
"name": "Ipv6Prefix",
"type": "int",
"value": "64"
}
],
"comment": "Ipv6 Addr List",
"display": "Ipv6 Addr List",
"filter": "1~8",
"name": "Ipv6AddrList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Mac Address",
"display": "Mac Address",
"filter": "",
"name": "MacAddr",
"type": "string",
"value": "00:00:00:00:00:00"
},
{
"access": "read-write",
"comment": "Interface PCI Value",
"display": "Interface PCI",
"filter": "",
"name": "InterfacePCI",
"type": "string",
"value": "0000:00:00.0"
},
{
"access": "read-write",
"comment": "System Network Card Name",
"display": "System Network Card Name",
"filter": "",
"name": "SystemNetworkCardName",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Gateway Ipv4 Value",
"display": "Gateway Ipv4",
"filter": "",
"name": "GatewayIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Gateway Ipv6 Value",
"display": "Gateway Ipv6",
"filter": "",
"name": "GatewayIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Bfd Gateway Ipv4 Value",
"display": "Bfd Gateway Ipv4",
"filter": "",
"name": "BfdGatewayIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Bfd Gateway Ipv6 Value",
"display": "Bfd Gateway Ipv6",
"filter": "",
"name": "BfdGatewayIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Mtu",
"display": "Mtu",
"filter": "1~65536",
"name": "Mtu",
"type": "int",
"value": "1500"
},
{
"access": "read-write",
"comment": "Vlan Id Min Value",
"display": "Vlan Id Min",
"filter": "",
"name": "VlanIdMin",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Vlan Id Max Value",
"display": "Vlan Id Max",
"filter": "",
"name": "VlanIdMax",
"type": "int",
"value": ""
},
{
"access": "read-write",
"comment": "Udp Src Port",
"display": "Udp Src Port",
"filter": "1~65536",
"name": "UdpSrcPort",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Udp Listen Port Value",
"display": "Udp Listen Port",
"filter": "1~65536",
"name": "UdpListenPort",
"type": "string",
"value": "2152"
},
{
"access": "read-write",
"comment": "Uds Local File Full Path",
"display": "Uds Local File Full Path",
"filter": "",
"name": "UdsLocalFileFullPath",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Uds Remote File Full Path",
"display": "Uds Remote File Full Path",
"filter": "",
"name": "UdsRemoteFileFullPath",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Link Detection Type",
"display": "Link Detection Type",
"filter": "0~1",
"name": "LinkDetectionType",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Nat Interface Id",
"display": "Nat Interface Id",
"filter": "0~1",
"name": "NatInterfaceId",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Ue Ipv4 Address",
"display": "Ipv4",
"filter": "",
"name": "UeIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ue Ipv4 Mask Address",
"display": "Ue Ipv4 Mask",
"filter": "",
"name": "UeIpv4Mask",
"type": "string",
"value": "255.255.255.0"
},
{
"access": "read-write",
"comment": "Ue Ipv6 Address",
"display": "Ue Ipv6",
"filter": "",
"name": "UeIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ue Ipv6 Prefix Value",
"display": "Ue Ipv6 Prefix",
"filter": "1~128",
"name": "UeIpv6Prefix",
"type": "int",
"value": "64"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv4",
"display": "Ipv4",
"filter": "",
"name": "Ipv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ipv4 Mask",
"display": "Ipv4 Mask",
"filter": "",
"name": "Ipv4Mask",
"type": "string",
"value": "0.0.0.0"
}
],
"comment": "Gtpu Remote Ipv4 Pool List",
"display": "Gtpu Remote Ipv4 Pool List",
"filter": "1~32",
"name": "GtpuRemoteIpv4PoolList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv6",
"display": "Ipv6",
"filter": "",
"name": "Ipv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ipv6 Prefix",
"display": "Ipv6 Prefix",
"filter": "",
"name": "Ipv6Prefix",
"type": "int",
"value": "64"
}
],
"comment": "Gtpu Remote Ipv6 Pool List",
"display": "Gtpu Remote Ipv6 Pool List",
"filter": "1~32",
"name": "GtpuRemoteIpv6PoolList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Gtpu Signaling Handle",
"display": "Gtpu Signaling Handle",
"filter": "0~1",
"name": "GtpuSignalingHandle",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Ims Default DSCP Value",
"display": "Ims Default DSCP Value",
"filter": "0~1",
"name": "ImsDefaultDSCPValue",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Data Default DSCP Value",
"display": "Data Default DSCP Value",
"filter": "0~1",
"name": "DataDefaultDSCPValue",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Inner DSCP Value Map",
"display": "Inner DSCP Value Map",
"filter": "0~1",
"name": "InnerDSCPValueMap",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Max Support Speed Mbps",
"display": "Max Support Speed Mbps",
"filter": "0~65536",
"name": "MaxSupportSpeedMbps",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Rx Queues Number",
"display": "Dpdk Rx Queues Number",
"filter": "0~127",
"name": "DpdkRxQueuesNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Tx Queues Number",
"display": "Dpdk Tx Queues Number",
"filter": "0~127",
"name": "DpdkTxQueuesNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Rx Desc Number",
"display": "Dpdk Rx Desc Number",
"filter": "0~32768",
"name": "DpdkRxDescNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Tx Desc Number",
"display": "Dpdk Tx Desc Number",
"filter": "0~32768",
"name": "DpdkTxDescNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Workers",
"display": "Dpdk Workers",
"filter": "",
"name": "Dpdkworkers",
"type": "string",
"value": ""
}
]
}
-96
View File
@@ -1,96 +0,0 @@
// N12
const (
N12PostUeAuthentications uint8= 1
N12Put5gAkaConfirmations uint8= 2
N12Delete5gAkaConfirmation uint8= 3
N12PostEapSession uint8= 4
N12DeleteEapSession uint8= 5
)
var n12MsgStr = []string{"null",
"Nausf_AUTH_Post ue-authentications",
"Nausf_AUTH_Put 5g-aka-confirmation",
"Nausf_AUTH_Delete 5g-aka-confirmation",
"Nausf_AUTH_Post eap-session",
"Nausf_AUTH_Delete eap-session",
}
// N13
const (
N13PostGenerateAuthData uint8= 1
N13PostAuthEvents uint8= 2
)
var n13MsgStr = [3]string{"null",
"Nudm_UEAU_Post generate-auth-data",
"Nudm_UEAU_Post auth-events",
}
// N8
const (
N8GetSupi uint8= 1
N8GetNssai uint8= 2
N8GetAmData uint8= 3
N8PutAmDataCagAck uint8= 4
N8GetSmfSelectData uint8= 5
N8PostSdmSubscriptions uint8= 6
N8PatchSdmSubscriptions uint8= 7
N8DeleteSdmSubscriptions uint8= 8
N8GETIdTranslationResult uint8= 9
N8PutAmf3GppAccessRegistration uint8= 10
N8PatchAmf3GppAccessRegistration uint8= 11
N8GetAmf3GppAccessRegistration uint8= 12
N8DeregistrationCallback uint8= 13
)
var n8MsgStr = []string{"null",
"Nudm_SDM_Get supi",
"Nudm_SDM_Get nssai",
"Nudm_SDM_Get am-data",
"Nudm_SDM_Put am-data cag-ack",
"Nudm_SDM_Get smf-select-data",
"Nudm_SDM_Post sdm-subscriptions",
"Nudm_SDM_Patch sdm-subscriptions",
"Nudm_SDM_Delete sdm-subscriptions",
"Nudm_SDM_Get id-translation-result",
"Nudm_UECM_Put amf-3gpp-access",
"Nudm_UECM_Patch amf-3gpp-access",
"Nudm_UECM_Get amf-3gpp-access",
"Namf_Callback Deregistraion",
}
// N10
const (
N10GetSmData uint8= 1
N10PostSdmSubscriptions uint8= 2
N10PatchSdmSubscriptions uint8= 3
N10DeleteSdmSubscriptions uint8= 4
N10GETIdTranslationResult uint8= 5
N10GetSmfRegistrations uint8= 6
N10PutIndividualSmfRegistration uint8= 7
N10PatchIndividualSmfRegistration uint8= 8
N10GetIndividualSmfRegistration uint8= 9
N10DeleteIndividualSmfRegistration uint8= 10
)
var n10MsgStr = []string{"null",
"Nudm_SDM_Get sm-data",
"Nudm_SDM_Post sdm-subscriptions",
"Nudm_SDM_Patch sdm-subscriptions",
"Nudm_SDM_Delete sdm-subscriptions",
"Nudm_SDM_Get id-translation-result",
"Nudm_UECM_Get smf-registrations",
"Nudm_UECM_Put smf-registrations",
"Nudm_UECM_Patch smf-3gpp-access",
"Nudm_UECM_Get smf-3gpp-access",
"Nudm_UECM_Delete smf-3gpp-access",
}
-65
View File
@@ -1,65 +0,0 @@
package cmschema
// FileHeader ...
type FileHeader struct {
TimeStamp string `xml:"TimeStamp"`
TimeZone string `xml:"TimeZone"`
VendorName string `xml:"VendorName"`
ElementType string `xml:"ElementType"`
CmVersion string `xml:"CmVersion"`
}
// N ...
type N struct {
IAttr int `xml:"i,attr"`
Value string `xml:",chardata"`
}
// FieldName ...
type FieldName struct {
N []N `xml:"N"`
}
// V ...
type V struct {
IAttr int `xml:"i,attr"`
Value string `xml:",chardata"`
}
// Object ...
type Object struct {
RmUIDAttr string `xml:"rmUID,attr"`
DnAttr string `xml:"Dn,attr,omitempty"`
UserLabelAttr string `xml:"UserLabel,attr,omitempty"`
PVFlagAttr string `xml:"PVFlag,attr"`
VMIDAttr string `xml:"VMID,attr,omitempty"`
VNFInstanceIDAttr string `xml:"VNFInstanceID,attr,omitempty"`
V []V `xml:"V"`
}
// FieldValue ...
type FieldValue struct {
Object []Object `xml:"Object"`
}
// Objects ...
type ObjectData struct {
ObjectType string `xml:"ObjectType"`
FieldName FieldName `xml:"FieldName"`
FieldValue FieldValue `xml:"FieldValue"`
}
// DataFile ...
type DataFile struct {
FileHeader FileHeader `xml:"FileHeader"`
//Objects []Objects `xml:"Objects"`
ObjectData ObjectData `xml:"objectData"`
XsiAttr string `xml:"xmlns:xsi,attr"`
XsiLoc string `xml:"xsi:noNamespaceSchemaLocation,attr"`
}
// NRM xml file
type NRMXmlFile struct {
Header string `xml:"Header"`
DataFile DataFile `xml:"xmlns:xsi"`
}
-296
View File
@@ -1,296 +0,0 @@
package cmyaml
type UdmCm struct {
ManagedElement ManagedElement `yaml:"ManagedElement"`
UdmFunction UdmFunction `yaml:"UdmFunction"`
UdrFunction UdrFunction `yaml:"UdrFunction"`
AusfFunction AusfFunction `yaml:"AusfFunction"`
IPResource IPResource `yaml:"IPResource"`
}
type UdmFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
Fqdn string `yaml:"Fqdn"`
SbiServiceList string `yaml:"SbiServiceList"`
}
type UdrFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AddrType string `yaml:"AddrType"`
IpVersion string `yaml:"IpVersion"`
AddrSegList string `yaml:"AddrSegList"`
}
type AusfFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type IPResource struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
InterfaceType string `yaml:"InterfaceType"`
LocIpV4AddrList string `yaml:"LocIpV4AddrList"`
LocIpV6AddrList string `yaml:"LocIpV6AddrList"`
}
type ManagedElement struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
VendorName string `yaml:"VendorName"`
ManagedBy string `yaml:"ManagedBy"`
ManagementIpAddress string `yaml:"ManagementIpAddress"`
SwVersion string `yaml:"SwVersion"`
PatchInfo string `yaml:"PatchInfo"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
}
type AmfCm struct {
ManagedElement ManagedElement `yaml:"ManagedElement"`
AmfFunction AmfFunction `yaml:"AmfFunction"`
EpRpDynN8Amf EpRpDynN8Amf `yaml:"EpRpDynN8Amf"`
EpRpDynN11Amf EpRpDynN11Amf `yaml:"EpRpDynN11Amf"`
EpRpDynN12Amf EpRpDynN12Amf `yaml:"EpRpDynN12Amf"`
IPResource IPResource `yaml:"IPResource"`
}
type EpRpDynN11Amf struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type EpRpDynN12Amf struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type AmfFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
Fqdn string `yaml:"Fqdn"`
SbiServiceList string `yaml:"SbiServiceList"`
AmfGuamiList string `yaml:"AmfGuamiList"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
SnssaiList string `yaml:"SnssaiList"`
MaxUser string `yaml:"MaxUser"`
RelativeCapacity string `yaml:"RelativeCapacity"`
MaxGnbNum string `yaml:"MaxGnbNum"`
}
type EpRpDynN8Amf struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type SmfCm struct {
ManagedElement ManagedElement `yaml:"ManagedElement"`
SmfFunction SmfFunction `yaml:"SmfFunction"`
AddrPool AddrPool `yaml:"AddrPool"`
EpRpDynN7Smf EpRpDynN7Smf `yaml:"EpRpDynN7Smf"`
EpRpDynN10Smf EpRpDynN10Smf `yaml:"EpRpDynN10Smf"`
IPResource IPResource `yaml:"IPResource"`
}
type SmfFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
VnfInstanceId string `yaml:"VnfInstanceId"`
MaxQfi string `yaml:"MaxQfi"`
MaxPduSessions string `yaml:"MaxPduSessions"`
UpfList string `yaml:"UpfList"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
Fqdn string `yaml:"Fqdn"`
SbiServiceList string `yaml:"SbiServiceList"`
}
type AddrPool struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AddrType string `yaml:"AddrType"`
IpVersion string `yaml:"IpVersion"`
AddrSegList string `yaml:"AddrSegList"`
}
type EpRpDynN7Smf struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type EpRpDynN10Smf struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type UpfCm struct {
IPResource IPResource `yaml:"IPResource"`
InventoryUnitHost InventoryUnitHost `yaml:"InventoryUnitHost"`
InventoryUnitAccessory InventoryUnitAccessory `yaml:"InventoryUnitAccessory"`
UdrFunction UpfUdrFunction `yaml:"UdrFunction"`
InventoryUnitRack InventoryUnitRack `yaml:"InventoryUnitRack"`
EpRpDynN9Upf EpRpDynN9Upf `yaml:"EpRpDynN9Upf"`
AusfFunction UpfAusfFunction `yaml:"AusfFunction"`
SmfFunction UpfSmfFunction `yaml:"SmfFunction"`
InventoryUnitPack InventoryUnitPack `yaml:"InventoryUnitPack"`
UpfFunction UpfFunction `yaml:"UpfFunction"`
AmfFunction UpfAmfFunction `yaml:"AmfFunction"`
ManagedElement ManagedElement `yaml:"ManagedElement"`
InventoryUnitShelf InventoryUnitShelf `yaml:"InventoryUnitShelf"`
EpRpDynN3Upf EpRpDynN3Upf `yaml:"EpRpDynN3Upf"`
}
type InventoryUnitRack struct {
SbiServiceList string `yaml:"SbiServiceList"`
Fqdn string `yaml:"Fqdn"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
MaxPduSessions string `yaml:"MaxPduSessions"`
MaxQfi string `yaml:"MaxQfi"`
UpfList string `yaml:"UpfList"`
Id string `yaml:"Id"`
}
type UpfAusfFunction struct {
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
Fqdn string `yaml:"Fqdn"`
Id string `yaml:"Id"`
}
type EpRpDynN3Upf struct {
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
}
type InventoryUnitHost struct {
UserLabel string `yaml:"UserLabel"`
VendorName string `yaml:"VendorName"`
DateOfLastService string `yaml:"DateOfLastService"`
ManufacturerData string `yaml:"ManufacturerData"`
VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"`
HostPosition string `yaml:"HostPosition"`
MemSize string `yaml:"MemSize"`
HardDiskSize string `yaml:"HardDiskSize"`
NumberOfCpu string `yaml:"NumberOfCpu"`
Id string `yaml:"Id"`
VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"`
SerialNumber string `yaml:"SerialNumber"`
VersionNumber string `yaml:"VersionNumber"`
DateOfManufacture string `yaml:"DateOfManufacture"`
}
type InventoryUnitAccessory struct {
UserLabel string `yaml:"UserLabel"`
VendorName string `yaml:"VendorName"`
SerialNumber string `yaml:"SerialNumber"`
ManufacturerData string `yaml:"ManufacturerData"`
DateOfLastService string `yaml:"DateOfLastService"`
AccessoryPosition string `yaml:"AccessoryPosition"`
AccessoryType string `yaml:"AccessoryType"`
Id string `yaml:"Id"`
VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"`
VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"`
VersionNumber string `yaml:"VersionNumber"`
DateOfManufacture string `yaml:"DateOfManufacture"`
AddtionalInformation string `yaml:"AddtionalInformation"`
}
type EpRpDynN9Upf struct {
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
Id string `yaml:"Id"`
}
type UpfSmfFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
Fqdn string `yaml:"Fqdn"`
}
type InventoryUnitPack struct {
VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"`
VendorName string `yaml:"VendorName"`
VersionNumber string `yaml:"VersionNumber"`
DateOfManufacture string `yaml:"DateOfManufacture"`
DateOfLastService string `yaml:"DateOfLastService"`
ManufacturerData string `yaml:"ManufacturerData"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
PortsInformation string `yaml:"PortsInformation"`
PackPosition string `yaml:"PackPosition"`
SlotsOccupied string `yaml:"SlotsOccupied"`
VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"`
SerialNumber string `yaml:"SerialNumber"`
}
type UpfAmfFunction struct {
VnfInstanceId string `yaml:"VnfInstanceId"`
Fqdn string `yaml:"Fqdn"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
}
type InventoryUnitShelf struct {
ManufacturerData string `yaml:"ManufacturerData"`
RackPosition string `yaml:"RackPosition"`
SerialNumber string `yaml:"SerialNumber"`
VersionNumber string `yaml:"VersionNumber"`
VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"`
VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"`
VendorName string `yaml:"VendorName"`
DateOfManufacture string `yaml:"DateOfManufacture"`
DateOfLastService string `yaml:"DateOfLastService"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
}
type UpfUdrFunction struct {
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
Fqdn string `yaml:"Fqdn"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
}
type UpfFunction struct {
MaxThroughput string `yaml:"MaxThroughput"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
MaxQosFlows string `yaml:"MaxQosFlows"`
}
-186
View File
@@ -1,186 +0,0 @@
package main
import (
"flag"
"fmt"
"os"
"strings"
"ems.agt/lib/global"
"ems.agt/lib/log"
"gopkg.in/yaml.v3"
)
// Yaml struct of config
type YamlConfig struct {
Logger struct {
File string `yaml:"file"`
Level string `yaml:"level"`
Duration int `yaml:"duration"`
Count int `yaml:"count"`
} `yaml:"logger"`
OMC struct {
Name string `yaml:"name"`
HostUri string `yaml:"hosturi"`
HostNo string `yaml:"hostno"`
Province string `yaml:"province"`
NetAbbr string `yaml:"netabbr"`
Vendor string `yaml:"vendor"`
} `yaml:"omc"`
Database struct {
Type string `yaml:"type"`
User string `yaml:"user"`
Password string `yaml:"password"`
Host string `yaml:"host"`
Port string `yaml:"port"`
Name string `yaml:"name"`
Backup string `yaml:"backup"`
} `yaml:"database"`
Tasks struct {
File string `yaml:"file"`
} `yaml:"tasks"`
NBI struct {
CM struct {
CfgFileDir string `yaml:"cfgfiledir"`
XmlFileDir string `yaml:"xmlfiledir"`
Version string `yaml:"version"`
} `yaml:"cm"`
PM struct {
CfgFileDir string `yaml:"cfgfiledir"`
XmlFileDir string `yaml:"xmlfiledir"`
Version string `yaml:"version"`
} `yaml:"pm"`
} `yaml:"nbi"`
}
var yamlConfig YamlConfig
func ReadConfig(configFile string) error {
yamlFile, err := os.ReadFile(configFile)
if err != nil {
fmt.Println("Read yaml config file error:", err)
return err
}
err = yaml.Unmarshal(yamlFile, &yamlConfig)
if err != nil {
fmt.Println("Unmarshal error:", err)
return err
}
return nil
}
func GetYamlConfig() *YamlConfig {
return &yamlConfig
}
func GetLogLevel() log.LogLevel {
var logLevel log.LogLevel
switch strings.ToLower(yamlConfig.Logger.Level) {
case "trace":
logLevel = log.LOG_TRACE
case "info":
logLevel = log.LOG_INFO
case "debug":
logLevel = log.LOG_DEBUG
case "warn":
logLevel = log.LOG_WARN
case "error":
logLevel = log.LOG_ERROR
case "fatal":
logLevel = log.LOG_FATAL
case "off":
logLevel = log.LOG_OFF
default:
logLevel = log.LOG_DEBUG
}
return logLevel
}
type Task struct {
Name string `yaml:"name"`
Status string `yaml:"status" default:"Active"`
Uri string `yaml:"uri"`
Params string `yaml:"params"`
Body string `yaml:"body"`
Interval uint64 `yaml:"interval"`
Unit string `yaml:"unit"`
At string `yaml:"at"`
From int `yaml:"from"`
Do string `yaml:"do"`
}
type Crontab struct {
Name string `yaml:"name"`
Status string `yaml:"status" default:"Active"`
Tab string `yaml:"tab"`
Do string `yaml:"do"`
Uri string `yaml:"uri"`
Params string `yaml:"params"`
Body string `yaml:"body"`
}
type Tasks struct {
Tasks []Task `yaml:"tasks"`
Crontabs []Crontab `yaml:"crontab"`
}
const (
TaskStatusActive = "active"
TaskStatusInactive = "inactive"
)
var taskSet Tasks
func ReadTasksYaml(pfile string) (ret error) {
log.Debug("pfile:", pfile)
file, err := os.ReadFile(pfile)
if err != nil {
log.Error(err)
return err
}
err = yaml.Unmarshal(file, &taskSet)
if err != nil {
log.Error(err)
return err
}
log.Trace("tasks:", taskSet)
return nil
}
func GetDefaultUserAgent() string {
return "OMC-crontask/" + global.Version
}
const defaultConfigFile = "./etc/crontask.yaml"
var ConfigFile *string
func init() {
ConfigFile = flag.String("c", defaultConfigFile, "config file")
pv := flag.Bool("v", false, "print version")
ph := flag.Bool("h", false, "print help")
flag.Parse()
if *pv {
fmt.Printf("OMC crontask version: %s\n%s\n%s\n\n", global.Version, global.BuildTime, global.GoVer)
os.Exit(0)
}
if *ph {
flag.Usage()
os.Exit(0)
}
err := ReadConfig(*ConfigFile)
if err != nil {
fmt.Println("Failed to ReadConfig:", err)
os.Exit(3)
}
}
-32
View File
@@ -1,32 +0,0 @@
//go:build linux
// +build linux
package main
import (
"os"
"os/signal"
"syscall"
"ems.agt/lib/log"
)
// 启动一个 goroutine 监听信号量
func ReloadRoutine() {
sigCh := make(chan os.Signal, 1)
signal.Notify(sigCh, syscall.SIGUSR1)
for {
<-sigCh
log.Info("Received reload signal, reloading config...")
err := ReadConfig(*ConfigFile)
if err != nil {
log.Error("Failed to ReadConfig:", err)
continue
}
log.Info("Config reloaded successfully.")
}
}
-34
View File
@@ -1,34 +0,0 @@
//go:build windows
// +build windows
package main
import (
"os"
"os/signal"
"syscall"
"ems.agt/lib/log"
)
// 启动一个 goroutine 监听信号量
func ReloadRoutine() {
sigCh := make(chan os.Signal, 1)
//signal.Notify(sigCh, syscall.SIGUSR1)
signal.Notify(sigCh, syscall.SIGTRAP)
for {
<-sigCh
log.Info("Received reload signal, reloading config...")
err := ReadConfig(*ConfigFile)
if err != nil {
log.Error("Failed to ReadConfig:", err)
continue
}
log.Info("Config reloaded successfully.")
}
}
-41
View File
@@ -1,41 +0,0 @@
package main
import (
"fmt"
"os"
"ems.agt/lib/dborm"
"ems.agt/lib/global"
"ems.agt/lib/log"
)
func main() {
log.InitLogger(yamlConfig.Logger.File, yamlConfig.Logger.Duration, yamlConfig.Logger.Count, "omc:crontask", GetLogLevel())
fmt.Printf("OMC crontask version: %s\n", global.Version)
log.Infof("========================= OMC crontask startup =========================")
log.Infof("OMC crontask version: %s %s %s", global.Version, global.BuildTime, global.GoVer)
err := dborm.InitDbClient(yamlConfig.Database.Type, yamlConfig.Database.User, yamlConfig.Database.Password,
yamlConfig.Database.Host, yamlConfig.Database.Port, yamlConfig.Database.Name)
if err != nil {
fmt.Println("dborm.initDbClient err:", err)
os.Exit(1)
}
err = initDbClient()
if err != nil {
fmt.Println("initDBClient error:", err)
os.Exit(1)
}
ReadTasksYaml(yamlConfig.Tasks.File)
//go ReloadRoutine()
go initCronTasks()
go initCronTabs()
select {}
}
-526
View File
@@ -1,526 +0,0 @@
package main
import (
"database/sql"
"fmt"
"time"
"ems.agt/lib/log"
_ "github.com/go-sql-driver/mysql"
"xorm.io/xorm"
)
type NullTime sql.NullTime
type DBClient struct {
dbType string
dbUrl string
dbConnMaxLifetime time.Duration
dbMaxIdleConns int
dbMaxOpenConns int
IsShowSQL bool
xEngine *xorm.Engine
}
var dbClient DBClient
func initDbClient() error {
db := yamlConfig.Database
dbClient.dbUrl = fmt.Sprintf("%s:%s@tcp(%s:%s)/%s?charset=utf8&parseTime=true&loc=Local",
db.User, db.Password, db.Host, db.Port, db.Name)
dbClient.dbType = db.Type
dbClient.dbConnMaxLifetime = 0
dbClient.dbMaxIdleConns = 0
dbClient.dbMaxOpenConns = 0
if log.GetLevel() == log.LOG_TRACE {
dbClient.IsShowSQL = true
}
var err error
dbClient.xEngine, err = xorm.NewEngine(dbClient.dbType, dbClient.dbUrl)
if err != nil {
log.Error("Failed to connect database:", err)
return err
}
//dbClient.xEngine.Ping() // 可以判断是否能连接
//if err != nil {
// log.Error("Failed to ping database:", err)
// return err
//}
// defer dbClient.xEngine.Close() // 退出后关闭
if dbClient.IsShowSQL == true {
dbClient.xEngine.ShowSQL(true)
}
dbClient.xEngine.SetConnMaxLifetime(dbClient.dbConnMaxLifetime)
dbClient.xEngine.SetMaxIdleConns(dbClient.dbMaxIdleConns)
dbClient.xEngine.SetMaxOpenConns(dbClient.dbMaxOpenConns)
return nil
}
var xEngine *xorm.Engine
func XormConnectDatabaseWithUri(sql string) (*xorm.Engine, error) {
sqlStr := fmt.Sprintf("%s?charset=utf8&parseTime=true&loc=Local", sql)
var err error
xEngine, err = xorm.NewEngine("mysql", sqlStr) //1、Create xorm engine
if err != nil {
fmt.Println("Failed to connect database:", err)
return nil, err
}
xEngine.ShowSQL(true)
return xEngine, nil
}
type NeInfo struct {
Id int `json:"-" xorm:"pk 'id' autoincr"`
NeType string `json:"neType" xorm:"ne_type"`
NeId string `json:"neId" xorm:"ne_id"` // neUID/rmUID 网元唯一标识
RmUID string `json:"rmUID" xorm:"rm_uid"` // neUID/rmUID网元UID
NeName string `json:"neName" xorm:"ne_name"` // NeName/UserLabel 网元名称/网元设备友好名称
Ip string `json:"ip" xorm:"ip"`
Port string `json:"port" xorm:"port"`
PvFlag string `json:"pvFlag" xorm:"pv_flag"` // 网元虚实性标识 VNF/PNF: 虚拟/物理
NeAddress string `json:"neAddress" xorm:"ne_address"` // 只对PNF
Province string `json:"province" xorm:"province"` // 网元所在省份
VendorName string `json:"vendorName" xorm:"vendor_name"` // 厂商名称
Dn string `json:"dn" xorm:"dn"` // 网络标识
Status int `json:"status" xorm:"status"`
UpdateTime string `json:"-" xorm:"-"`
}
func XormGetNeInfoByType(neType string, nes *[]NeInfo) (*[]NeInfo, error) {
log.Debug("XormGetNeInfoByType processing... ")
ne := new(NeInfo)
rows, err := dbClient.xEngine.Table("ne_info").Where("status=0 and ne_type =?", neType).Rows(ne)
if err != nil {
log.Error("Failed to get table ne_info from database:", err)
return nil, err
}
defer rows.Close()
for rows.Next() {
err := rows.Scan(ne)
if err != nil {
log.Error("Failed to get table ne_info from database:", err)
return nil, err
}
*nes = append(*nes, *ne)
}
log.Debug("nes:", nes)
return nes, nil
}
func XormGetAllNeInfo(nes *[]NeInfo) (*[]NeInfo, error) {
log.Debug("XormGetAllNeInfo processing... ")
ne := new(NeInfo)
rows, err := dbClient.xEngine.Table("ne_info").Where("status='0'").Rows(ne)
if err != nil {
log.Error("Failed to get table ne_info from database:", err)
return nil, err
}
defer rows.Close()
for rows.Next() {
err := rows.Scan(ne)
if err != nil {
log.Error("Failed to get table ne_info from database:", err)
return nil, err
}
*nes = append(*nes, *ne)
}
log.Debug("nes:", nes)
return nes, nil
}
type NeState struct {
Id int `json:"id" xorm:"pk 'id' autoincr"`
NeType string `json:"neType" xorm:"ne_type"`
NeId string `json:"neId" xorm:"ne_id"`
Version string `json:"version" xorm:"version"`
Capability uint32 `json:"capability" xorm:"capability"`
SerialNum string `json:"serialNum" xorm:"serial_num"`
ExpiryDate string `json:"expiryDate" xorm:"expiry_date"`
CpuUsage string `json:"cpuUsage" xorm:"cpu_usage"`
MemUsage string `json:"memUsage" xorm:"mem_usage"`
DiskSpace string `json:"diskSpace" xorm:"disk_space"`
Timestamp string `json:"timestamp" xorm:"-" `
}
func XormInsertNeState(neState *NeState) (int64, error) {
log.Debug("XormInsertNeState processing... ")
var affected int64 = 0
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.InsertOne(neState)
session.Commit()
return affected, err
}
type NorthboundPm struct {
Id int `json:"-" xorm:"pk 'id' autoincr"`
Date string `json:"Date" xorm:"date"`
Index int `json:"Index" xorm:"index"` // 1天中测量时间粒度(如15分钟)的切片索引: 0~95
Timestamp string `json:"-" xorm:"-"`
NeName string `json:"NeName" xorm:"ne_name"` // UserLabel
RmUID string `json:"RmUID" xorm:"rm_uid"`
NeType string `json:"NeType" xorm:"ne_type"` // 网元类型
PmVersion string `json:"PmVersion" xorm:"pm_version"` // 性能数据版本号
Dn string `json:"Dn" xorm:"dn"` // (???)网元标识, 如:RJN-CMZJ-TZ,SubNetwork=5GC88,ManagedElement=SMF53456,SmfFunction=53456
Period string `json:"Period" xorm:"period"` // 测量时间粒度选项:5/15/30/60
TimeZone string `json:"TimeZone" xorm:"time_zone"`
StartTime string `json:"StartTime" xorm:"start_time"`
Datas []struct {
ObjectType string `json:"ObjectType" xorm:"object_type"` // 网络资源类别名称, Pm指标项列表中为空间粒度 如:SmfFunction
KPIs []struct {
KPIID string `json:"KPIID" xorm:"pm_name"` // 指标项, 如: SMF.AttCreatePduSession._Dnn
KPIValues []struct {
Name string `json:"Name" xorm:"name"` // 单个的写"Total", 或者指标项有多个测量项,如Dnn的名称写对应的Dnn"cmnet"/"ims"
Value int `json:"Value" xorm:"value"`
} `json:"KPIValues" xorm:"sub_datas"`
} `json:"KPIs" xorm:"pm_datas"`
} `json:"Datas" xorm:"datas"`
}
func XormInsertNorthboundPm(pm *NorthboundPm) (int64, error) {
log.Debug("XormInsertNorthboundPm processing... ")
var affected int64 = 0
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.InsertOne(pm)
session.Commit()
return affected, err
}
func XormGetNorthboundPm(date string, index int, neType string, pms *[]NorthboundPm) (*[]NorthboundPm, error) {
log.Debug("XormGetNorthboundPm processing... ")
pm := new(NorthboundPm)
rows, err := dbClient.xEngine.Table("northbound_pm").
Where("`ne_type` = ? AND `date` = ? AND `index` = ?", neType, date, index).
Rows(pm)
if err != nil {
log.Error("Failed to get table northbound_pm from database:", err)
return nil, err
}
defer rows.Close()
for rows.Next() {
err := rows.Scan(pm)
if err != nil {
log.Error("Failed to get table northbound_pm from database:", err)
return nil, err
}
*pms = append(*pms, *pm)
}
log.Debug("pms:", pms)
return pms, nil
}
func XormGetMeasureThreshold(tableName string, where string, datas *[]MeasureThreshold) (*[]MeasureThreshold, error) {
log.Debug("XormGetMeasureThreshold processing... ")
row := new(MeasureThreshold)
rows, err := dbClient.xEngine.Table(tableName).Where(where).Rows(row)
if err != nil {
log.Errorf("Failed to get table %s from database: %v", tableName, err)
return nil, err
}
defer rows.Close()
for rows.Next() {
err := rows.Scan(row)
if err != nil {
log.Error("Failed to get table measure_threshold from database:", err)
return nil, err
}
*datas = append(*datas, *row)
}
log.Debug("datas:", datas)
return datas, nil
}
type MeasureThreshold struct {
Id int `json:"id" xorm:"pk 'id' autoincr"`
NeType string `json:"neType" xorm:"ne_type"`
KpiSet string `json:"kpiSet" xorm:"kpi_set"`
Threshold int64 `json:"threshold" xorm:"threshold"`
Status string `json:"status" xorm:"Status"`
OrigSeverity string `json:"origSeverity" xorm:"orig_severity"`
AlarmCode string `json:"alarmCode" xorm:"alarm_code"`
AlarmFlag bool `json:"alarmFlag" xorm:"alarm_flag"`
}
type MeasureData struct {
// Id int `json:"id" xorm:"pk 'id' autoincr"`
Id int `json:"id" xorm:"-"`
Date string `json:"date" xorm:"date"`
TaskId int `json:"taskId"`
NeType string `json:"neType" xorm:"ne_type"`
NeName string `json:"neName" xorm:"ne_name"`
RmUid string `json:"rmUid" xorm:"rm_uid"`
GranulOption string `json:"granulOption" xorm:"granul_option"`
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
KpiCode string `json:"kpiCode" xorm:"kpi_code"`
KpiId string `json:"kpiId" xorm:"kpi_id"`
KpiExt string `json:"kpiExt" xorm:"kpi_ext"`
Value int64 `json:"value"`
Timestamp string `json:"timestamp"`
}
func XormGetMeasureData(where string, datas *[]MeasureData) (*[]MeasureData, error) {
log.Debug("XormGetMeasureData processing... ")
row := new(MeasureData)
rows, err := dbClient.xEngine.Where(where).Rows(row)
if err != nil {
log.Errorf("Failed to get table measure_data from database: %v", err)
return nil, err
}
defer rows.Close()
for rows.Next() {
err := rows.Scan(row)
if err != nil {
log.Error("Failed to get table measure_data from database:", err)
return nil, err
}
*datas = append(*datas, *row)
}
log.Debug("datas:", datas)
return datas, nil
}
func XormGetMeasureDataLastOne(neType, rmUID string, taskId int) (*MeasureData, error) {
log.Debug("XormGetMeasureDataOneByKpi processing... ")
measureData := new(MeasureData)
_, err := dbClient.xEngine.
SQL("select * from measure_data where ne_type=? and rm_uid=? and task_id=? order by start_time desc limit 1", neType, rmUID, taskId).
Get(measureData)
if err != nil {
log.Errorf("Failed to get measure_data: %v", err)
return nil, err
}
return measureData, nil
}
func XormGetMeasureDataOneByKpi(kpi string) (*MeasureData, error) {
log.Debug("XormGetMeasureDataOneByKpi processing... ")
measureData := new(MeasureData)
_, err := dbClient.xEngine.
SQL("select * from measure_data where kpi_id = ? order by timestamp desc limit 1", kpi).
Get(measureData)
if err != nil {
log.Errorf("Failed to get table measure_data from database: %v", err)
return nil, err
}
log.Debug("measureData:", measureData)
return measureData, nil
}
type AlarmDefine struct {
AlarmId string `json:"alarmId" xorm:"alarm_id"`
AlarmCode int `json:"alarmCode" xorm:"alarm_code"`
AlarmTitle string `json:"alarmTitle" xorm:"alarm_title"`
NeType string `json:"neType" xorm:"ne_type"`
AlarmType string `json:"alarmType" xorm:"alarm_type"`
OrigSeverity string `json:"origSeverity" xorm:"orig_severity"`
ObjectUid string `json:"objectUid" xorm:"object_uid"`
ObjectName string `json:"objectName" xorm:"object_name"`
ObjectType string `json:"objectType" xorm:"object_type"`
LocationInfo string `json:"locationInfo"`
SpecificProblem string `json:"specificProblem"`
SpecificProblemId string `json:"specificProblemId" xorm:"specific_problem_id"`
AddInfo string `json:"addInfo" xorm:"add_info"`
Threshold int64 `json:"threshold" xorm:"threshold"`
Status string `json:"status" xorm:"status"`
}
func XormGetAlarmDefine(alarmCode string) (*AlarmDefine, error) {
log.Debug("XormGetAlarmDefine processing... ")
alarmDefine := new(AlarmDefine)
_, err := dbClient.xEngine.
Where("alarm_code=? and status='Active'", alarmCode).
Get(alarmDefine)
if err != nil {
log.Error("Failed to get table alarm_define from database:", err)
return nil, err
}
return alarmDefine, nil
}
const (
AlarmStatusClear = 0
AlarmStatusActive = 1
AlarmStatusClearString = "0"
AlarmStatusActiveString = "1"
)
const (
ClearTypeUnclear = 0
ClearTypeAutoClear = 1
ClearTypeManualClear = 2
)
type Alarm struct {
Id int `json:"-" xorm:"pk 'id' autoincr"`
AlarmSeq int `json:"alarmSeq"`
AlarmId string `json:"alarmId" xorm:"alarm_id"`
NeId string `json:"neId"`
AlarmCode int `json:"alarmCode"`
AlarmTitle string `json:"alarmTitle"`
EventTime string `json:"eventTime"`
AlarmType string `json:"alarmType"`
OrigSeverity string `json:"origSeverity"`
PerceivedSeverity string `json:"perceivedSeverity"`
PVFlag string `json:"pvFlag" xorm:"pv_flag"`
NeName string `json:"neName"`
NeType string `json:"neType"`
ObjectUid string `json:"objectUid" xorm:"object_uid"`
ObjectName string `json:"objectName" xorm:"object_name"`
ObjectType string `json:"objectType" xorm:"object_type"`
LocationInfo string `json:"locationInfo"`
Province string `json:"province"`
AlarmStatus int `json:"alarmStatus" xorm:"alarm_status"`
SpecificProblem string `json:"specificProblem"`
SpecificProblemID string `json:"specificProblemID" xorm:"specific_problem_id"`
AddInfo string `json:"addInfo"`
// ClearType int `json:"-" xorm:"clear_type"` // 0: Unclear, 1: Auto clear, 2: Manual clear
// ClearTime sql.NullTime `json:"-" xorm:"clear_time"`
}
type AlarmLog struct {
NeType string `json:"neType" xorm:"ne_type"`
NeId string `json:"neId" xorm:"ne_id"`
AlarmSeq string `json:"alarmSeq" xorm:"alarm_seq"`
AlarmId string `json:"alarmId" xorm:"alarm_id"`
AlarmCode int `json:"alarmCode" xorm:"alarm_code"`
AlarmStatus int `json:"alarmStatus" xorm:"alarm_status"`
EventTime string `json:"eventTime" xorm:"event_time"`
// ClearTime sql.NullTime `json:"clearTime" xorm:"clear_time"`
LogTime string `json:"logTime" xorm:"-"`
}
func XormInsertAlarm(alarm *Alarm) (int64, error) {
log.Debug("XormInsertAlarm processing... ")
var affected int64 = 0
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.InsertOne(alarm)
session.Commit()
return affected, err
}
func XormInsertTalbeOne(tbInfo interface{}) (int64, error) {
log.Debug("XormInsertTalbeOne processing... ")
var affected int64 = 0
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.InsertOne(tbInfo)
session.Commit()
return affected, err
}
func XormGetDataBySQL(sql string) (*[]map[string]string, error) {
log.Debug("XormGetDataBySQL processing... ")
rows := make([]map[string]string, 0)
rows, err := dbClient.xEngine.QueryString(sql)
if err != nil {
log.Errorf("Failed to QueryString:", err)
return nil, err
}
return &rows, nil
}
func XormGetTableOneByWhere(where string, tableName string) (*[]interface{}, error) {
log.Debug("XormGetTableOneByWhere processing... ")
row := new([]interface{})
tb, err := dbClient.xEngine.TableInfo(tableName)
if err != nil {
log.Error("Failed to get TableInfo:", err)
return nil, err
}
columns := tb.Columns()
log.Debug("columns:", columns)
has, err := dbClient.xEngine.Table(tableName).Where(where).Get(row)
if err != nil {
log.Errorf("Failed to get table %s from database:%v", tableName, err)
return nil, err
} else if has == false {
log.Infof("Not found data from %s where=%s", tableName, where)
return nil, nil
}
log.Debugf("%s:%v", tableName, row)
return row, nil
}
func XormGetTableOneById(id int, tableName string) (*[]interface{}, error) {
log.Debug("XormGetTableOneById processing... ")
rows := new([]interface{})
has, err := dbClient.xEngine.Table(tableName).ID(id).Get(rows)
if err != nil {
log.Errorf("Failed to get table %s from database:id=%d, %v", tableName, id, err)
return nil, err
} else if has == false {
log.Infof("Not found table %s from database:id=%d", tableName, id)
return nil, nil
}
log.Debugf("%s:%v", tableName, rows)
return rows, nil
}
func XormUpdateTableById(id int, tableName string, tbInfo interface{}, cols ...string) (int64, error) {
log.Debug("XormUpdateTableById processing... ")
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.Table(tableName).ID(id).MustCols(cols...).Update(tbInfo)
if err != nil {
log.Errorf("Failed to update table %s from database:%v", tableName, err)
return 0, err
}
session.Commit()
return affected, nil
}
func XormUpdateTableByWhere(where string, tableName string, tbInfo interface{}) (int64, error) {
log.Debug("XormUpdateTableByWhere processing... ")
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.Table(tableName).Where(where).Update(tbInfo)
if err != nil {
log.Errorf("Failed to update table %s from database:%v", tableName, err)
return 0, err
}
session.Commit()
return affected, nil
}
-49
View File
@@ -1,49 +0,0 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
AmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
AmfGuamiList: ""
SnssaiList: ""
MaxUser: ""
RelativeCapacity: ""
MaxGnbNum: ""
EpRpDynN8Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN11Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN12Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
Loaded 100 of 446 files, more files were not shown because too many files have changed in this diff. Show more