Class: Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/edgenetwork/v1/resources.rb

Overview

Status of a BGP peer.

Defined Under Namespace

Modules: BgpStatus

Instance Attribute Summary collapse

Instance Attribute Details

#ip_address::String

Returns IP address of the local BGP interface.

Returns:

  • (::String)

    IP address of the local BGP interface.



595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 595

class BgpPeerStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Status of the BGP peer: \\{UP, DOWN}
  module BgpStatus
    # The default status indicating BGP session is in unknown state.
    UNKNOWN = 0

    # The UP status indicating BGP session is established.
    UP = 1

    # The DOWN state indicating BGP session is not established yet.
    DOWN = 2
  end
end

#name::String

Returns Name of this BGP peer. Unique within the Routers resource.

Returns:

  • (::String)

    Name of this BGP peer. Unique within the Routers resource.



595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 595

class BgpPeerStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Status of the BGP peer: \\{UP, DOWN}
  module BgpStatus
    # The default status indicating BGP session is in unknown state.
    UNKNOWN = 0

    # The UP status indicating BGP session is established.
    UP = 1

    # The DOWN state indicating BGP session is not established yet.
    DOWN = 2
  end
end

#peer_ip_address::String

Returns IP address of the remote BGP interface.

Returns:

  • (::String)

    IP address of the remote BGP interface.



595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 595

class BgpPeerStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Status of the BGP peer: \\{UP, DOWN}
  module BgpStatus
    # The default status indicating BGP session is in unknown state.
    UNKNOWN = 0

    # The UP status indicating BGP session is established.
    UP = 1

    # The DOWN state indicating BGP session is not established yet.
    DOWN = 2
  end
end

#prefix_counter::Google::Cloud::EdgeNetwork::V1::RouterStatus::PrefixCounter

Returns A collection of counts for prefixes.

Returns:



595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 595

class BgpPeerStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Status of the BGP peer: \\{UP, DOWN}
  module BgpStatus
    # The default status indicating BGP session is in unknown state.
    UNKNOWN = 0

    # The UP status indicating BGP session is established.
    UP = 1

    # The DOWN state indicating BGP session is not established yet.
    DOWN = 2
  end
end

#state::String

Returns BGP state as specified in RFC1771.

Returns:

  • (::String)

    BGP state as specified in RFC1771.



595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 595

class BgpPeerStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Status of the BGP peer: \\{UP, DOWN}
  module BgpStatus
    # The default status indicating BGP session is in unknown state.
    UNKNOWN = 0

    # The UP status indicating BGP session is established.
    UP = 1

    # The DOWN state indicating BGP session is not established yet.
    DOWN = 2
  end
end

#status::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus::BgpStatus

Returns The current status of BGP.



595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 595

class BgpPeerStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Status of the BGP peer: \\{UP, DOWN}
  module BgpStatus
    # The default status indicating BGP session is in unknown state.
    UNKNOWN = 0

    # The UP status indicating BGP session is established.
    UP = 1

    # The DOWN state indicating BGP session is not established yet.
    DOWN = 2
  end
end

#uptime::String

Returns Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds.

Returns:

  • (::String)

    Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds



595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 595

class BgpPeerStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Status of the BGP peer: \\{UP, DOWN}
  module BgpStatus
    # The default status indicating BGP session is in unknown state.
    UNKNOWN = 0

    # The UP status indicating BGP session is established.
    UP = 1

    # The DOWN state indicating BGP session is not established yet.
    DOWN = 2
  end
end

#uptime_seconds::Integer

Returns Time this session has been up, in seconds.

Returns:

  • (::Integer)

    Time this session has been up, in seconds.



595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 595

class BgpPeerStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Status of the BGP peer: \\{UP, DOWN}
  module BgpStatus
    # The default status indicating BGP session is in unknown state.
    UNKNOWN = 0

    # The UP status indicating BGP session is established.
    UP = 1

    # The DOWN state indicating BGP session is not established yet.
    DOWN = 2
  end
end