summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-wireless.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-14 21:44:59 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-14 21:44:59 +0200
commit27c38bfc6925b5d1027d92a3f4d9a9d3b8546826 (patch)
treee87ca01f2b3dd67075035e74dcc05aeaa0461969 /interface-definitions/interfaces-wireless.xml.in
parent5f75ecc0e207ee5c04b956e12b65c5846bb7b9be (diff)
downloadvyos-1x-27c38bfc6925b5d1027d92a3f4d9a9d3b8546826.tar.gz
vyos-1x-27c38bfc6925b5d1027d92a3f4d9a9d3b8546826.zip
wireless: T2354: add new validator for phy interfaces
Diffstat (limited to 'interface-definitions/interfaces-wireless.xml.in')
-rw-r--r--interface-definitions/interfaces-wireless.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-wireless.xml.in b/interface-definitions/interfaces-wireless.xml.in
index d21074b6a..06c7734f5 100644
--- a/interface-definitions/interfaces-wireless.xml.in
+++ b/interface-definitions/interfaces-wireless.xml.in
@@ -561,6 +561,9 @@
<completionHelp>
<script>${vyos_completion_dir}/list_wireless_phys.sh</script>
</completionHelp>
+ <constraint>
+ <validator name="wireless-phy"/>
+ </constraint>
</properties>
</leafNode>
<leafNode name="reduce-transmit-power">