summaryrefslogtreecommitdiff
path: root/interface-definitions/include/policy-list-action.xml.i
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-02-15 11:26:14 +0000
committersever-sever <v.gletenko@vyos.io>2021-02-15 11:32:32 +0000
commit9761804ddef45b3a981c1148ff8165688aafb5a0 (patch)
tree79cbff96d6153e9eaaa97de7e55c77ec6edeecfe /interface-definitions/include/policy-list-action.xml.i
parentdf7e790df0c71c41455c9e05c0544889110dac0f (diff)
downloadvyos-1x-9761804ddef45b3a981c1148ff8165688aafb5a0.tar.gz
vyos-1x-9761804ddef45b3a981c1148ff8165688aafb5a0.zip
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 -->