summaryrefslogtreecommitdiff
path: root/interface-definitions/include/policy-list-action.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-14 15:09:43 +0100
committerGitHub <noreply@github.com>2021-03-14 15:09:43 +0100
commitfece992339e696b7d133682bb37cf3c88b6f358a (patch)
treed5000837154ad2aced2c9165bd6a29007a7de717 /interface-definitions/include/policy-list-action.xml.i
parentdfa91f60f8bf0eeb3e7964ecc5d421a23521a931 (diff)
parent9761804ddef45b3a981c1148ff8165688aafb5a0 (diff)
downloadvyos-1x-fece992339e696b7d133682bb37cf3c88b6f358a.tar.gz
vyos-1x-fece992339e696b7d133682bb37cf3c88b6f358a.zip
Merge pull request #733 from sever-sever/T2425
conf-mode: T2425: Add XML for policy-lists
Diffstat (limited to 'interface-definitions/include/policy-list-action.xml.i')
-rw-r--r--interface-definitions/include/policy-list-action.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/policy-list-action.xml.i b/interface-definitions/include/policy-list-action.xml.i
new file mode 100644
index 000000000..fddbd5a98
--- /dev/null
+++ b/interface-definitions/include/policy-list-action.xml.i
@@ -0,0 +1,21 @@
+<!-- included start from policy-list-action.xml.i -->
+<leafNode name="action">
+ <properties>
+ <help>Action to take on entries matching this rule [REQUIRED]</help>
+ <completionHelp>
+ <list>permit deny</list>
+ </completionHelp>
+ <valueHelp>
+ <format>permit</format>
+ <description>Permit matching entries</description>
+ </valueHelp>
+ <valueHelp>
+ <format>deny</format>
+ <description>Deny matching entries</description>
+ </valueHelp>
+ <constraint>
+ <regex>^(permit|deny)$</regex>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- included end -->