Documentation ¶
Overview ¶
The MIB module for BGP-4.
Index ¶
- type BGP4MIB
- type BGP4MIB_Bgp
- type BGP4MIB_Bgp4PathAttrTable
- type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry
- type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrAtomicAggregate
- type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrBest
- type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrOrigin
- type BGP4MIB_BgpPeerTable
- type BGP4MIB_BgpPeerTable_BgpPeerEntry
- type BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerAdminStatus
- type BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState
- type BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState
- type BGP4MIB_BgpRcvdPathAttrTable
- type BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry
- type BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry_BgpPathAttrOrigin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BGP4MIB ¶
type BGP4MIB struct { EntityData types.CommonEntityData YFilter yfilter.YFilter Bgp BGP4MIB_Bgp // BGP peer table. This table contains, one entry per BGP peer, information // about the connections with BGP peers. BgpPeerTable BGP4MIB_BgpPeerTable // The BGP Received Path Attribute Table contains information about paths to // destination networks received from all peers running BGP version 3 or less. BgpRcvdPathAttrTable BGP4MIB_BgpRcvdPathAttrTable // The BGP-4 Received Path Attribute Table contains information about paths to // destination networks received from all BGP4 peers. Bgp4PathAttrTable BGP4MIB_Bgp4PathAttrTable }
BGP4MIB
func (*BGP4MIB) GetEntityData ¶
func (bGP4MIB *BGP4MIB) GetEntityData() *types.CommonEntityData
type BGP4MIB_Bgp ¶
type BGP4MIB_Bgp struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Vector of supported BGP protocol version numbers. Each peer negotiates the // version from this vector. Versions are identified via the string of bits // contained within this object. The first octet contains bits 0 to 7, the // second octet contains bits 8 to 15, and so on, with the most significant // bit referring to the lowest bit number in the octet (e.g., the MSB of the // first octet refers to bit 0). If a bit, i, is present and set, then the // version (i+1) of the BGP is supported. The type is string with length: // 1..255. BgpVersion interface{} // The local autonomous system number. The type is interface{} with range: // 0..65535. BgpLocalAs interface{} // The BGP Identifier of local system. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. BgpIdentifier interface{} }
BGP4MIB_Bgp
func (*BGP4MIB_Bgp) GetEntityData ¶
func (bgp *BGP4MIB_Bgp) GetEntityData() *types.CommonEntityData
type BGP4MIB_Bgp4PathAttrTable ¶
type BGP4MIB_Bgp4PathAttrTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Information about a path to a network. The type is slice of // BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry. Bgp4PathAttrEntry []*BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry }
BGP4MIB_Bgp4PathAttrTable The BGP-4 Received Path Attribute Table contains information about paths to destination networks received from all BGP4 peers.
func (*BGP4MIB_Bgp4PathAttrTable) GetEntityData ¶
func (bgp4PathAttrTable *BGP4MIB_Bgp4PathAttrTable) GetEntityData() *types.CommonEntityData
type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry ¶
type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. An IP address prefix in the Network Layer // Reachability Information field. This object is an IP address containing // the prefix with length specified by bgp4PathAttrIpAddrPrefixLen. Any bits // beyond the length specified by bgp4PathAttrIpAddrPrefixLen are zeroed. The // type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. Bgp4PathAttrIpAddrPrefix interface{} // This attribute is a key. Length in bits of the IP address prefix in the // Network Layer Reachability Information field. The type is interface{} with // range: 0..32. Bgp4PathAttrIpAddrPrefixLen interface{} // This attribute is a key. The IP address of the peer where the path // information was learned. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. Bgp4PathAttrPeer interface{} // The ultimate origin of the path information. The type is // Bgp4PathAttrOrigin. Bgp4PathAttrOrigin interface{} // The sequence of AS path segments. Each AS path segment is represented by a // triple <type, length, value>. The type is a 1-octet field which has two // possible values: 1 AS_SET: unordered set of ASs a // route in the UPDATE message has traversed 2 // AS_SEQUENCE: ordered set of ASs a route in the UPDATE // message has traversed. The length is a 1-octet field containing the number // of ASs in the value field. The value field contains one or more AS // numbers, each AS is represented in the octet string as a pair of octets // according to the following algorithm: first-byte-of-pair = ASNumber / // 256; second-byte-of-pair = ASNumber & 255;. The type is string with // length: 2..255. Bgp4PathAttrASPathSegment interface{} // The address of the border router that should be used for the destination // network. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. Bgp4PathAttrNextHop interface{} // This metric is used to discriminate between multiple exit points to an // adjacent autonomous system. A value of -1 indicates the absence of this // attribute. The type is interface{} with range: -1..2147483647. Bgp4PathAttrMultiExitDisc interface{} // The originating BGP4 speaker's degree of preference for an advertised // route. A value of -1 indicates the absence of this attribute. The type is // interface{} with range: -1..2147483647. Bgp4PathAttrLocalPref interface{} // Whether or not the local system has selected a less specific route without // selecting a more specific route. The type is Bgp4PathAttrAtomicAggregate. Bgp4PathAttrAtomicAggregate interface{} // The AS number of the last BGP4 speaker that performed route aggregation. A // value of zero (0) indicates the absence of this attribute. The type is // interface{} with range: 0..65535. Bgp4PathAttrAggregatorAS interface{} // The IP address of the last BGP4 speaker that performed route aggregation. // A value of 0.0.0.0 indicates the absence of this attribute. The type is // string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. Bgp4PathAttrAggregatorAddr interface{} // The degree of preference calculated by the receiving BGP4 speaker for an // advertised route. A value of -1 indicates the absence of this attribute. // The type is interface{} with range: -1..2147483647. Bgp4PathAttrCalcLocalPref interface{} // An indication of whether or not this route was chosen as the best BGP4 // route. The type is Bgp4PathAttrBest. Bgp4PathAttrBest interface{} // One or more path attributes not understood by this BGP4 speaker. Size zero // (0) indicates the absence of such attribute(s). Octets beyond the maximum // size, if any, are not recorded by this object. The type is string with // length: 0..255. Bgp4PathAttrUnknown interface{} }
BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry Information about a path to a network.
func (*BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry) GetEntityData ¶
func (bgp4PathAttrEntry *BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry) GetEntityData() *types.CommonEntityData
type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrAtomicAggregate ¶
type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrAtomicAggregate string
BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrAtomicAggregate represents selecting a more specific route.
const ( BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrAtomicAggregate_lessSpecificRrouteNotSelected BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrAtomicAggregate = "lessSpecificRrouteNotSelected" BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrAtomicAggregate_lessSpecificRouteSelected BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrAtomicAggregate = "lessSpecificRouteSelected" )
type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrBest ¶
type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrBest string
BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrBest represents was chosen as the best BGP4 route.
const ( BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrBest_false_ BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrBest = "false" BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrBest_true_ BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrBest = "true" )
type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrOrigin ¶
type BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrOrigin string
BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrOrigin represents information.
const ( BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrOrigin_igp BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrOrigin = "igp" BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrOrigin_egp BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrOrigin = "egp" BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrOrigin_incomplete BGP4MIB_Bgp4PathAttrTable_Bgp4PathAttrEntry_Bgp4PathAttrOrigin = "incomplete" )
type BGP4MIB_BgpPeerTable ¶
type BGP4MIB_BgpPeerTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Entry containing information about the connection with a BGP peer. The type // is slice of BGP4MIB_BgpPeerTable_BgpPeerEntry. BgpPeerEntry []*BGP4MIB_BgpPeerTable_BgpPeerEntry }
BGP4MIB_BgpPeerTable BGP peer table. This table contains, one entry per BGP peer, information about the connections with BGP peers.
func (*BGP4MIB_BgpPeerTable) GetEntityData ¶
func (bgpPeerTable *BGP4MIB_BgpPeerTable) GetEntityData() *types.CommonEntityData
type BGP4MIB_BgpPeerTable_BgpPeerEntry ¶
type BGP4MIB_BgpPeerTable_BgpPeerEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The remote IP address of this entry's BGP peer. // The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. BgpPeerRemoteAddr interface{} // The BGP Identifier of this entry's BGP peer. The type is string with // pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. BgpPeerIdentifier interface{} // The BGP peer connection state. The type is BgpPeerState. BgpPeerState interface{} // The desired state of the BGP connection. A transition from 'stop' to // 'start' will cause the BGP Start Event to be generated. A transition from // 'start' to 'stop' will cause the BGP Stop Event to be generated. This // parameter can be used to restart BGP peer connections. Care should be used // in providing write access to this object without adequate authentication. // The type is BgpPeerAdminStatus. BgpPeerAdminStatus interface{} // The negotiated version of BGP running between the two peers. The type is // interface{} with range: -2147483648..2147483647. BgpPeerNegotiatedVersion interface{} // The local IP address of this entry's BGP connection. The type is string // with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. BgpPeerLocalAddr interface{} // The local port for the TCP connection between the BGP peers. The type is // interface{} with range: 0..65535. BgpPeerLocalPort interface{} // The remote port for the TCP connection between the BGP peers. Note that // the objects bgpPeerLocalAddr, bgpPeerLocalPort, bgpPeerRemoteAddr and // bgpPeerRemotePort provide the appropriate reference to the standard MIB TCP // connection table. The type is interface{} with range: 0..65535. BgpPeerRemotePort interface{} // The remote autonomous system number. The type is interface{} with range: // 0..65535. BgpPeerRemoteAs interface{} // The number of BGP UPDATE messages received on this connection. This object // should be initialized to zero (0) when the connection is established. The // type is interface{} with range: 0..4294967295. BgpPeerInUpdates interface{} // The number of BGP UPDATE messages transmitted on this connection. This // object should be initialized to zero (0) when the connection is // established. The type is interface{} with range: 0..4294967295. BgpPeerOutUpdates interface{} // The total number of messages received from the remote peer on this // connection. This object should be initialized to zero when the connection // is established. The type is interface{} with range: 0..4294967295. BgpPeerInTotalMessages interface{} // The total number of messages transmitted to the remote peer on this // connection. This object should be initialized to zero when the connection // is established. The type is interface{} with range: 0..4294967295. BgpPeerOutTotalMessages interface{} // The last error code and subcode seen by this peer on this connection. If // no error has occurred, this field is zero. Otherwise, the first byte of // this two byte OCTET STRING contains the error code, and the second byte // contains the subcode. The type is string with length: 2..2. BgpPeerLastError interface{} // The total number of times the BGP FSM transitioned into the established // state. The type is interface{} with range: 0..4294967295. BgpPeerFsmEstablishedTransitions interface{} // This timer indicates how long (in seconds) this peer has been in the // Established state or how long since this peer was last in the Established // state. It is set to zero when a new peer is configured or the router is // booted. The type is interface{} with range: 0..4294967295. BgpPeerFsmEstablishedTime interface{} // Time interval in seconds for the ConnectRetry timer. The suggested value // for this timer is 120 seconds. The type is interface{} with range: // 1..65535. BgpPeerConnectRetryInterval interface{} // Time interval in seconds for the Hold Timer established with the peer. The // value of this object is calculated by this BGP speaker by using the smaller // of the value in bgpPeerHoldTimeConfigured and the Hold Time received in the // OPEN message. This value must be at lease three seconds if it is not zero // (0) in which case the Hold Timer has not been established with the peer, // or, the value of bgpPeerHoldTimeConfigured is zero (0). The type is // interface{} with range: 0..0 | 3..65535. BgpPeerHoldTime interface{} // Time interval in seconds for the KeepAlive timer established with the peer. // The value of this object is calculated by this BGP speaker such that, when // compared with bgpPeerHoldTime, it has the same proportion as what // bgpPeerKeepAliveConfigured has when compared with // bgpPeerHoldTimeConfigured. If the value of this object is zero (0), it // indicates that the KeepAlive timer has not been established with the peer, // or, the value of bgpPeerKeepAliveConfigured is zero (0). The type is // interface{} with range: 0..21845. BgpPeerKeepAlive interface{} // Time interval in seconds for the Hold Time configured for this BGP speaker // with this peer. This value is placed in an OPEN message sent to this peer // by this BGP speaker, and is compared with the Hold Time field in an OPEN // message received from the peer when determining the Hold Time // (bgpPeerHoldTime) with the peer. This value must not be less than three // seconds if it is not zero (0) in which case the Hold Time is NOT to be // established with the peer. The suggested value for this timer is 90 // seconds. The type is interface{} with range: 0..0 | 3..65535. BgpPeerHoldTimeConfigured interface{} // Time interval in seconds for the KeepAlive timer configured for this BGP // speaker with this peer. The value of this object will only determine the // KEEPALIVE messages' frequency relative to the value specified in // bgpPeerHoldTimeConfigured; the actual time interval for the KEEPALIVE // messages is indicated by bgpPeerKeepAlive. A reasonable maximum value for // this timer would be configured to be one third of that of // bgpPeerHoldTimeConfigured. If the value of this object is zero (0), no // periodical KEEPALIVE messages are sent to the peer after the BGP connection // has been established. The suggested value for this timer is 30 seconds. // The type is interface{} with range: 0..21845. BgpPeerKeepAliveConfigured interface{} // Time interval in seconds for the MinASOriginationInterval timer. The // suggested value for this timer is 15 seconds. The type is interface{} with // range: 1..65535. BgpPeerMinASOriginationInterval interface{} // Time interval in seconds for the MinRouteAdvertisementInterval timer. The // suggested value for this timer is 30 seconds. The type is interface{} with // range: 1..65535. BgpPeerMinRouteAdvertisementInterval interface{} // Elapsed time in seconds since the last BGP UPDATE message was received from // the peer. Each time bgpPeerInUpdates is incremented, the value of this // object is set to zero (0). The type is interface{} with range: // 0..4294967295. BgpPeerInUpdateElapsedTime interface{} // Number of Route prefixes received on this connnection, which are accepted // after applying filters. Possible filters are route maps, prefix lists, // distributed lists, etc. The type is interface{} with range: 0..4294967295. CbgpPeerPrefixAccepted interface{} // Counter which gets incremented when a route prefix received on this // connection is denied or when a route prefix is denied during soft reset of // this connection if 'soft-reconfiguration' is on . This object is // initialized to zero when the peer is configured or the router is rebooted. // The type is interface{} with range: 0..4294967295. CbgpPeerPrefixDenied interface{} // Max number of route prefixes accepted on this connection. The type is // interface{} with range: 1..4294967295. CbgpPeerPrefixLimit interface{} // Counter which gets incremented when a route prefix is advertised on this // connection. This object is initialized to zero when the peer is configured // or the router is rebooted. The type is interface{} with range: // 0..4294967295. CbgpPeerPrefixAdvertised interface{} // Counter which gets incremented when a route prefix is suppressed from being // sent on this connection. This object is initialized to zero when the peer // is configured or the router is rebooted. The type is interface{} with // range: 0..4294967295. CbgpPeerPrefixSuppressed interface{} // Counter which gets incremented when a route prefix is withdrawn on this // connection. This object is initialized to zero when the peer is configured // or the router is rebooted. The type is interface{} with range: // 0..4294967295. CbgpPeerPrefixWithdrawn interface{} // Implementation specific error description for bgpPeerLastErrorReceived. The // type is string. CbgpPeerLastErrorTxt interface{} // The BGP peer connection previous state. The type is CbgpPeerPrevState. CbgpPeerPrevState interface{} }
BGP4MIB_BgpPeerTable_BgpPeerEntry Entry containing information about the connection with a BGP peer.
func (*BGP4MIB_BgpPeerTable_BgpPeerEntry) GetEntityData ¶
func (bgpPeerEntry *BGP4MIB_BgpPeerTable_BgpPeerEntry) GetEntityData() *types.CommonEntityData
type BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerAdminStatus ¶
type BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerAdminStatus string
BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerAdminStatus represents without adequate authentication.
const ( BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerAdminStatus_stop BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerAdminStatus = "stop" BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerAdminStatus_start BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerAdminStatus = "start" )
type BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState ¶
type BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState string
BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState represents The BGP peer connection state.
const ( BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState_idle BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState = "idle" BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState_connect BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState = "connect" BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState_active BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState = "active" BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState_opensent BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState = "opensent" BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState_openconfirm BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState = "openconfirm" BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState_established BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerState = "established" )
type BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState ¶
type BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState string
BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState represents The BGP peer connection previous state.
const ( BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState_none BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState = "none" BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState_idle BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState = "idle" BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState_connect BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState = "connect" BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState_active BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState = "active" BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState_opensent BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState = "opensent" BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState_openconfirm BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState = "openconfirm" BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState_established BGP4MIB_BgpPeerTable_BgpPeerEntry_CbgpPeerPrevState = "established" )
type BGP4MIB_BgpRcvdPathAttrTable ¶
type BGP4MIB_BgpRcvdPathAttrTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Information about a path to a network. The type is slice of // BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry. BgpPathAttrEntry []*BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry }
BGP4MIB_BgpRcvdPathAttrTable The BGP Received Path Attribute Table contains information about paths to destination networks received from all peers running BGP version 3 or less.
func (*BGP4MIB_BgpRcvdPathAttrTable) GetEntityData ¶
func (bgpRcvdPathAttrTable *BGP4MIB_BgpRcvdPathAttrTable) GetEntityData() *types.CommonEntityData
type BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry ¶
type BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The address of the destination network. The type // is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. BgpPathAttrDestNetwork interface{} // This attribute is a key. The IP address of the peer where the path // information was learned. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. BgpPathAttrPeer interface{} // The ultimate origin of the path information. The type is BgpPathAttrOrigin. BgpPathAttrOrigin interface{} // The set of ASs that must be traversed to reach the network. This object is // probably best represented as SEQUENCE OF INTEGER. For SMI compatibility, // though, it is represented as OCTET STRING. Each AS is represented as a // pair of octets according to the following algorithm: // first-byte-of-pair = ASNumber / 256; second-byte-of-pair = ASNumber & // 255;. The type is string with length: 2..255. BgpPathAttrASPath interface{} // The address of the border router that should be used for the destination // network. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. BgpPathAttrNextHop interface{} // The optional inter-AS metric. If this attribute has not been provided for // this route, the value for this object is 0. The type is interface{} with // range: -2147483648..2147483647. BgpPathAttrInterASMetric interface{} }
BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry Information about a path to a network.
func (*BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry) GetEntityData ¶
func (bgpPathAttrEntry *BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry) GetEntityData() *types.CommonEntityData
type BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry_BgpPathAttrOrigin ¶
type BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry_BgpPathAttrOrigin string
BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry_BgpPathAttrOrigin represents The ultimate origin of the path information.
const ( BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry_BgpPathAttrOrigin_igp BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry_BgpPathAttrOrigin = "igp" BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry_BgpPathAttrOrigin_egp BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry_BgpPathAttrOrigin = "egp" BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry_BgpPathAttrOrigin_incomplete BGP4MIB_BgpRcvdPathAttrTable_BgpPathAttrEntry_BgpPathAttrOrigin = "incomplete" )