Class: Ansible::Ruby::Modules::Junos_lldp_interface

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

Overview

This module provides declarative management of LLDP interfaces configuration on Juniper JUNOS network devices.

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

#activeBoolean?

Returns Specifies whether or not the configuration is active or deactivated.

Returns:

  • (Boolean, nil)

    Specifies whether or not the configuration is active or deactivated



20
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_lldp_interface.rb', line 20

attribute :active

#nameString?

Returns Name of the interface LLDP should be configured on.

Returns:

  • (String, nil)

    Name of the interface LLDP should be configured on.



12
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_lldp_interface.rb', line 12

attribute :name

#state:present, ...

Returns Value of C(present) ensures given LLDP configured on given I(interfaces) and is enabled, for value of C(absent) LLDP configuration on given I(interfaces) deleted. Value C(enabled) ensures LLDP protocol is enabled on given I(interfaces) and for value of C(disabled) it ensures LLDP is disabled on given I(interfaces).

Returns:

  • (:present, :absent, :enabled, :disabled, nil)

    Value of C(present) ensures given LLDP configured on given I(interfaces) and is enabled, for value of C(absent) LLDP configuration on given I(interfaces) deleted. Value C(enabled) ensures LLDP protocol is enabled on given I(interfaces) and for value of C(disabled) it ensures LLDP is disabled on given I(interfaces).



16
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_lldp_interface.rb', line 16

attribute :state