feat: 网元软件包设为网元新版本的更新接口
This commit is contained in:
@@ -25,6 +25,9 @@ type INeSoftware interface {
|
||||
// CheckUniqueTypeAndNameAndVersion 校验网元类型和文件名版本是否唯一
|
||||
CheckUniqueTypeAndNameAndVersion(neType, name, version, id string) bool
|
||||
|
||||
// UpdateVersions 更新软件包对应网元的新版本
|
||||
UpdateVersions(neSoftware model.NeSoftware, neVersion model.NeVersion) int64
|
||||
|
||||
// InstallToNeHost 安装包上传到网元主机执行安装命令
|
||||
InstallToNeHost(neSoftware model.NeSoftware, preinput map[string]string) (string, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user