Adding ability to operate with interface parameter
Since NTP uses UDP it listen for ports even in client mode.
This patch adds the ability to manage interfaces for listening from
client pillar also.
Added support for enabling mode7 from client pillar
Prod-related: #PROD-28867 (PROD:28867)
Prod-related: #PROD-28576 (PROD:28576)
Change-Id: I67b4a07dc47e24bf69c180a3b5e3d93dd1cf2808
diff --git a/README.rst b/README.rst
index 2f844a2..1ef273e 100644
--- a/README.rst
+++ b/README.rst
@@ -59,6 +59,24 @@
server: ntp.nic.cz
key_id: 2
+* The NTP client definition enabling the ``listen`` and ``ignore`` actions on
+ specific addresses:
+
+ .. code-block:: yaml
+
+ ntp:
+ client:
+ interface:
+ 1:
+ value: wildcard
+ action: ignore
+ 2:
+ value: ::1
+ action: listen
+ 3:
+ value: 192.168.31.1
+ action: listen
+
* The NTP server with MD5 auth configuration:
.. code-block:: yaml
@@ -127,6 +145,7 @@
ntp:
server:
+ interface:
1:
value: wildcard
action: ignore