summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/inbound-interface-no-group.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-25 20:30:08 +0200
committerGitHub <noreply@github.com>2023-10-25 20:30:08 +0200
commitef55eab3c7cdac7b8febca9af15b5118aa475c45 (patch)
treecdd435b79159542d8ccbfe3d3fdfe8a16356c3ee /interface-definitions/include/firewall/inbound-interface-no-group.xml.i
parent73eb7777a5d3a3bce48719f651c6b0f3a1c1a79d (diff)
parent51abbc0f1b2ccf4785cf7f29f1fe6f4af6007ee6 (diff)
downloadvyos-1x-ef55eab3c7cdac7b8febca9af15b5118aa475c45.tar.gz
vyos-1x-ef55eab3c7cdac7b8febca9af15b5118aa475c45.zip
Merge pull request #2406 from nicolas-fort/T5681
T5681: Firewall,Nat and Nat66: simplified and standarize interface matcher
Diffstat (limited to 'interface-definitions/include/firewall/inbound-interface-no-group.xml.i')
-rw-r--r--interface-definitions/include/firewall/inbound-interface-no-group.xml.i34
1 files changed, 34 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/inbound-interface-no-group.xml.i b/interface-definitions/include/firewall/inbound-interface-no-group.xml.i
new file mode 100644
index 000000000..bcd4c9570
--- /dev/null
+++ b/interface-definitions/include/firewall/inbound-interface-no-group.xml.i
@@ -0,0 +1,34 @@
+<!-- include start from firewall/inbound-interface-no-group.xml.i -->
+<node name="inbound-interface">
+ <properties>
+ <help>Match inbound-interface</help>
+ </properties>
+ <children>
+ <leafNode name="name">
+ <properties>
+ <help>Match interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces</script>
+ <path>vrf name</path>
+ </completionHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>Interface name</description>
+ </valueHelp>
+ <valueHelp>
+ <format>txt*</format>
+ <description>Interface name with wildcard</description>
+ </valueHelp>
+ <valueHelp>
+ <format>!txt</format>
+ <description>Inverted interface name to match</description>
+ </valueHelp>
+ <constraint>
+ <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="vrf-name"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end --> \ No newline at end of file