Class: Ansible::Ruby::Modules::Ce_mlag_interface
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_mlag_interface
- Defined in:
- lib/ansible/ruby/modules/generated/network/cloudengine/ce_mlag_interface.rb
Overview
Manages MLAG interface attributes on HUAWEI CloudEngine switches.
Instance Method Summary collapse
-
#dfs_group_id ⇒ String?
ID of a DFS group.The value is 1.
-
#eth_trunk_id ⇒ Object?
Name of the local M-LAG interface.
-
#interface ⇒ Object?
Name of the interface that enters the Error-Down state when the peer-link fails.
-
#mlag_error_down ⇒ :enable, ...
Configure the interface on the slave device to enter the Error-Down state.
-
#mlag_id ⇒ Object?
ID of the M-LAG.
-
#mlag_priority_id ⇒ Object?
M-LAG global LACP system priority.
-
#mlag_system_id ⇒ Object?
M-LAG global LACP system MAC address.
-
#state ⇒ :present, ...
Specify desired state of the resource.
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
#dfs_group_id ⇒ String?
Returns ID of a DFS group.The value is 1.
15 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mlag_interface.rb', line 15 attribute :dfs_group_id |
#eth_trunk_id ⇒ Object?
Returns Name of the local M-LAG interface. The value is ranging from 0 to 511.
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mlag_interface.rb', line 12 attribute :eth_trunk_id |
#interface ⇒ Object?
Returns Name of the interface that enters the Error-Down state when the peer-link fails. The value is a string of 1 to 63 characters.
28 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mlag_interface.rb', line 28 attribute :interface |
#mlag_error_down ⇒ :enable, ...
Returns Configure the interface on the slave device to enter the Error-Down state.
31 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mlag_interface.rb', line 31 attribute :mlag_error_down |
#mlag_id ⇒ Object?
Returns ID of the M-LAG. The value is an integer that ranges from 1 to 2048.
19 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mlag_interface.rb', line 19 attribute :mlag_id |
#mlag_priority_id ⇒ Object?
Returns M-LAG global LACP system priority. The value is an integer ranging from 0 to 65535. The default value is 32768.
25 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mlag_interface.rb', line 25 attribute :mlag_priority_id |
#mlag_system_id ⇒ Object?
Returns M-LAG global LACP system MAC address. The value is a string of 0 to 255 characters. The default value is the MAC address of the Ethernet port of MPU.
22 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mlag_interface.rb', line 22 attribute :mlag_system_id |
#state ⇒ :present, ...
Returns Specify desired state of the resource.
35 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mlag_interface.rb', line 35 attribute :state |