Class: Ansible::Ruby::Modules::Ce_ntp

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

Overview

Manages core NTP configuration on HUAWEI CloudEngine switches.

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

#is_preferred:enable, ...

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

Returns:

  • (:enable, :disable, nil)

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



21
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp.rb', line 21

attribute :is_preferred

#key_idObject?

Returns Authentication key identifier to use with given NTP server or peer.

Returns:

  • (Object, nil)

    Authentication key identifier to use with given NTP server or peer.



18
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp.rb', line 18

attribute :key_id

#peerObject?

Returns Network address of NTP peer.

Returns:

  • (Object, nil)

    Network address of NTP peer.



15
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp.rb', line 15

attribute :peer

#serverObject?

Returns Network address of NTP server.

Returns:

  • (Object, nil)

    Network address of NTP server.



12
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp.rb', line 12

attribute :server

#source_intObject?

Returns Local source interface from which NTP messages are sent. Must be fully qualified interface name, i.e. C(40GE1/0/22), C(vlanif10). Interface types, such as C(10GE), C(40GE), C(100GE), C(Eth-Trunk), C(LoopBack), C(MEth), C(NULL), C(Tunnel), C(Vlanif).

Returns:

  • (Object, nil)

    Local source interface from which NTP messages are sent. Must be fully qualified interface name, i.e. C(40GE1/0/22), C(vlanif10). Interface types, such as C(10GE), C(40GE), C(100GE), C(Eth-Trunk), C(LoopBack), C(MEth), C(NULL), C(Tunnel), C(Vlanif).



29
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp.rb', line 29

attribute :source_int

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



32
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp.rb', line 32

attribute :state

#vpn_nameString?

Returns Makes the device communicate with the given NTP server or peer over a specific vpn.

Returns:

  • (String, nil)

    Makes the device communicate with the given NTP server or peer over a specific vpn.



25
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp.rb', line 25

attribute :vpn_name