Class: Google::Apis::ComputeAlpha::BfdPacket

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BfdPacket

Returns a new instance of BfdPacket.



4540
4541
4542
# File 'lib/google/apis/compute_alpha/classes.rb', line 4540

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#authentication_presentBoolean Also known as: authentication_present?

The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property authenticationPresent

Returns:

  • (Boolean)


4444
4445
4446
# File 'lib/google/apis/compute_alpha/classes.rb', line 4444

def authentication_present
  @authentication_present
end

#control_plane_independentBoolean Also known as: control_plane_independent?

The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property controlPlaneIndependent

Returns:

  • (Boolean)


4451
4452
4453
# File 'lib/google/apis/compute_alpha/classes.rb', line 4451

def control_plane_independent
  @control_plane_independent
end

#demandBoolean Also known as: demand?

The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property demand

Returns:

  • (Boolean)


4457
4458
4459
# File 'lib/google/apis/compute_alpha/classes.rb', line 4457

def demand
  @demand
end

#diagnosticString

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 diagnostic

Returns:

  • (String)


4466
4467
4468
# File 'lib/google/apis/compute_alpha/classes.rb', line 4466

def diagnostic
  @diagnostic
end

#finalBoolean Also known as: final?

The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property final

Returns:

  • (Boolean)


4471
4472
4473
# File 'lib/google/apis/compute_alpha/classes.rb', line 4471

def final
  @final
end

#lengthFixnum

The length of the BFD Control packet in bytes. This is specified in section 4. 1 of RFC5880 Corresponds to the JSON property length

Returns:

  • (Fixnum)


4478
4479
4480
# File 'lib/google/apis/compute_alpha/classes.rb', line 4478

def length
  @length
end

#min_echo_rx_interval_msFixnum

The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property minEchoRxIntervalMs

Returns:

  • (Fixnum)


4484
4485
4486
# File 'lib/google/apis/compute_alpha/classes.rb', line 4484

def min_echo_rx_interval_ms
  @min_echo_rx_interval_ms
end

#min_rx_interval_msFixnum

The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property minRxIntervalMs

Returns:

  • (Fixnum)


4490
4491
4492
# File 'lib/google/apis/compute_alpha/classes.rb', line 4490

def min_rx_interval_ms
  @min_rx_interval_ms
end

#min_tx_interval_msFixnum

The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property minTxIntervalMs

Returns:

  • (Fixnum)


4496
4497
4498
# File 'lib/google/apis/compute_alpha/classes.rb', line 4496

def min_tx_interval_ms
  @min_tx_interval_ms
end

#multiplierFixnum

The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property multiplier

Returns:

  • (Fixnum)


4502
4503
4504
# File 'lib/google/apis/compute_alpha/classes.rb', line 4502

def multiplier
  @multiplier
end

#multipointBoolean Also known as: multipoint?

The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property multipoint

Returns:

  • (Boolean)


4508
4509
4510
# File 'lib/google/apis/compute_alpha/classes.rb', line 4508

def multipoint
  @multipoint
end

#my_discriminatorFixnum

The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property myDiscriminator

Returns:

  • (Fixnum)


4515
4516
4517
# File 'lib/google/apis/compute_alpha/classes.rb', line 4515

def my_discriminator
  @my_discriminator
end

#pollBoolean Also known as: poll?

The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property poll

Returns:

  • (Boolean)


4520
4521
4522
# File 'lib/google/apis/compute_alpha/classes.rb', line 4520

def poll
  @poll
end

#stateString

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 state

Returns:

  • (String)


4527
4528
4529
# File 'lib/google/apis/compute_alpha/classes.rb', line 4527

def state
  @state
end

#versionFixnum

The version number of the BFD protocol, as specified in section 4.1 of RFC5880. Corresponds to the JSON property version

Returns:

  • (Fixnum)


4532
4533
4534
# File 'lib/google/apis/compute_alpha/classes.rb', line 4532

def version
  @version
end

#your_discriminatorFixnum

The Your Discriminator value in the BFD packet. This is specified in section 4. 1 of RFC5880 Corresponds to the JSON property yourDiscriminator

Returns:

  • (Fixnum)


4538
4539
4540
# File 'lib/google/apis/compute_alpha/classes.rb', line 4538

def your_discriminator
  @your_discriminator
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
# File 'lib/google/apis/compute_alpha/classes.rb', line 4545

def update!(**args)
  @authentication_present = args[:authentication_present] if args.key?(:authentication_present)
  @control_plane_independent = args[:control_plane_independent] if args.key?(:control_plane_independent)
  @demand = args[:demand] if args.key?(:demand)
  @diagnostic = args[:diagnostic] if args.key?(:diagnostic)
  @final = args[:final] if args.key?(:final)
  @length = args[:length] if args.key?(:length)
  @min_echo_rx_interval_ms = args[:min_echo_rx_interval_ms] if args.key?(:min_echo_rx_interval_ms)
  @min_rx_interval_ms = args[:min_rx_interval_ms] if args.key?(:min_rx_interval_ms)
  @min_tx_interval_ms = args[:min_tx_interval_ms] if args.key?(:min_tx_interval_ms)
  @multiplier = args[:multiplier] if args.key?(:multiplier)
  @multipoint = args[:multipoint] if args.key?(:multipoint)
  @my_discriminator = args[:my_discriminator] if args.key?(:my_discriminator)
  @poll = args[:poll] if args.key?(:poll)
  @state = args[:state] if args.key?(:state)
  @version = args[:version] if args.key?(:version)
  @your_discriminator = args[:your_discriminator] if args.key?(:your_discriminator)
end