Class: Google::Cloud::EdgeNetwork::V1::RouterStatus
- Inherits:
-
Object
- Object
- Google::Cloud::EdgeNetwork::V1::RouterStatus
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/edgenetwork/v1/resources.rb
Overview
Describing the current status of a router.
Defined Under Namespace
Classes: BgpPeerStatus, PrefixCounter
Instance Attribute Summary collapse
-
#bgp_peer_status ⇒ ::Array<::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus>
A list of BgpPeerStatus objects, describing all BGP peers related to this router.
-
#network ⇒ ::String
The canonical name of the network to which this router belongs.
Instance Attribute Details
#bgp_peer_status ⇒ ::Array<::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus>
Returns A list of BgpPeerStatus objects, describing all BGP peers related to this router.
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 564 class RouterStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Status of a BGP peer. # @!attribute [rw] name # @return [::String] # Name of this BGP peer. Unique within the Routers resource. # @!attribute [rw] ip_address # @return [::String] # IP address of the local BGP interface. # @!attribute [rw] peer_ip_address # @return [::String] # IP address of the remote BGP interface. # @!attribute [rw] status # @return [::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus::BgpStatus] # The current status of BGP. # @!attribute [rw] state # @return [::String] # BGP state as specified in RFC1771. # @!attribute [rw] uptime # @return [::String] # Time this session has been up. # Format: # 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds # @!attribute [rw] uptime_seconds # @return [::Integer] # Time this session has been up, in seconds. # @!attribute [rw] prefix_counter # @return [::Google::Cloud::EdgeNetwork::V1::RouterStatus::PrefixCounter] # A collection of counts for prefixes. 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 # PrefixCounter contains a collection of prefixes related counts. # @!attribute [rw] advertised # @return [::Integer] # Number of prefixes advertised. # @!attribute [rw] denied # @return [::Integer] # Number of prefixes denied. # @!attribute [rw] received # @return [::Integer] # Number of prefixes received. # @!attribute [rw] sent # @return [::Integer] # Number of prefixes sent. # @!attribute [rw] suppressed # @return [::Integer] # Number of prefixes suppressed. # @!attribute [rw] withdrawn # @return [::Integer] # Number of prefixes withdrawn. class PrefixCounter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#network ⇒ ::String
Returns The canonical name of the network to which this router belongs.
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 564 class RouterStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Status of a BGP peer. # @!attribute [rw] name # @return [::String] # Name of this BGP peer. Unique within the Routers resource. # @!attribute [rw] ip_address # @return [::String] # IP address of the local BGP interface. # @!attribute [rw] peer_ip_address # @return [::String] # IP address of the remote BGP interface. # @!attribute [rw] status # @return [::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus::BgpStatus] # The current status of BGP. # @!attribute [rw] state # @return [::String] # BGP state as specified in RFC1771. # @!attribute [rw] uptime # @return [::String] # Time this session has been up. # Format: # 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds # @!attribute [rw] uptime_seconds # @return [::Integer] # Time this session has been up, in seconds. # @!attribute [rw] prefix_counter # @return [::Google::Cloud::EdgeNetwork::V1::RouterStatus::PrefixCounter] # A collection of counts for prefixes. 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 # PrefixCounter contains a collection of prefixes related counts. # @!attribute [rw] advertised # @return [::Integer] # Number of prefixes advertised. # @!attribute [rw] denied # @return [::Integer] # Number of prefixes denied. # @!attribute [rw] received # @return [::Integer] # Number of prefixes received. # @!attribute [rw] sent # @return [::Integer] # Number of prefixes sent. # @!attribute [rw] suppressed # @return [::Integer] # Number of prefixes suppressed. # @!attribute [rw] withdrawn # @return [::Integer] # Number of prefixes withdrawn. class PrefixCounter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |