Class: Ansible::Ruby::Modules::Ce_dldp_interface

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

Overview

Manages interface DLDP configuration 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

#enable:enable, ...

Returns Set interface DLDP enable state.

Returns:

  • (:enable, :disable, nil)

    Set interface DLDP enable state.



16
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_dldp_interface.rb', line 16

attribute :enable

#interfaceObject

Returns Must be fully qualified interface name, i.e. GE1/0/1, 10GE1/0/1, 40GE1/0/22, 100GE1/0/1.

Returns:

  • (Object)

    Must be fully qualified interface name, i.e. GE1/0/1, 10GE1/0/1, 40GE1/0/22, 100GE1/0/1.



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

attribute :interface

#local_macObject?

Returns Set the source MAC address for DLDP packets sent in the DLDP-compatible mode. The value of MAC address is in H-H-H format. H contains 1 to 4 hexadecimal digits.

Returns:

  • (Object, nil)

    Set the source MAC address for DLDP packets sent in the DLDP-compatible mode. The value of MAC address is in H-H-H format. H contains 1 to 4 hexadecimal digits.



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

attribute :local_mac

#mode_enable:enable, ...

Returns Set DLDP compatible-mode enable state.

Returns:

  • (:enable, :disable, nil)

    Set DLDP compatible-mode enable state.



20
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_dldp_interface.rb', line 20

attribute :mode_enable

#reset:enable, ...

Returns Specify whether reseting interface DLDP state.

Returns:

  • (:enable, :disable, nil)

    Specify whether reseting interface DLDP state.



27
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_dldp_interface.rb', line 27

attribute :reset

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



31
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_dldp_interface.rb', line 31

attribute :state