diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-23 18:19:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 18:19:19 +0200 |
commit | b88b11ee73601155a485956be80971a697a7f4d6 (patch) | |
tree | 92ca66f39d8a56fad5d834cdaa839311f82643ca /interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i | |
parent | 8c7fbec24f8bfe064d8ad804951f5ae59b54748f (diff) | |
parent | 524b517c53d18b0b50e7ddc83da4baec63172bb8 (diff) | |
download | vyos-1x-b88b11ee73601155a485956be80971a697a7f4d6.tar.gz vyos-1x-b88b11ee73601155a485956be80971a697a7f4d6.zip |
Merge pull request #2142 from nicolas-fort/T5450
T5450: allow inverted matcher for interface and interface-group
Diffstat (limited to 'interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i')
-rw-r--r-- | interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i b/interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i new file mode 100644 index 000000000..6a39041a3 --- /dev/null +++ b/interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i @@ -0,0 +1,4 @@ +<!-- include start from constraint/interface-name-with-wildcard-and-inverted.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]?)(\*?)(.+)?|(\!?)lo</regex> +<validator name="file-path --lookup-path /sys/class/net --directory"/> +<!-- include end -->
\ No newline at end of file |