summaryrefslogtreecommitdiff
path: root/interface-definitions/include/constraint/interface-name.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/constraint/interface-name.xml.i')
-rw-r--r--interface-definitions/include/constraint/interface-name.xml.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/include/constraint/interface-name.xml.i b/interface-definitions/include/constraint/interface-name.xml.i
new file mode 100644
index 000000000..1b14eabf5
--- /dev/null
+++ b/interface-definitions/include/constraint/interface-name.xml.i
@@ -0,0 +1,4 @@
+<!-- include start from constraint/interface-name.xml.i -->
+<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]+(.\d+)?|lo</regex>
+<validator name="file-path --lookup-path /sys/class/net --directory"/>
+<!-- include end -->