Class: Ansible::Ruby::Modules::Ce_eth_trunk

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

Methods inherited from Base

#ansible_name, #to_h

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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:"src-dst-ip", :"src-dst-mac", :enhanced, :"dst-ip", :"dst-mac", :"src-ip", :"src-mac", nil)

    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

#membersObject?

Returns List of interfaces that will be managed in a given Eth-Trunk. The interface name must be full name.

Returns:

  • (Object, nil)

    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

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.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:manual, :"lacp-dynamic", :"lacp-static", nil)

    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.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



34
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_eth_trunk.rb', line 34

attribute :state

#trunk_idObject

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.

Returns:

  • (Object)

    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