From 37df2912586a1fe7999724aebb8d12941fb1c7ae Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Thu, 21 Sep 2023 11:11:17 +0000 Subject: T5600: firewall: change constraints for inbound|outbound interface-name. Now user can use VRF, and negated VRF, and configuration wonn't be broken after reboot. --- .../constraint/interface-name-with-wildcard-and-inverted.xml.i | 4 ---- interface-definitions/include/firewall/match-interface.xml.i | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i (limited to 'interface-definitions') 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 deleted file mode 100644 index 6a39041a3..000000000 --- a/interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i +++ /dev/null @@ -1,4 +0,0 @@ - -(\!?)(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 - - \ No newline at end of file diff --git a/interface-definitions/include/firewall/match-interface.xml.i b/interface-definitions/include/firewall/match-interface.xml.i index 7810f88ab..1cd9f8c4a 100644 --- a/interface-definitions/include/firewall/match-interface.xml.i +++ b/interface-definitions/include/firewall/match-interface.xml.i @@ -4,6 +4,7 @@ Match interface + vrf name txt @@ -18,7 +19,8 @@ Inverted interface name to match - #include + (\!?)(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 + -- cgit v1.2.3