Class: Ansible::Ruby::Modules::Nxos_udld_interface

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

Overview

Manages UDLD interface 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, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

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

Instance Method Details

#interfaceString

Returns FULL name of the interface, i.e. Ethernet1/1-.

Returns:

  • (String)

    FULL name of the interface, i.e. Ethernet1/1-



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

attribute :interface

#mode:enabled, ...

Returns Manages UDLD mode for an interface.

Returns:

  • (:enabled, :disabled, :aggressive)

    Manages UDLD mode for an interface.



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

attribute :mode

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



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

attribute :state