diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-07 16:42:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 16:42:27 +0200 |
commit | 7b998593c931757994a8965999366f2d7c9c93f3 (patch) | |
tree | 1a7b3c6f054bf700ad5b857e1ba037bd5c9ddc92 /interface-definitions | |
parent | 5b563a78e1bd20c03a77527052585f025d6e7b4b (diff) | |
parent | 8638fda374b06d6775e78bccbb61368fe0637afb (diff) | |
download | vyos-1x-7b998593c931757994a8965999366f2d7c9c93f3.tar.gz vyos-1x-7b998593c931757994a8965999366f2d7c9c93f3.zip |
Merge pull request #1390 from c-po/t4456-ntp-equuleus
ntp: T4456: support listening on specified interface (equuleus)
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/generic-interface-multi.xml.i | 18 | ||||
-rw-r--r-- | interface-definitions/ntp.xml.in | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/interface-definitions/include/generic-interface-multi.xml.i b/interface-definitions/include/generic-interface-multi.xml.i new file mode 100644 index 000000000..65aae28ae --- /dev/null +++ b/interface-definitions/include/generic-interface-multi.xml.i @@ -0,0 +1,18 @@ +<!-- include start from generic-interface-multi.xml.i --> +<leafNode name="interface"> + <properties> + <help>Interface to use</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces.py</script> + </completionHelp> + <valueHelp> + <format>txt</format> + <description>Interface name</description> + </valueHelp> + <constraint> + <validator name="interface-name"/> + </constraint> + <multi/> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/ntp.xml.in b/interface-definitions/ntp.xml.in index a518a9def..85636a50f 100644 --- a/interface-definitions/ntp.xml.in +++ b/interface-definitions/ntp.xml.in @@ -81,6 +81,7 @@ </leafNode> </children> </node> + #include <include/generic-interface-multi.xml.i> #include <include/listen-address.xml.i> #include <include/interface/vrf.xml.i> </children> |