Class: Ansible::Ruby::Modules::Onyx_bgp
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Onyx_bgp
- Defined in:
- lib/ansible/ruby/modules/generated/network/onyx/onyx_bgp.rb
Overview
This module provides declarative management of BGP router and neighbors on Mellanox ONYX network devices.
Instance Method Summary collapse
-
#as_number ⇒ Integer
Local AS number.
-
#neighbors ⇒ Array<Hash>, ...
List of neighbors.
-
#networks ⇒ Array<String>, ...
List of advertised networks.
-
#router_id ⇒ String?
Router IP address.
-
#state ⇒ :present, ...
BGP state.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#as_number ⇒ Integer
Returns Local AS number.
12 |
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_bgp.rb', line 12 attribute :as_number |
#neighbors ⇒ Array<Hash>, ...
Returns List of neighbors. Required if I(state=present).
20 |
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_bgp.rb', line 20 attribute :neighbors |
#networks ⇒ Array<String>, ...
Returns List of advertised networks.
24 |
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_bgp.rb', line 24 attribute :networks |
#router_id ⇒ String?
Returns Router IP address. Required if I(state=present).
16 |
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_bgp.rb', line 16 attribute :router_id |
#state ⇒ :present, ...
Returns BGP state.
28 |
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_bgp.rb', line 28 attribute :state |