Class: Ansible::Ruby::Modules::Onyx_linkagg
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Onyx_linkagg
- Defined in:
- lib/ansible/ruby/modules/generated/network/onyx/onyx_linkagg.rb
Overview
This module provides declarative management of link aggregation groups on Mellanox ONYX network devices.
Instance Method Summary collapse
-
#aggregate ⇒ Array<Hash>, ...
List of link aggregation definitions.
-
#members ⇒ Array<String>, String
List of members interfaces of the link aggregation group.
-
#mode ⇒ Boolean?
Mode of the link aggregation group.
-
#name ⇒ String
Name of the link aggregation group.
-
#purge ⇒ Symbol?
Purge link aggregation groups not defined in the I(aggregate) parameter.
-
#state ⇒ :present, ...
State of the link aggregation group.
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
#aggregate ⇒ Array<Hash>, ...
Returns List of link aggregation definitions.
24 |
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_linkagg.rb', line 24 attribute :aggregate |
#members ⇒ Array<String>, String
Returns List of members interfaces of the link aggregation group. The value can be single interface or list of interfaces.
20 |
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_linkagg.rb', line 20 attribute :members |
#mode ⇒ Boolean?
Returns Mode of the link aggregation group. A value of C(on) will enable LACP. C(active) configures the link to actively information about the state of the link, or it can be configured in C(passive) mode ie. send link state information only when received them from another link.
16 |
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_linkagg.rb', line 16 attribute :mode |
#name ⇒ String
Returns Name of the link aggregation group.
12 |
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_linkagg.rb', line 12 attribute :name |
#purge ⇒ Symbol?
Returns Purge link aggregation groups not defined in the I(aggregate) parameter.
28 |
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_linkagg.rb', line 28 attribute :purge |
#state ⇒ :present, ...
Returns State of the link aggregation group.
32 |
# File 'lib/ansible/ruby/modules/generated/network/onyx/onyx_linkagg.rb', line 32 attribute :state |