Class: Ansible::Ruby::Modules::Ce_mlag_interface

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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_idString?

Returns ID of a DFS group.The value is 1.

Returns:

  • (String, nil)

    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_idObject?

Returns Name of the local M-LAG interface. The value is ranging from 0 to 511.

Returns:

  • (Object, nil)

    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

#interfaceObject?

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.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:enable, :disable, nil)

    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_idObject?

Returns ID of the M-LAG. The value is an integer that ranges from 1 to 2048.

Returns:

  • (Object, nil)

    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_idObject?

Returns M-LAG global LACP system priority. The value is an integer ranging from 0 to 65535. The default value is 32768.

Returns:

  • (Object, nil)

    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_idObject?

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.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:present, :absent, nil)

    Specify desired state of the resource.



35
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mlag_interface.rb', line 35

attribute :state