summaryrefslogtreecommitdiff
path: root/interface-definitions/include/policy/action.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-17 22:26:30 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-17 22:26:30 +0200
commitc79e93b4ba1c9fbd4cf1bf2d3b880fbf20405d7d (patch)
tree2f48fc4281cc393d4449cea69c97915dcc84bba5 /interface-definitions/include/policy/action.xml.i
parentccfd6d24c41dc229f24317a90d1387c70ca2c674 (diff)
parentebece7a4cdb942ea1ff7582ceda0f8765c329c9b (diff)
downloadvyos-1x-c79e93b4ba1c9fbd4cf1bf2d3b880fbf20405d7d.tar.gz
vyos-1x-c79e93b4ba1c9fbd4cf1bf2d3b880fbf20405d7d.zip
Merge branch 't2425-policy' of github.com:c-po/vyos-1x into current
* 't2425-policy' of github.com:c-po/vyos-1x: policy: T2425: re-implement "policy" tree from vyatta-cfg-quagga in XML/Python
Diffstat (limited to 'interface-definitions/include/policy/action.xml.i')
-rw-r--r--interface-definitions/include/policy/action.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/policy/action.xml.i b/interface-definitions/include/policy/action.xml.i
new file mode 100644
index 000000000..fddbd5a98
--- /dev/null
+++ b/interface-definitions/include/policy/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 -->