.. _example_service_dhcp-server_options_time-options:
############
Time-Options
############
These scenarios check DHCP server time synchronization options.
This includes: ntp-server, time-server, and time-offset.
**********************
Test NTP-Server Single
**********************
Description
===========
This scenario checks the ``ntp-server`` option with a single NTP server.
The DHCP server configures one NTP server, and the client receives it in the lease.
Verification is done via monitor-db and packet capture to confirm the server
actually sends NTP (42) option in the DHCP ACK.
Scenario
========
.. include:: time-options/testntp-serversingle
.. raw:: html
************************
Test NTP-Server Multiple
************************
Description
===========
This scenario checks the ``ntp-server`` option with multiple NTP servers.
The DHCP server configures three NTP servers, and the client receives all of them.
Scenario
========
.. include:: time-options/testntp-servermultiple
.. raw:: html
*******************
Test NTP-Server VRF
*******************
Description
===========
This scenario checks the ``ntp-server`` option when the DHCP server is configured with VRF.
Multiple NTP servers are configured in a VRF environment, and the client receives them correctly.
Scenario
========
.. include:: time-options/testntp-servervrf
.. raw:: html
**********************
Test Remove NTP-Server
**********************
Description
===========
This scenario checks that NTP servers can be removed.
Configure NTP servers, then remove them and verify they are no longer sent to the client.
Scenario
========
.. include:: time-options/testremoventp-server
.. raw:: html