Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EAPIClient ¶
type EAPIClient struct {
// contains filtered or unexported fields
}
func NewEAPIClient ¶
func NewEAPIClient(jchfChan chan []*kt.JCHF, gconf *kt.SnmpGlobalConfig, conf *kt.SnmpDeviceConfig, metrics *kt.SnmpDeviceMetric, log logger.ContextL) (*EAPIClient, error)
func (*EAPIClient) GetName ¶
func (c *EAPIClient) GetName() string
type MLAGDetail ¶
type MLAGDetail struct { FailoverCauseList []string `json:"failoverCauseList"` UdpHeartbeatsSent int64 `json:"udpHeartbeatsSent"` LacpStandby bool `json:"lacpStandby"` MlagState string `json:"mlagState"` HeartbeatInterval int `json:"heartbeatInterval"` EffectiveHeartbeatInterval int `json:"effectiveHeartbeatInterval"` HeartbeatTimeout int `json:"heartbeatTimeout"` StateChanges int `json:"stateChanges"` FastMacRedirectionEnabled bool `json:"fastMacRedirectionEnabled"` PeerPortsErrdisabled bool `json:"peerPortsErrdisabled"` MlagHwReady bool `json:"mlagHwReady"` UdpHeartbeatAlive bool `json:"udpHeartbeatAlive"` FailoverInitiated bool `json:"failoverInitiated"` PeerMlagState string `json:"peerMlagState"` SecondaryFromFailover bool `json:"secondaryFromFailover"` PrimaryPriority int `json:"primaryPriority"` Failover bool `json:"failover"` Enabled bool `json:"enabled"` PeerMacRoutingSupported bool `json:"peerMacRoutingSupported"` PeerPrimaryPriority int `json:"peerPrimaryPriority"` PeerMacAddress string `json:"peerMacAddress"` MountChanges int `json:"mountChanges"` HeartbeatTimeoutsSinceReboot int64 `json:"heartbeatTimeoutsSinceReboot"` // contains filtered or unexported fields }
type Peer ¶
type Peer struct { Description string `json:"description"` MsgSent int64 `json:"msgSent"` InMsgQueue int64 `json:"inMsgQueue"` PrefixReceived int64 `json:"prefixReceived"` UpDownTime float64 `json:"upDownTime"` Version int `json:"version"` PrefixAccepted int64 `json:"prefixAccepted"` MsgReceived int64 `json:"msgReceived"` PeerState string `json:"peerState"` OutMsgQueue int64 `json:"outMsgQueue"` UnderMaintenance bool `json:"underMaintenance"` ASN string `json:"asn"` PeerStateIdleReason string `json:"peerStateIdleReason"` }
type ShowMlag ¶
type ShowMlag struct { ConfigSanity string `json:"configSanity"` DomainId string `json:"domainId"` LocalIntfStatus string `json:"localIntfStatus"` LocalInterface string `json:"localInterface"` State string `json:"state"` ReloadDelay int `json:"reloadDelay"` PeerLink string `json:"peerLink"` NegStatus string `json:"negStatus"` PeerAddress string `json:"peerAddress"` PeerLinkStatus string `json:"peerLinkStatus"` SystemId string `json:"systemId"` DualPrimaryDetectionState string `json:"dualPrimaryDetectionState"` ReloadDelayNonMlag int `json:"reloadDelayNonMlag"` MlagPorts MLAGPorts `json:"mlagPorts"` PortsErrdisabled bool `json:"portsErrdisabled"` DualPrimaryPortsErrdisabled bool `json:"dualPrimaryPortsErrdisabled"` Detail MLAGDetail `json:"detail"` }
Click to show internal directories.
Click to hide internal directories.