Class: Ansible::Ruby::Modules::Nxos_udld

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

Overview

Manages UDLD global configuration params.

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

#aggressive:enabled, ...

Returns Toggles aggressive mode.

Returns:

  • (:enabled, :disabled, nil)

    Toggles aggressive mode.



12
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_udld.rb', line 12

attribute :aggressive

#msg_timeInteger?

Returns Message time in seconds for UDLD packets or keyword ‘default’.

Returns:

  • (Integer, nil)

    Message time in seconds for UDLD packets or keyword ‘default’.



16
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_udld.rb', line 16

attribute :msg_time

#reset:yes, ...

Returns Ability to reset all ports shut down by UDLD. ‘state’ parameter cannot be ‘absent’ when this is present.

Returns:

  • (:yes, :no, nil)

    Ability to reset all ports shut down by UDLD. ‘state’ parameter cannot be ‘absent’ when this is present.



20
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_udld.rb', line 20

attribute :reset

#state:present, ...

Returns Manage the state of the resource. When set to ‘absent’, aggressive and msg_time are set to their default values.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource. When set to ‘absent’, aggressive and msg_time are set to their default values.



24
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_udld.rb', line 24

attribute :state