Class: Google::Apis::ComputeBeta::BfdStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::BfdStatus
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
Next free: 15
Instance Attribute Summary collapse
-
#bfd_session_initialization_mode ⇒ String
The BFD session initialization mode for this BGP peer.
-
#config_update_timestamp_micros ⇒ Fixnum
Unix timestamp of the most recent config update.
-
#control_packet_counts ⇒ Google::Apis::ComputeBeta::BfdStatusPacketCounts
Control packet counts for the current BFD session.
-
#control_packet_intervals ⇒ Array<Google::Apis::ComputeBeta::PacketIntervals>
Inter-packet time interval statistics for control packets.
-
#local_diagnostic ⇒ String
The diagnostic code specifies the local system's reason for the last change in session state.
-
#local_state ⇒ String
The current BFD session state as seen by the transmitting system.
-
#negotiated_local_control_tx_interval_ms ⇒ Fixnum
Negotiated transmit interval for control packets.
-
#rx_packet ⇒ Google::Apis::ComputeBeta::BfdPacket
Corresponds to the JSON property
rxPacket
. -
#tx_packet ⇒ Google::Apis::ComputeBeta::BfdPacket
Corresponds to the JSON property
txPacket
. -
#uptime_ms ⇒ Fixnum
Session uptime in milliseconds.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BfdStatus
constructor
A new instance of BfdStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ BfdStatus
Returns a new instance of BfdStatus
3582 3583 3584 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3582 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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.
Corresponds to the JSON property bfdSessionInitializationMode
3531 3532 3533 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3531 def bfd_session_initialization_mode @bfd_session_initialization_mode end |
#config_update_timestamp_micros ⇒ Fixnum
Unix timestamp of the most recent config update.
Corresponds to the JSON property configUpdateTimestampMicros
3536 3537 3538 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3536 def @config_update_timestamp_micros end |
#control_packet_counts ⇒ Google::Apis::ComputeBeta::BfdStatusPacketCounts
Control packet counts for the current BFD session.
Corresponds to the JSON property controlPacketCounts
3541 3542 3543 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3541 def control_packet_counts @control_packet_counts end |
#control_packet_intervals ⇒ Array<Google::Apis::ComputeBeta::PacketIntervals>
Inter-packet time interval statistics for control packets.
Corresponds to the JSON property controlPacketIntervals
3546 3547 3548 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3546 def control_packet_intervals @control_packet_intervals end |
#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
Corresponds to the JSON property localDiagnostic
3554 3555 3556 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3554 def local_diagnostic @local_diagnostic end |
#local_state ⇒ String
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
3560 3561 3562 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3560 def local_state @local_state end |
#negotiated_local_control_tx_interval_ms ⇒ Fixnum
Negotiated transmit interval for control packets.
Corresponds to the JSON property negotiatedLocalControlTxIntervalMs
3565 3566 3567 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3565 def negotiated_local_control_tx_interval_ms @negotiated_local_control_tx_interval_ms end |
#rx_packet ⇒ Google::Apis::ComputeBeta::BfdPacket
Corresponds to the JSON property rxPacket
3570 3571 3572 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3570 def rx_packet @rx_packet end |
#tx_packet ⇒ Google::Apis::ComputeBeta::BfdPacket
Corresponds to the JSON property txPacket
3575 3576 3577 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3575 def tx_packet @tx_packet end |
#uptime_ms ⇒ Fixnum
Session uptime in milliseconds. Value will be 0 if session is not up.
Corresponds to the JSON property uptimeMs
3580 3581 3582 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3580 def uptime_ms @uptime_ms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 |
# File 'generated/google/apis/compute_beta/classes.rb', line 3587 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 |