feat: 网元OAM配置文件读写接口和部分接口参数变更

This commit is contained in:
TsMask
2024-04-25 17:21:48 +08:00
parent 4e33857f66
commit 795fa18ee2
5 changed files with 166 additions and 37 deletions

View File

@@ -61,11 +61,15 @@ type INeInfo interface {
// NeConfigFileWirte 网元配置文件写入 content内容 sync同步到网元端
NeConfigFileWirte(neInfo model.NeInfo, filePath, fileType string, content any, sync bool) error
// NeConfOAMRead 网元OAM配置文件读取
NeConfOAMRead(neType, neId string) (map[string]any, error)
// NeConfOAMWirte 网元OAM配置文件写入 content内容 sync同步到网元端
NeConfOAMWirte(neType, neId string, content any, sync bool) error
// NeConfPara5GRead 网元公共配置文件读取
//
// 返回 string map[string]any
NeConfPara5GRead(fileType string) any
NeConfPara5GRead() (map[string]any, error)
// NeConfPara5GWirte 网元公共配置文件写入 content内容 syncNE同步到网元端NeType@NeId
NeConfPara5GWirte(fileType string, content any, syncNE []string) error
NeConfPara5GWirte(content map[string]any, syncNE []string) error
}