summaryrefslogtreecommitdiff
path: root/interface-definitions/include/constraint/interface-name-with-wildcard.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-01 13:14:30 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-01 13:14:30 +0200
commit2265bb4dc27965da3dce7e3f476366b7d1e911f3 (patch)
treefc3731ce4f1625b2a20a71c77db2e4fe3992657d /interface-definitions/include/constraint/interface-name-with-wildcard.xml.i
parent15922541cef35956107e0b32ee952fee05928dbd (diff)
downloadvyos-1x-2265bb4dc27965da3dce7e3f476366b7d1e911f3.tar.gz
vyos-1x-2265bb4dc27965da3dce7e3f476366b7d1e911f3.zip
xml: include building block file name should end with .i and not .in
Diffstat (limited to 'interface-definitions/include/constraint/interface-name-with-wildcard.xml.i')
-rw-r--r--interface-definitions/include/constraint/interface-name-with-wildcard.xml.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/include/constraint/interface-name-with-wildcard.xml.i b/interface-definitions/include/constraint/interface-name-with-wildcard.xml.i
new file mode 100644
index 000000000..09867b380
--- /dev/null
+++ b/interface-definitions/include/constraint/interface-name-with-wildcard.xml.i
@@ -0,0 +1,4 @@
+<!-- include start from constraint/interface-name-with-wildcard.xml.in -->
+<regex>(bond|br|dum|en|ersp|eth|gnv|ifb|lan|l2tp|l2tpeth|macsec|peth|ppp|pppoe|pptp|sstp|tun|veth|vti|vtun|vxlan|wg|wlan|wwan)([0-9]?)(\*?)(.+)?|lo</regex>
+<validator name="file-path --lookup-path /sys/class/net --directory"/>
+<!-- include end -->