Class: Ansible::Ruby::Modules::Ce_mtu

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/cloudengine/ce_mtu.rb

Overview

Manages MTU settings 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

#interfaceObject?

Returns Full name of interface, i.e. 40GE1/0/22.

Returns:

  • (Object, nil)

    Full name of interface, i.e. 40GE1/0/22.



12
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mtu.rb', line 12

attribute :interface

#jumbo_maxObject?

Returns Maximum frame size. The default value is 9216. The value is an integer and expressed in bytes. The value range is 1536 to 12224 for the CE12800 and 1536 to 12288 for ToR switches.

Returns:

  • (Object, nil)

    Maximum frame size. The default value is 9216. The value is an integer and expressed in bytes. The value range is 1536 to 12224 for the CE12800 and 1536 to 12288 for ToR switches.



18
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mtu.rb', line 18

attribute :jumbo_max

#jumbo_minObject?

Returns Non-jumbo frame size threshod. The default value is 1518. The value is an integer that ranges from 1518 to jumbo_max, in bytes.

Returns:

  • (Object, nil)

    Non-jumbo frame size threshod. The default value is 1518. The value is an integer that ranges from 1518 to jumbo_max, in bytes.



21
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mtu.rb', line 21

attribute :jumbo_min

#mtuObject?

Returns MTU for a specific interface. The value is an integer ranging from 46 to 9600, in bytes.

Returns:

  • (Object, nil)

    MTU for a specific interface. The value is an integer ranging from 46 to 9600, in bytes.



15
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mtu.rb', line 15

attribute :mtu

#state:present, ...

Returns Specify desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Specify desired state of the resource.



24
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_mtu.rb', line 24

attribute :state