Class: Ansible::Ruby::Modules::Ce_eth_trunk
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_eth_trunk
- Defined in:
- lib/ansible/ruby/modules/generated/network/cloudengine/ce_eth_trunk.rb
Overview
Manages Eth-Trunk specific configuration parameters on HUAWEI CloudEngine switches.
Instance Method Summary collapse
-
#force ⇒ :yes, ...
When true it forces Eth-Trunk members to match what is declared in the members param.
-
#hash_type ⇒ :"src-dst-ip", ...
Hash algorithm used for load balancing among Eth-Trunk member interfaces.
-
#members ⇒ Object?
List of interfaces that will be managed in a given Eth-Trunk.
-
#min_links ⇒ Object?
Specifies the minimum number of Eth-Trunk member links in the Up state.
-
#mode ⇒ :manual, ...
Specifies the working mode of an Eth-Trunk interface.
-
#state ⇒ :present, ...
Manage the state of the resource.
-
#trunk_id ⇒ Object
Eth-Trunk interface number.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#force ⇒ :yes, ...
Returns When true it forces Eth-Trunk members to match what is declared in the members param. This can be used to remove members.
30 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_eth_trunk.rb', line 30 attribute :force |
#hash_type ⇒ :"src-dst-ip", ...
Returns Hash algorithm used for load balancing among Eth-Trunk member interfaces.
23 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_eth_trunk.rb', line 23 attribute :hash_type |
#members ⇒ Object?
Returns List of interfaces that will be managed in a given Eth-Trunk. The interface name must be full name.
27 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_eth_trunk.rb', line 27 attribute :members |
#min_links ⇒ Object?
Returns Specifies the minimum number of Eth-Trunk member links in the Up state. The value is an integer ranging from 1 to the maximum number of interfaces that can be added to a Eth-Trunk interface.
20 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_eth_trunk.rb', line 20 attribute :min_links |
#mode ⇒ :manual, ...
Returns Specifies the working mode of an Eth-Trunk interface.
16 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_eth_trunk.rb', line 16 attribute :mode |
#state ⇒ :present, ...
Returns Manage the state of the resource.
34 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_eth_trunk.rb', line 34 attribute :state |
#trunk_id ⇒ Object
Returns Eth-Trunk interface number. The value is an integer. The value range depends on the assign forward eth-trunk mode command. When 256 is specified, the value ranges from 0 to 255. When 512 is specified, the value ranges from 0 to 511. When 1024 is specified, the value ranges from 0 to 1023.
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_eth_trunk.rb', line 12 attribute :trunk_id |