Class: Ansible::Ruby::Modules::Nxos_ntp

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

Overview

Manages core NTP configuration.

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

#key_idInteger?

Returns Authentication key identifier to use with given NTP server or peer or keyword ‘default’.

Returns:

  • (Integer, nil)

    Authentication key identifier to use with given NTP server or peer or keyword ‘default’.



19
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ntp.rb', line 19

attribute :key_id

#peerObject?

Returns Network address of NTP peer.

Returns:

  • (Object, nil)

    Network address of NTP peer.



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

attribute :peer

#prefer:enabled, ...

Returns Makes given NTP server or peer the preferred NTP server or peer for the device.

Returns:

  • (:enabled, :disabled, nil)

    Makes given NTP server or peer the preferred NTP server or peer for the device.



23
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ntp.rb', line 23

attribute :prefer

#serverString?

Returns Network address of NTP server.

Returns:

  • (String, nil)

    Network address of NTP server.



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

attribute :server

#source_addrObject?

Returns Local source address from which NTP messages are sent or keyword ‘default’.

Returns:

  • (Object, nil)

    Local source address from which NTP messages are sent or keyword ‘default’



30
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ntp.rb', line 30

attribute :source_addr

#source_intObject?

Returns Local source interface from which NTP messages are sent. Must be fully qualified interface name or keyword ‘default’.

Returns:

  • (Object, nil)

    Local source interface from which NTP messages are sent. Must be fully qualified interface name or keyword ‘default’



33
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ntp.rb', line 33

attribute :source_int

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



36
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ntp.rb', line 36

attribute :state

#vrf_nameObject?

Returns Makes the device communicate with the given NTP server or peer over a specific VRF or keyword ‘default’.

Returns:

  • (Object, nil)

    Makes the device communicate with the given NTP server or peer over a specific VRF or keyword ‘default’.



27
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ntp.rb', line 27

attribute :vrf_name