Class: Ansible::Ruby::Modules::Nxos_ntp_options

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

Overview

Manages NTP options, e.g. authoritative server and logging.

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

#loggingSymbol?

Returns Sets whether NTP logging is enabled on the device.

Returns:

  • (Symbol, nil)

    Sets whether NTP logging is enabled on the device.



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

attribute :logging

#masterSymbol?

Returns Sets whether the device is an authoritative NTP server.

Returns:

  • (Symbol, nil)

    Sets whether the device is an authoritative NTP server.



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

attribute :master

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



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

attribute :state

#stratumInteger?

Returns If C(master=true), an optional stratum can be supplied (1-15). The device default is 8.

Returns:

  • (Integer, nil)

    If C(master=true), an optional stratum can be supplied (1-15). The device default is 8.



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

attribute :stratum