feat: 网元信息配置读写,cmd命令直发函数
This commit is contained in:
@@ -42,4 +42,13 @@ type INeInfo interface {
|
||||
|
||||
// CheckUniqueNeTypeAndNeId 校验同类型下标识是否唯一
|
||||
CheckUniqueNeTypeAndNeId(neType, neId, infoId string) bool
|
||||
|
||||
// NeRunCMD 向网元发送cmd命令
|
||||
NeRunCMD(neType, neId, cmd string) (string, error)
|
||||
|
||||
// NeConfigFileRead 网元配置文件读取 网元配置yaml文件复制到本地后通过filePath读取
|
||||
NeConfigFileRead(neInfo model.NeInfo, filePath string) []string
|
||||
|
||||
// NeConfigFileWirte 网元配置文件写入 content内容 sync同步到网元端
|
||||
NeConfigFileWirte(neInfo model.NeInfo, filePath, content string, sync bool) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user