feat: 网元版本操作升级和回退
This commit is contained in:
@@ -27,4 +27,9 @@ type INeVersion interface {
|
||||
|
||||
// CheckUniqueTypeAndID 校验网元类型和网元ID是否唯一
|
||||
CheckUniqueTypeAndID(neType, neId, id string) bool
|
||||
|
||||
// Operate 操作版本上传到网元主机执行命令
|
||||
//
|
||||
// action 安装行为:upgrade rollback
|
||||
Operate(action string, neVersion model.NeVersion, preinput map[string]string) (string, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user