summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/client-ipv6-pool.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-14 16:44:55 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-14 16:54:39 +0100
commit59ad580cdea2e66e24470ee3d84f29a8619b7bf9 (patch)
treec66f98ef886f51f6ab6bebbf3fcaef13b5114b35 /interface-definitions/include/accel-ppp/client-ipv6-pool.xml.i
parentb331f6e7ba6e26d5e375121df675d97d2abfd3ac (diff)
downloadvyos-1x-59ad580cdea2e66e24470ee3d84f29a8619b7bf9.tar.gz
vyos-1x-59ad580cdea2e66e24470ee3d84f29a8619b7bf9.zip
xml: accel-ppp: move building blocks to subfolder
As the amount of include files now has reached a certain amount, it is getting more and more crowsded, thuse introducing "per topic" subdirectories on the filesystem to keep a clean structure makes sense.
Diffstat (limited to 'interface-definitions/include/accel-ppp/client-ipv6-pool.xml.i')
-rw-r--r--interface-definitions/include/accel-ppp/client-ipv6-pool.xml.i61
1 files changed, 61 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/client-ipv6-pool.xml.i b/interface-definitions/include/accel-ppp/client-ipv6-pool.xml.i
new file mode 100644
index 000000000..bd3dadf8d
--- /dev/null
+++ b/interface-definitions/include/accel-ppp/client-ipv6-pool.xml.i
@@ -0,0 +1,61 @@
+<!-- include start from accel-ppp/client-ipv6-pool.xml.i -->
+<node name="client-ipv6-pool">
+ <properties>
+ <help>Pool of client IPv6 addresses</help>
+ </properties>
+ <children>
+ <tagNode name="prefix">
+ <properties>
+ <help>Pool of addresses used to assign to clients</help>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 address and prefix length</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-prefix"/>
+ </constraint>
+ </properties>
+ <children>
+ <leafNode name="mask">
+ <properties>
+ <help>Prefix length used for individual client</help>
+ <valueHelp>
+ <format>u32:48-128</format>
+ <description>Client prefix length (default: 64)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 48-128"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </tagNode>
+ <tagNode name="delegate">
+ <properties>
+ <help>Subnet used to delegate prefix through DHCPv6-PD (RFC3633)</help>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 address and prefix length</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-prefix"/>
+ </constraint>
+ </properties>
+ <children>
+ <leafNode name="delegation-prefix">
+ <properties>
+ <help>Prefix length delegated to client</help>
+ <valueHelp>
+ <format>u32:32-64</format>
+ <description>Delegated prefix length</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 32-64"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </tagNode>
+ </children>
+</node>
+<!-- include end -->