Class: Ansible::Ruby::Modules::Junos_lldp

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

Overview

This module provides declarative management of LLDP service 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



28
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_lldp.rb', line 28

attribute :active

#hold_multiplierInteger?

Returns Specify the number of seconds that LLDP information is held before it is discarded. The multiplier value is used in combination with the C(interval) value.

Returns:

  • (Integer, nil)

    Specify the number of seconds that LLDP information is held before it is discarded. The multiplier value is used in combination with the C(interval) value.



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

attribute :hold_multiplier

#intervalInteger?

Returns Frequency at which LLDP advertisements are sent (in seconds).

Returns:

  • (Integer, nil)

    Frequency at which LLDP advertisements are sent (in seconds).



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

attribute :interval

#state:present, ...

Returns Value of C(present) ensures given LLDP configuration is present on device and LLDP is enabled, for value of C(absent) LLDP configuration is deleted and LLDP is in disabled state. Value C(enabled) ensures LLDP protocol is enabled and LLDP configuration if any is configured on remote device, for value of C(disabled) it ensures LLDP protocol is disabled any LLDP configuration if any is still present.

Returns:

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

    Value of C(present) ensures given LLDP configuration is present on device and LLDP is enabled, for value of C(absent) LLDP configuration is deleted and LLDP is in disabled state. Value C(enabled) ensures LLDP protocol is enabled and LLDP configuration if any is configured on remote device, for value of C(disabled) it ensures LLDP protocol is disabled any LLDP configuration if any is still present.



24
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_lldp.rb', line 24

attribute :state

#transmit_delayInteger?

Returns Specify the number of seconds the device waits before sending advertisements to neighbors after a change is made in local system.

Returns:

  • (Integer, nil)

    Specify the number of seconds the device waits before sending advertisements to neighbors after a change is made in local system.



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

attribute :transmit_delay