Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CfgLoadType ¶
type CfgLoadType int
const CfgLoadRunningConfigDownload CfgLoadType = 22
func (CfgLoadType) String ¶
func (i CfgLoadType) String() string
type Config ¶
type Config struct { Port uint16 Username string AuthPassword string PrivPassword string AuthProtocol gosnmp.SnmpV3AuthProtocol PrivProtocol gosnmp.SnmpV3PrivProtocol Timeout time.Duration Retries int MaxOIDs int MaxRepetitions uint32 }
func (*Config) DownloadConfig ¶
func (*Config) DownloadConfigs ¶
type LoadStatusType ¶
type LoadStatusType int
const ( LoadStatusNormal LoadStatusType = 1 LoadStatusFlashPrepareReadFailure LoadStatusType = 2 LoadStatusFlashReadError LoadStatusType = 3 LoadStatusFlashPrepareWriteFailure LoadStatusType = 4 LoadStatusFlashWriteError LoadStatusType = 5 LoadStatusTftpTimeoutError LoadStatusType = 6 LoadStatusTftpOutOfBufferSpace LoadStatusType = 7 LoadStatusTftpBusy LoadStatusType = 8 LoadStatusTftpRemoteOtherErrors LoadStatusType = 9 LoadStatusTftpRemoteNoFile LoadStatusType = 10 LoadStatusTftpRemoteBadAccess LoadStatusType = 11 LoadStatusTftpRemoteDiskFull LoadStatusType = 12 LoadStatusTftpRemoteBadOperation LoadStatusType = 13 LoadStatusTftpRemoteBadID LoadStatusType = 14 LoadStatusTftpRemoteFileExists LoadStatusType = 15 LoadStatusTftpRemoteNoUser LoadStatusType = 16 LoadStatusOperationError LoadStatusType = 17 LoadStatusLoading LoadStatusType = 18 )
func (LoadStatusType) String ¶
func (i LoadStatusType) String() string
Click to show internal directories.
Click to hide internal directories.