2023-11-22 08:54:39 +00:00
|
|
|
.. only:: comment
|
|
|
|
|
|
|
|
|
|
© Crown-owned copyright 2023, Defence Science and Technology Laboratory UK
|
|
|
|
|
|
2024-02-23 08:55:32 +00:00
|
|
|
NTPServer
|
|
|
|
|
=========
|
2023-11-22 08:54:39 +00:00
|
|
|
The ``NTPServer`` provides a NTP Server simulation by extending the base Service class.
|
|
|
|
|
|
|
|
|
|
NTP Client
|
|
|
|
|
----------
|
|
|
|
|
The ``NTPClient`` provides a NTP Client simulation by extending the base Service class.
|
|
|
|
|
|
|
|
|
|
Key capabilities
|
|
|
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
- Simulates NTP requests and NTPPacket transfer across a network
|
|
|
|
|
- Leverages the Service base class for install/uninstall, status tracking, etc.
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
|
^^^^^
|
|
|
|
|
- Install on a Node via the ``SoftwareManager`` to start the database service.
|
2024-02-12 17:24:28 +00:00
|
|
|
- Service runs on UDP port 123 by default.
|
2023-11-22 08:54:39 +00:00
|
|
|
|
|
|
|
|
Implementation
|
|
|
|
|
^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
- NTP request and responses use a ``NTPPacket`` object
|
|
|
|
|
- Extends Service class for integration with ``SoftwareManager``.
|