summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-26 20:54:07 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-26 20:54:07 +0200
commit825059e83237dd389d461257e1b46625084702df (patch)
tree47d50cde1195279ab5b6367b84ff60568620262a /interface-definitions
parent62fd70e83c2f147f84f8fb3def5b384d4f56695d (diff)
parent8ff6d2ed6025fb113a180e3c23be83dac7169658 (diff)
downloadvyos-1x-825059e83237dd389d461257e1b46625084702df.tar.gz
vyos-1x-825059e83237dd389d461257e1b46625084702df.zip
Merge branch 'dhcpv6-pd-t2506' of github.com:c-po/vyos-1x into current
* 'dhcpv6-pd-t2506' of github.com:c-po/vyos-1x: dhcpv6-pd: T2506: use common dictionary definition for config parameters dhcpv6-pd: T2506: add option to request specific prefix length dhcpv6-pd: pppoe: T2506: restructure CLI
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/dhcpv6-options.xml.i85
1 files changed, 52 insertions, 33 deletions
diff --git a/interface-definitions/include/dhcpv6-options.xml.i b/interface-definitions/include/dhcpv6-options.xml.i
index 2c5058d2c..98a87dba2 100644
--- a/interface-definitions/include/dhcpv6-options.xml.i
+++ b/interface-definitions/include/dhcpv6-options.xml.i
@@ -3,52 +3,71 @@
<help>DHCPv6 options</help>
</properties>
<children>
- <tagNode name="delegate">
+ <node name="prefix-delegation">
<properties>
- <help>Delegate IPv6 prefix from provider to this interface</help>
- <completionHelp>
- <script>${vyos_completion_dir}/list_interfaces.py --broadcast</script>
- </completionHelp>
+ <help>DHCPv6 Prefix Delegation Options</help>
</properties>
<children>
- <leafNode name="interface-id">
+ <leafNode name="length">
<properties>
- <help>Interface address identifier</help>
+ <help>Request IPv6 prefix length from peer</help>
<valueHelp>
- <format>0-</format>
- <description>Used to form IPv6 interface address (default: EUI-64)</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--non-negative"/>
- </constraint>
- </properties>
- </leafNode>
- <leafNode name="sla-id">
- <properties>
- <help>Interface site-Level aggregator (SLA)</help>
- <valueHelp>
- <format>0-128</format>
- <description>Decimal integer which fits in the length of SLA IDs</description>
+ <format>32-64</format>
+ <description>Length of delegated prefix</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 0-128"/>
+ <validator name="numeric" argument="--range 32-64"/>
</constraint>
</properties>
</leafNode>
- <leafNode name="sla-len">
+ <tagNode name="interface">
<properties>
- <help>Site-Level aggregator (SLA) length</help>
- <valueHelp>
- <format>0-128</format>
- <description>Length of delegated prefix</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 0-128"/>
- </constraint>
+ <help>Delegate IPv6 prefix from provider to this interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py --broadcast</script>
+ </completionHelp>
</properties>
- </leafNode>
+ <children>
+ <leafNode name="address">
+ <properties>
+ <help>Local interface address assigned to interface</help>
+ <valueHelp>
+ <format>&gt;0</format>
+ <description>Used to form IPv6 interface address (default: EUI-64)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--non-negative"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="sla-id">
+ <properties>
+ <help>Interface site-Level aggregator (SLA)</help>
+ <valueHelp>
+ <format>0-128</format>
+ <description>Decimal integer which fits in the length of SLA IDs</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-128"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="sla-len">
+ <properties>
+ <help>Site-Level aggregator (SLA) length</help>
+ <valueHelp>
+ <format>0-128</format>
+ <description>Length of delegated prefix</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-128"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </tagNode>
</children>
- </tagNode>
+ </node>
<leafNode name="parameters-only">
<properties>
<help>Acquire only config parameters, no address</help>