summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/default-action-base-chains.xml.i
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-05-23 14:48:15 -0300
committerNicolas Fort <nicolasfort1988@gmail.com>2023-08-11 10:41:30 -0300
commit1c2209c1dc84993d0f766f3d14df1fb3adf9dda2 (patch)
tree6f96f9a39b55e613e35d061cd2aa1df969971676 /interface-definitions/include/firewall/default-action-base-chains.xml.i
parent43294da10313198c4f71f46eb39c4276551ad118 (diff)
downloadvyos-1x-1c2209c1dc84993d0f766f3d14df1fb3adf9dda2.tar.gz
vyos-1x-1c2209c1dc84993d0f766f3d14df1fb3adf9dda2.zip
T5160: firewall refactor: new cli structure. Update only all xml
Diffstat (limited to 'interface-definitions/include/firewall/default-action-base-chains.xml.i')
-rw-r--r--interface-definitions/include/firewall/default-action-base-chains.xml.i22
1 files changed, 22 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/default-action-base-chains.xml.i b/interface-definitions/include/firewall/default-action-base-chains.xml.i
new file mode 100644
index 000000000..ba7c63cd6
--- /dev/null
+++ b/interface-definitions/include/firewall/default-action-base-chains.xml.i
@@ -0,0 +1,22 @@
+<!-- include start from firewall/default-action-base-chains.xml.i -->
+<leafNode name="default-action">
+ <properties>
+ <help>Default-action for rule-set</help>
+ <completionHelp>
+ <list>drop accept</list>
+ </completionHelp>
+ <valueHelp>
+ <format>drop</format>
+ <description>Drop 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|accept)</regex>
+ </constraint>
+ </properties>
+ <defaultValue>drop</defaultValue>
+</leafNode>
+<!-- include end -->