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
- (::Google::Cloud::EdgeNetwork::V1::RouterStatus::PrefixCounter) — A collection of counts for prefixes.
#prefix_counter=
def prefix_counter=(value) -> ::Google::Cloud::EdgeNetwork::V1::RouterStatus::PrefixCounter
Parameter
- value (::Google::Cloud::EdgeNetwork::V1::RouterStatus::PrefixCounter) — A collection of counts for prefixes.
Returns
- (::Google::Cloud::EdgeNetwork::V1::RouterStatus::PrefixCounter) — A collection of counts for prefixes.
#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
Returns
- (::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus::BgpStatus) — The current status of BGP.
#status=
def status=(value) -> ::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus::BgpStatus
Parameter
- value (::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus::BgpStatus) — The current status of BGP.
Returns
- (::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus::BgpStatus) — The current status of BGP.
#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.