diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-19 21:27:43 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-19 21:27:43 +0200 |
commit | ba06bfed4fc84b699689932eeb3af9b9be0f5cd7 (patch) | |
tree | 8dc39b8e3adc90e080226e142c5423e4f8c88e0e /interface-definitions/include/dhcpv6-options.xml.i | |
parent | e62218c87a99e8500f0ff0925c349db9efade262 (diff) | |
download | vyos-1x-ba06bfed4fc84b699689932eeb3af9b9be0f5cd7.tar.gz vyos-1x-ba06bfed4fc84b699689932eeb3af9b9be0f5cd7.zip |
dhcpv6-pd: T421: support ethernet based interfaces
Add support for prefix delegation when receiving the prefix via ethernet,
bridge, bond, wireless.
Diffstat (limited to 'interface-definitions/include/dhcpv6-options.xml.i')
-rw-r--r-- | interface-definitions/include/dhcpv6-options.xml.i | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/interface-definitions/include/dhcpv6-options.xml.i b/interface-definitions/include/dhcpv6-options.xml.i index c55a5271f..2c5058d2c 100644 --- a/interface-definitions/include/dhcpv6-options.xml.i +++ b/interface-definitions/include/dhcpv6-options.xml.i @@ -3,6 +3,52 @@ <help>DHCPv6 options</help> </properties> <children> + <tagNode name="delegate"> + <properties> + <help>Delegate IPv6 prefix from provider to this interface</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces.py --broadcast</script> + </completionHelp> + </properties> + <children> + <leafNode name="interface-id"> + <properties> + <help>Interface address identifier</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> + </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> <leafNode name="parameters-only"> <properties> <help>Acquire only config parameters, no address</help> |