Reference documentation and code samples for the Compute V1 Client class BfdStatus.
Next free: 15
Generated from protobuf message google.cloud.compute.v1.BfdStatus
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ bfd_session_initialization_mode
string
The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. Check the BfdSessionInitializationMode enum for the list of possible values.
↳ config_update_timestamp_micros
int|string
Unix timestamp of the most recent config update.
↳ control_packet_counts
↳ control_packet_intervals
↳ local_diagnostic
string
The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 Check the LocalDiagnostic enum for the list of possible values.
↳ local_state
string
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 Check the LocalState enum for the list of possible values.
↳ negotiated_local_control_tx_interval_ms
int
Negotiated transmit interval for control packets.
↳ rx_packet
↳ tx_packet
↳ uptime_ms
int|string
Session uptime in milliseconds. Value will be 0 if session is not up.
getBfdSessionInitializationMode
The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer.
Check the BfdSessionInitializationMode enum for the list of possible values.
string
hasBfdSessionInitializationMode
clearBfdSessionInitializationMode
setBfdSessionInitializationMode
The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer.
Check the BfdSessionInitializationMode enum for the list of possible values.
var
string
$this
getConfigUpdateTimestampMicros
Unix timestamp of the most recent config update.
int|string
hasConfigUpdateTimestampMicros
clearConfigUpdateTimestampMicros
setConfigUpdateTimestampMicros
Unix timestamp of the most recent config update.
var
int|string
$this
getControlPacketCounts
Control packet counts for the current BFD session.
hasControlPacketCounts
clearControlPacketCounts
setControlPacketCounts
Control packet counts for the current BFD session.
$this
getControlPacketIntervals
Inter-packet time interval statistics for control packets.
setControlPacketIntervals
Inter-packet time interval statistics for control packets.
$this
getLocalDiagnostic
The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 Check the LocalDiagnostic enum for the list of possible values.
string
hasLocalDiagnostic
clearLocalDiagnostic
setLocalDiagnostic
The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 Check the LocalDiagnostic enum for the list of possible values.
var
string
$this
getLocalState
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 Check the LocalState enum for the list of possible values.
string
hasLocalState
clearLocalState
setLocalState
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 Check the LocalState enum for the list of possible values.
var
string
$this
getNegotiatedLocalControlTxIntervalMs
Negotiated transmit interval for control packets.
int
hasNegotiatedLocalControlTxIntervalMs
clearNegotiatedLocalControlTxIntervalMs
setNegotiatedLocalControlTxIntervalMs
Negotiated transmit interval for control packets.
var
int
$this
getRxPacket
The most recent Rx control packet for this BFD session.
hasRxPacket
clearRxPacket
setRxPacket
The most recent Rx control packet for this BFD session.
$this
getTxPacket
The most recent Tx control packet for this BFD session.
hasTxPacket
clearTxPacket
setTxPacket
The most recent Tx control packet for this BFD session.
$this
getUptimeMs
Session uptime in milliseconds. Value will be 0 if session is not up.
int|string
hasUptimeMs
clearUptimeMs
setUptimeMs
Session uptime in milliseconds. Value will be 0 if session is not up.
var
int|string
$this