Class: Ansible::Ruby::Modules::Ce_dldp

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

Overview

Manages global 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, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#auth_mode:md5, ...

Returns Specifies authentication algorithm of DLDP.

Returns:

  • (:md5, :simple, :sha, :"hmac-sha256", :none, nil)

    Specifies authentication algorithm of DLDP.



23
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_dldp.rb', line 23

attribute :auth_mode

#auth_pwdObject?

Returns Specifies authentication password. The value is a string of 1 to 16 case-sensitive plaintexts or 24/32/48/108/128 case-sensitive encrypted characters. The string excludes a question mark (?).

Returns:

  • (Object, nil)

    Specifies authentication password. The value is a string of 1 to 16 case-sensitive plaintexts or 24/32/48/108/128 case-sensitive encrypted characters. The string excludes a question mark (?).



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

attribute :auth_pwd

#enable:enable, ...

Returns Set global DLDP enable state.

Returns:

  • (:enable, :disable, nil)

    Set global DLDP enable state.



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

attribute :enable

#reset:enable, ...

Returns Specify whether reset DLDP state of disabled interfaces.

Returns:

  • (:enable, :disable, nil)

    Specify whether reset DLDP state of disabled interfaces.



30
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_dldp.rb', line 30

attribute :reset

#time_internalObject?

Returns Specifies the interval for sending Advertisement packets. The value is an integer ranging from 1 to 100, in seconds. The default interval for sending Advertisement packets is 5 seconds.

Returns:

  • (Object, nil)

    Specifies the interval for sending Advertisement packets. The value is an integer ranging from 1 to 100, in seconds. The default interval for sending Advertisement packets is 5 seconds.



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

attribute :time_internal

#work_mode:enhance, ...

Returns Set global DLDP work-mode.

Returns:

  • (:enhance, :normal, nil)

    Set global DLDP work-mode.



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

attribute :work_mode