Documentation
¶
Index ¶
- func ArpIndexProcess(t *clitask.Table, index string, arp map[string]string) error
- func BackupFile(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func COMWARELLdp1(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func COMWARELLdp2(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func COMWAREMacTable(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func COMWAREPortChannel(remote *structs.L2DeviceRemoteInfo, ...) (comware_table *clitask.Table, err error)
- func COMWARESshLldp(remote *structs.L2DeviceRemoteInfo, ...) (lldp_table *clitask.Table, err error)
- func COMWARESshLldp2(remote *structs.L2DeviceRemoteInfo, ...) (lldp_table *clitask.Table, err error)
- func COMWARESshMactable(remote *structs.L2DeviceRemoteInfo, ...) (mactable *clitask.Table, err error)
- func COMWARESshStp(remote *structs.L2DeviceRemoteInfo, ...) (stp_table *clitask.Table, err error)
- func CdpIndexProcess(t *clitask.Table, index string, cdp map[string]string) error
- func CheckBoot(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func CheckDir(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func CheckImpact(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func CheckInstall(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func CheckInstall2(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func CheckStatus(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func CheckVersion(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func CiscoSshIosMactable(remote *structs.L2DeviceRemoteInfo, ...) (mac_table *clitask.Table, err error)
- func CiscoSshLldp(remote *structs.L2DeviceRemoteInfo, ...) (lldp_table *clitask.Table, err error)
- func CiscoSshNexusMactable(remote *structs.L2DeviceRemoteInfo, ...) (mac_table *clitask.Table, err error)
- func CiscoStp(remote *structs.L2DeviceRemoteInfo, ...) (tableResult *clitask.Table, err error)
- func Config(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func ConfigCMDEXECOutput(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func ConfigWithCommand(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func ConfigWithTerminalCmd(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func Dot1dIndexProcess(t *clitask.Table, index string, dot1d map[string]string) error
- func Exec(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func ExecCmdMaps(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func ExecWithTerminalCmd(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func ExecWithTime(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func GeImpactMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table)
- func GetBootMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table)
- func GetDirMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result map[string]string)
- func GetInstallMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table)
- func GetInstallMethod2(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table)
- func GetPatchVersionMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table)
- func GetStatusMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table)
- func GetVersionAndImage(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func GetVersionAndImageMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (version, image string)
- func GetVersionMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (version string)
- func GetVersionMethod2(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (version, versionChild string)
- func H3cPortInfo(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func H3cPortInfo2(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func HotFixMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table)
- func HuaWeiCdp(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func HuaWeiLLdp(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func HuaWeiMacTable(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func HuaWeiPortChannel(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func HuaWeiPortInfo(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func HuaWeiSshArp(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func HuaWeiSshLldp(remote *structs.L2DeviceRemoteInfo, ...) (lldp_table *clitask.Table, err error)
- func HuaWeiSshMacTable(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func HuaWeiSshVlan(remote *structs.L2DeviceRemoteInfo, ...) (tableResult *clitask.Table, err error)
- func HuaWeiStp(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func HuaWeiStp82(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func IOSPortChannel(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func IOSPortInfo(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func ImportFtp(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func ImportFtpMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table)
- func InstallHotFix(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func Ipv6Neighbor(remote *structs.L2DeviceRemoteInfo, ...) (tb *clitask.Table, err error)
- func LLdpIndexProcess(t *clitask.Table, index string, lldp map[string]string) error
- func LLdpIndexProcess2(t *clitask.Table, index string, lldp map[string]string) error
- func LinkCheckImport(desc string) (result *clitask.Table)
- func LinkCheckPass(desc string) (result *clitask.Table)
- func MacProcess(t *clitask.Table, index string, mac map[string]string) error
- func NexusPortChannel(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func NexusPortInfo(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func NexusPortInfo2(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func NexusShRun(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func NormalArp(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func NormalCdp(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func NormalCdp2(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func NormalDot1dPort(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func NormalMacTable(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func NormalPortIp(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func NormalSystemName(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func NormalVlan(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func PatchVersion(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func PortIpIndexProcess(t *clitask.Table, index string, portip map[string]string) error
- func PortStatistics(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func Reboot(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func RebootMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table)
- func RuijiePortInfo(remote *structs.L2DeviceRemoteInfo, ...) (*clitask.Table, error)
- func RuijieSshLldp(remote *structs.L2DeviceRemoteInfo, ...) (lldp_table *clitask.Table, err error)
- func RunSnmpTask(task *snmp.SnmpTask, remote *structs.L2DeviceRemoteInfo) (*clitask.Table, error)
- func SSHGetWithCMD(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table, err error)
- func SSHGetWithCMDTimeOut(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table, err error)
- func SSHGetWithCmcPrompt(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table, err error)
- func SSHGetWithCmdPrompt(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table, err error)
- func SSHGetWithConfig(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, ...) (result *clitask.Table, err error)
- func SnmpGetVersion(remote *structs.L2DeviceRemoteInfo, logger *log.Logger) (result *clitask.Table, err error)
- func StepSwitchInteraction(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func StepWitchCMDs(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, ...) (result *clitask.Table, err error)
- func VlanIndexProcess(t *clitask.Table, index string, vlan map[string]string) error
- type PortInfo
- type PortTxt
- type RowPort
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArpIndexProcess ¶
func BackupFile ¶
func BackupFile(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func COMWARELLdp1 ¶
func COMWARELLdp1(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func COMWARELLdp2 ¶
func COMWARELLdp2(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func COMWAREMacTable ¶
func COMWAREMacTable(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func COMWAREPortChannel ¶
func COMWAREPortChannel(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (comware_table *clitask.Table, err error)
func COMWARESshLldp ¶
func COMWARESshLldp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (lldp_table *clitask.Table, err error)
func COMWARESshLldp2 ¶
func COMWARESshLldp2(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (lldp_table *clitask.Table, err error)
func COMWARESshMactable ¶
func COMWARESshMactable(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (mactable *clitask.Table, err error)
func COMWARESshStp ¶
func COMWARESshStp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (stp_table *clitask.Table, err error)
func CdpIndexProcess ¶
func CheckBoot ¶
func CheckBoot(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func CheckDir ¶
func CheckDir(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func CheckImpact ¶
func CheckImpact(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func CheckInstall ¶
func CheckInstall(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func CheckInstall2 ¶
func CheckInstall2(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func CheckStatus ¶
func CheckStatus(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func CheckVersion ¶
func CheckVersion(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func CiscoSshIosMactable ¶
func CiscoSshIosMactable(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (mac_table *clitask.Table, err error)
func CiscoSshLldp ¶
func CiscoSshLldp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (lldp_table *clitask.Table, err error)
func CiscoSshNexusMactable ¶
func CiscoSshNexusMactable(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (mac_table *clitask.Table, err error)
func CiscoStp ¶
func CiscoStp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (tableResult *clitask.Table, err error)
func Config ¶
func Config(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func ConfigCMDEXECOutput ¶
func ConfigCMDEXECOutput(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func ConfigWithCommand ¶
func ConfigWithCommand(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func ConfigWithTerminalCmd ¶
func ConfigWithTerminalCmd(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func Dot1dIndexProcess ¶
func Exec ¶
func Exec(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func ExecCmdMaps ¶
func ExecCmdMaps(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func ExecWithTerminalCmd ¶
func ExecWithTerminalCmd(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func ExecWithTime ¶
func ExecWithTime(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, timeout int, options ...interface{}) (result *clitask.Table, err error)
func GeImpactMethod ¶
func GeImpactMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table)
func GetBootMethod ¶
func GetBootMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table)
func GetDirMethod ¶
func GetDirMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result map[string]string)
func GetInstallMethod ¶
func GetInstallMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table)
func GetInstallMethod2 ¶
func GetInstallMethod2(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table)
func GetPatchVersionMethod ¶
func GetPatchVersionMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table)
func GetStatusMethod ¶
func GetStatusMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table)
func GetVersionAndImage ¶
func GetVersionAndImage(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func GetVersionAndImageMethod ¶
func GetVersionAndImageMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (version, image string)
func GetVersionMethod ¶
func GetVersionMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (version string)
func GetVersionMethod2 ¶
func GetVersionMethod2(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (version, versionChild string)
func H3cPortInfo ¶
func H3cPortInfo(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func H3cPortInfo2 ¶
func H3cPortInfo2(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func HotFixMethod ¶
func HotFixMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table)
func HuaWeiCdp ¶
func HuaWeiCdp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func HuaWeiLLdp ¶
func HuaWeiLLdp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func HuaWeiMacTable ¶
func HuaWeiMacTable(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func HuaWeiPortChannel ¶
func HuaWeiPortChannel(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func HuaWeiPortInfo ¶
func HuaWeiPortInfo(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func HuaWeiSshArp ¶
func HuaWeiSshArp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func HuaWeiSshLldp ¶
func HuaWeiSshLldp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (lldp_table *clitask.Table, err error)
func HuaWeiSshMacTable ¶
func HuaWeiSshMacTable(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func HuaWeiSshVlan ¶
func HuaWeiSshVlan(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (tableResult *clitask.Table, err error)
func HuaWeiStp ¶
func HuaWeiStp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func HuaWeiStp82 ¶
func HuaWeiStp82(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func IOSPortChannel ¶
func IOSPortChannel(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func IOSPortInfo ¶
func IOSPortInfo(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func ImportFtp ¶
func ImportFtp(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func ImportFtpMethod ¶
func ImportFtpMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table)
func InstallHotFix ¶
func InstallHotFix(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func Ipv6Neighbor ¶
func Ipv6Neighbor(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (tb *clitask.Table, err error)
func LLdpIndexProcess ¶
func LLdpIndexProcess2 ¶
func LinkCheckImport ¶
func LinkCheckPass ¶
func NexusPortChannel ¶
func NexusPortChannel(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func NexusPortInfo ¶
func NexusPortInfo(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func NexusPortInfo2 ¶
func NexusPortInfo2(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
sh interface |json
func NexusShRun ¶
func NexusShRun(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func NormalArp ¶
func NormalArp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func NormalCdp ¶
func NormalCdp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, useDot1D bool) (*clitask.Table, error)
func NormalCdp2 ¶
func NormalCdp2(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, useDot1D bool) (*clitask.Table, error)
func NormalDot1dPort ¶
func NormalDot1dPort(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func NormalMacTable ¶
func NormalMacTable(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func NormalPortIp ¶
func NormalPortIp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func NormalSystemName ¶
func NormalSystemName(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func NormalVlan ¶
func NormalVlan(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func PatchVersion ¶
func PatchVersion(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func PortIpIndexProcess ¶
func PortStatistics ¶
func PortStatistics(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func Reboot ¶
func Reboot(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func RebootMethod ¶
func RebootMethod(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table)
func RuijiePortInfo ¶
func RuijiePortInfo(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (*clitask.Table, error)
func RuijieSshLldp ¶
func RuijieSshLldp(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (lldp_table *clitask.Table, err error)
func RunSnmpTask ¶
func SSHGetWithCMD ¶
func SSHGetWithCMD(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table, err error)
func SSHGetWithCMDTimeOut ¶
func SSHGetWithCMDTimeOut(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, timeout int, options ...interface{}) (result *clitask.Table, err error)
func SSHGetWithCmcPrompt ¶
func SSHGetWithCmcPrompt(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table, err error)
func SSHGetWithCmdPrompt ¶
func SSHGetWithCmdPrompt(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table, err error)
func SSHGetWithConfig ¶
func SSHGetWithConfig(remote *structs.L2DeviceRemoteInfo, deviceType terminalmode.DeviceType, logger *log.Logger, options ...interface{}) (result *clitask.Table, err error)
func SnmpGetVersion ¶
func StepSwitchInteraction ¶
func StepSwitchInteraction(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
func StepWitchCMDs ¶
func StepWitchCMDs(deviceType terminalmode.DeviceType, remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, options ...interface{}) (result *clitask.Table, err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.