diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-11-22 19:44:30 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-11-23 20:44:03 +0100 |
commit | d7a7b44d51acda65639bc62ec476c6765e38c479 (patch) | |
tree | 759272b1876e08ebf0d91747eb2be4b92cf0e89f | |
parent | 79b4744d5700e59c8aef29bd1f89289e45c7ac2e (diff) | |
download | vyos-1x-d7a7b44d51acda65639bc62ec476c6765e38c479.tar.gz vyos-1x-d7a7b44d51acda65639bc62ec476c6765e38c479.zip |
wireless: T1627: support DHCP(v6) addresses
-rw-r--r-- | interface-definitions/interfaces-wireless.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/interface-definitions/interfaces-wireless.xml b/interface-definitions/interfaces-wireless.xml index d13a89fce..6bc49dddb 100644 --- a/interface-definitions/interfaces-wireless.xml +++ b/interface-definitions/interfaces-wireless.xml @@ -19,6 +19,9 @@ <leafNode name="address"> <properties> <help>IP address</help> + <completionHelp> + <list>dhcp dhcpv6</list> + </completionHelp> <valueHelp> <format>ipv4net</format> <description>IPv4 address and prefix length</description> @@ -27,10 +30,19 @@ <format>ipv6net</format> <description>IPv6 address and prefix length</description> </valueHelp> - <multi/> + <valueHelp> + <format>dhcp</format> + <description>Dynamic Host Configuration Protocol</description> + </valueHelp> + <valueHelp> + <format>dhcpv6</format> + <description>Dynamic Host Configuration Protocol for IPv6</description> + </valueHelp> <constraint> <validator name="ip-cidr"/> + <regex>(dhcp|dhcpv6)</regex> </constraint> + <multi/> </properties> </leafNode> <node name="capabilities"> |