feat: 安装包上传到网元主机执行安装命令
This commit is contained in:
@@ -25,7 +25,8 @@ type INeSoftware interface {
|
||||
// CheckUniqueTypeAndNameAndVersion 校验网元类型和文件名版本是否唯一
|
||||
CheckUniqueTypeAndNameAndVersion(neType, name, version, id string) bool
|
||||
|
||||
// UploadToNeHost 安装包上传到网元主机
|
||||
// 返回执行命令步骤
|
||||
UploadToNeHost(neSoftware model.NeSoftware) ([]string, error)
|
||||
// InstallToNeHost 安装包上传到网元主机执行安装命令
|
||||
//
|
||||
// action 安装行为:install upgrade
|
||||
InstallToNeHost(action string, neSoftware model.NeSoftware, preinput map[string]string) (string, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user