summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-01 10:51:09 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-01 10:51:09 +0200
commit0993d9ed9fbbd2110a4911d10fc0b42c7ee8856e (patch)
tree7dfac3240766972b436e4d2324ccb977d02bfd14 /interface-definitions/include
parent960b635f98b3fcad3d8890e6b7651519a85dabeb (diff)
downloadvyos-1x-0993d9ed9fbbd2110a4911d10fc0b42c7ee8856e.tar.gz
vyos-1x-0993d9ed9fbbd2110a4911d10fc0b42c7ee8856e.zip
xml: allow-client: T5126: re-use new building block also for NTP service
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/allow-client.xml.i68
1 files changed, 35 insertions, 33 deletions
diff --git a/interface-definitions/include/allow-client.xml.i b/interface-definitions/include/allow-client.xml.i
index 03a0b3ff8..1b06e2c17 100644
--- a/interface-definitions/include/allow-client.xml.i
+++ b/interface-definitions/include/allow-client.xml.i
@@ -1,33 +1,35 @@
- <node name="allow-client">
- <properties>
- <help>Restrict to allowed IP client addresses</help>
- </properties>
- <children>
- <leafNode name="address">
- <properties>
- <help>Allowed IP client addresses</help>
- <valueHelp>
- <format>ipv4</format>
- <description>IPv4 address</description>
- </valueHelp>
- <valueHelp>
- <format>ipv6</format>
- <description>IPv6 address</description>
- </valueHelp>
- <valueHelp>
- <format>ipv4net</format>
- <description>IPv4 address and prefix length</description>
- </valueHelp>
- <valueHelp>
- <format>ipv6net</format>
- <description>IPv6 address and prefix length</description>
- </valueHelp>
- <constraint>
- <validator name="ip-address"/>
- <validator name="ip-cidr"/>
- </constraint>
- <multi/>
- </properties>
- </leafNode>
- </children>
- </node>
+<!-- include start from allow-client.xml.i -->
+<node name="allow-client">
+ <properties>
+ <help>Restrict to allowed IP client addresses</help>
+ </properties>
+ <children>
+ <leafNode name="address">
+ <properties>
+ <help>Allowed IP client addresses</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv4net</format>
+ <description>IPv4 address and prefix length</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 address and prefix length</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ip-address"/>
+ <validator name="ip-cidr"/>
+ </constraint>
+ <multi/>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->