feat: 支持OAM配置修改同步到网元

This commit is contained in:
TsMask
2024-05-11 10:03:17 +08:00
parent ab6d610dac
commit 9357b40b88
5 changed files with 147 additions and 32 deletions

View File

@@ -53,8 +53,11 @@ type INeInfo interface {
// NeRunCMD 向网元发送cmd命令
NeRunCMD(neType, neId, cmd string) (string, error)
// neConfOAMRead 网元OAM配置文件读取
NeConfOAMRead(neType, neId string) (map[string]any, error)
// NeConfOAMSync 网元OAM配置文件生成并同步
NeConfOAMSync(neInfo model.NeInfo, sync bool) error
NeConfOAMSync(neInfo model.NeInfo, content map[string]any, sync bool) error
// NeConfPara5GRead 网元公共配置文件读取
NeConfPara5GRead() (map[string]any, error)