Distributed Cloud Edge Network V1 API - Class Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus (v0.5.0)

Reference documentation and code samples for the Distributed Cloud Edge Network V1 API class Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus.

Status of a BGP peer.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ip_address

def ip_address() -> ::String
Returns
  • (::String) — IP address of the local BGP interface.

#ip_address=

def ip_address=(value) -> ::String
Parameter
  • value (::String) — IP address of the local BGP interface.
Returns
  • (::String) — IP address of the local BGP interface.

#name

def name() -> ::String
Returns
  • (::String) — Name of this BGP peer. Unique within the Routers resource.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of this BGP peer. Unique within the Routers resource.
Returns
  • (::String) — Name of this BGP peer. Unique within the Routers resource.

#peer_ip_address

def peer_ip_address() -> ::String
Returns
  • (::String) — IP address of the remote BGP interface.

#peer_ip_address=

def peer_ip_address=(value) -> ::String
Parameter
  • value (::String) — IP address of the remote BGP interface.
Returns
  • (::String) — IP address of the remote BGP interface.

#prefix_counter

def prefix_counter() -> ::Google::Cloud::EdgeNetwork::V1::RouterStatus::PrefixCounter
Returns

#prefix_counter=

def prefix_counter=(value) -> ::Google::Cloud::EdgeNetwork::V1::RouterStatus::PrefixCounter
Parameter
Returns

#state

def state() -> ::String
Returns
  • (::String) — BGP state as specified in RFC1771.

#state=

def state=(value) -> ::String
Parameter
  • value (::String) — BGP state as specified in RFC1771.
Returns
  • (::String) — BGP state as specified in RFC1771.

#status

def status() -> ::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus::BgpStatus

#status=

def status=(value) -> ::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus::BgpStatus
Parameter

#uptime

def uptime() -> ::String
Returns
  • (::String) — Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

#uptime=

def uptime=(value) -> ::String
Parameter
  • value (::String) — 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

#uptime_seconds

def uptime_seconds() -> ::Integer
Returns
  • (::Integer) — Time this session has been up, in seconds.

#uptime_seconds=

def uptime_seconds=(value) -> ::Integer
Parameter
  • value (::Integer) — Time this session has been up, in seconds.
Returns
  • (::Integer) — Time this session has been up, in seconds.