style: 网元模块RunSSHClient函数命名

This commit is contained in:
TsMask
2024-06-12 16:28:54 +08:00
parent 4f352fc241
commit e254f0b1f9
5 changed files with 24 additions and 24 deletions

View File

@@ -47,11 +47,11 @@ type INeInfo interface {
// CheckUniqueNeTypeAndNeId 校验同类型下标识是否唯一
CheckUniqueNeTypeAndNeId(neType, neId, id string) bool
// NeRunSSHclient 网元主机的SSH客户端-为创建相关连接
NeRunSSHclient(neType, neId string) (*ssh.ConnSSH, error)
// NeRunSSHClient 网元主机的SSH客户端-为创建相关连接
NeRunSSHClient(neType, neId string) (*ssh.ConnSSH, error)
// NeRunCMD 向网元发送cmd命令
NeRunCMD(neType, neId, cmd string) (string, error)
// NeRunSSHCmd 网元主机的SSH客户端发送cmd命令
NeRunSSHCmd(neType, neId, cmd string) (string, error)
// neConfOAMRead 网元OAM配置文件读取
NeConfOAMRead(neType, neId string) (map[string]any, error)