class Google::Apis::ComputeV1::BfdStatus

Next free: 15

Attributes

bfd_session_initialization_mode[RW]

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. Corresponds to the JSON property `bfdSessionInitializationMode` @return [String]

config_update_timestamp_micros[RW]

Unix timestamp of the most recent config update. Corresponds to the JSON property `configUpdateTimestampMicros` @return [Fixnum]

control_packet_counts[RW]

Control packet counts for the current BFD session. Corresponds to the JSON property `controlPacketCounts` @return [Google::Apis::ComputeV1::BfdStatusPacketCounts]

control_packet_intervals[RW]

Inter-packet time interval statistics for control packets. Corresponds to the JSON property `controlPacketIntervals` @return [Array<Google::Apis::ComputeV1::PacketIntervals>]

local_diagnostic[RW]

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 Corresponds to the JSON property `localDiagnostic` @return [String]

local_state[RW]

The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 Corresponds to the JSON property `localState` @return [String]

negotiated_local_control_tx_interval_ms[RW]

Negotiated transmit interval for control packets. Corresponds to the JSON property `negotiatedLocalControlTxIntervalMs` @return [Fixnum]

rx_packet[RW]

The most recent Rx control packet for this BFD session. Corresponds to the JSON property `rxPacket` @return [Google::Apis::ComputeV1::BfdPacket]

tx_packet[RW]

The most recent Tx control packet for this BFD session. Corresponds to the JSON property `txPacket` @return [Google::Apis::ComputeV1::BfdPacket]

uptime_ms[RW]

Session uptime in milliseconds. Value will be 0 if session is not up. Corresponds to the JSON property `uptimeMs` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 4477
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 4482
def update!(**args)
  @bfd_session_initialization_mode = args[:bfd_session_initialization_mode] if args.key?(:bfd_session_initialization_mode)
  @config_update_timestamp_micros = args[:config_update_timestamp_micros] if args.key?(:config_update_timestamp_micros)
  @control_packet_counts = args[:control_packet_counts] if args.key?(:control_packet_counts)
  @control_packet_intervals = args[:control_packet_intervals] if args.key?(:control_packet_intervals)
  @local_diagnostic = args[:local_diagnostic] if args.key?(:local_diagnostic)
  @local_state = args[:local_state] if args.key?(:local_state)
  @negotiated_local_control_tx_interval_ms = args[:negotiated_local_control_tx_interval_ms] if args.key?(:negotiated_local_control_tx_interval_ms)
  @rx_packet = args[:rx_packet] if args.key?(:rx_packet)
  @tx_packet = args[:tx_packet] if args.key?(:tx_packet)
  @uptime_ms = args[:uptime_ms] if args.key?(:uptime_ms)
end