Class: Ansible::Ruby::Modules::Ce_dldp_interface
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_dldp_interface
- 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
-
#enable ⇒ :enable, ...
Set interface DLDP enable state.
-
#interface ⇒ Object
Must be fully qualified interface name, i.e.
-
#local_mac ⇒ Object?
Set the source MAC address for DLDP packets sent in the DLDP-compatible mode.
-
#mode_enable ⇒ :enable, ...
Set DLDP compatible-mode enable state.
-
#reset ⇒ :enable, ...
Specify whether reseting interface DLDP state.
-
#state ⇒ :present, ...
Manage the state of the resource.
Methods inherited from Base
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.
16 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_dldp_interface.rb', line 16 attribute :enable |
#interface ⇒ Object
Returns 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_mac ⇒ Object?
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.
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.
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.
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.
31 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_dldp_interface.rb', line 31 attribute :state |