summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/default-action.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-30 17:18:17 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-30 17:38:18 +0200
commit74994f9b10588fce2cbd1acc9ec09fdbaf5ae8ad (patch)
tree92d98a2a7faa9af29e1adabc0798552332d87a7e /interface-definitions/include/firewall/default-action.xml.i
parentd5cda147d722252bccbe96c5cacec75e3ba1ee14 (diff)
downloadvyos-1x-74994f9b10588fce2cbd1acc9ec09fdbaf5ae8ad.tar.gz
vyos-1x-74994f9b10588fce2cbd1acc9ec09fdbaf5ae8ad.zip
firewall: T3568: rename XML building blocks to match CLI node name
Diffstat (limited to 'interface-definitions/include/firewall/default-action.xml.i')
-rw-r--r--interface-definitions/include/firewall/default-action.xml.i25
1 files changed, 25 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/default-action.xml.i b/interface-definitions/include/firewall/default-action.xml.i
new file mode 100644
index 000000000..b11dfd2e8
--- /dev/null
+++ b/interface-definitions/include/firewall/default-action.xml.i
@@ -0,0 +1,25 @@
+<!-- include start from firewall/default-action.xml.i -->
+<leafNode name="default-action">
+ <properties>
+ <help>Default-action for rule-set</help>
+ <completionHelp>
+ <list>drop reject accept</list>
+ </completionHelp>
+ <valueHelp>
+ <format>drop</format>
+ <description>Drop if no prior rules are hit</description>
+ </valueHelp>
+ <valueHelp>
+ <format>reject</format>
+ <description>Drop and notify source if no prior rules are hit</description>
+ </valueHelp>
+ <valueHelp>
+ <format>accept</format>
+ <description>Accept if no prior rules are hit</description>
+ </valueHelp>
+ <constraint>
+ <regex>(drop|reject|accept)</regex>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->