Documentation
¶
Index ¶
- func ShowIPBGPSummaryCmd(vrf string) string
- func ShowIPMrouteCmd() string
- func ShowIpRouteCmd(vrf string) string
- func ShowPIMNeighborsCmd() string
- type BGPNeighborSummary
- type GroupDetail
- type IpRoute
- type PIMNeighborDetail
- type PIMNeighborMode
- type ShowIPBGPSummary
- type ShowIPMroute
- type ShowIpRoute
- type ShowIpRouteVRF
- type ShowPIMNeighbors
- type SourceDetail
- type VRF
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShowIPBGPSummaryCmd ¶
func ShowIPMrouteCmd ¶
func ShowIPMrouteCmd() string
func ShowIpRouteCmd ¶
func ShowPIMNeighborsCmd ¶
func ShowPIMNeighborsCmd() string
Types ¶
type BGPNeighborSummary ¶
type BGPNeighborSummary struct {
MsgSent int `json:"msgSent"`
InMsgQueue int `json:"inMsgQueue"`
PrefixReceived int `json:"prefixReceived"`
UpDownTime float64 `json:"upDownTime"`
Version int `json:"version"`
MsgReceived int `json:"msgReceived"`
PrefixAccepted int `json:"prefixAccepted"`
PeerState string `json:"peerState"`
PeerStateIdleReason string `json:"peerStateIdleReason,omitempty"`
OutMsgQueue int `json:"outMsgQueue"`
UnderMaintenance bool `json:"underMaintenance"`
ASN string `json:"asn"`
}
type GroupDetail ¶
type GroupDetail struct {
GroupSources map[string]SourceDetail `json:"groupSources"`
}
type PIMNeighborDetail ¶
type PIMNeighborDetail struct {
Address string `json:"address"`
Interface string `json:"intf"`
CreationTime float64 `json:"creationTime"`
LastRefreshTime float64 `json:"lastRefreshTime"`
HoldTime int `json:"holdTime"`
Mode PIMNeighborMode `json:"mode"`
BFDState string `json:"bfdState"`
Transport string `json:"transport"`
Detail bool `json:"detail"`
SecondaryAddresses []string `json:"secondaryAddress"`
MaintenanceReceived string `json:"maintenanceReceived"`
MaintenanceSent string `json:"maintenanceSent"`
}
PIMNeighborDetail holds the specific information for a PIM neighbor.
type PIMNeighborMode ¶
type PIMNeighborMode struct {
Mode string `json:"mode"`
}
PIMNeighborMode describes the operational mode of the PIM neighbor.
type ShowIPBGPSummary ¶
type ShowIPMroute ¶
type ShowIPMroute struct {
Groups map[string]GroupDetail `json:"groups"`
}
ShowIPMroute represents the top-level structure containing multicast routing information.
type ShowIpRoute ¶
type ShowIpRoute struct {
VRFs map[string]ShowIpRouteVRF
}
type ShowIpRouteVRF ¶
type ShowPIMNeighbors ¶
type ShowPIMNeighbors struct {
Neighbors map[string]PIMNeighborDetail `json:"neighbors"`
}
ShowPIMNeighbors represents the top-level structure containing a map of PIM neighbor details.
type SourceDetail ¶
Click to show internal directories.
Click to hide internal directories.