diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-14 15:09:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-14 15:09:43 +0100 |
commit | fece992339e696b7d133682bb37cf3c88b6f358a (patch) | |
tree | d5000837154ad2aced2c9165bd6a29007a7de717 /interface-definitions/include | |
parent | dfa91f60f8bf0eeb3e7964ecc5d421a23521a931 (diff) | |
parent | 9761804ddef45b3a981c1148ff8165688aafb5a0 (diff) | |
download | vyos-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')
3 files changed, 43 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 --> diff --git a/interface-definitions/include/policy-list-description.xml.i b/interface-definitions/include/policy-list-description.xml.i new file mode 100644 index 000000000..a50278729 --- /dev/null +++ b/interface-definitions/include/policy-list-description.xml.i @@ -0,0 +1,11 @@ +<!-- included start from policy-list-description.xml.i --> +<leafNode name="description"> + <properties> + <help>Description for this policy</help> + <valueHelp> + <format>txt</format> + <description>Description for this policy</description> + </valueHelp> + </properties> +</leafNode> +<!-- included end --> diff --git a/interface-definitions/include/policy-list-rule-description.xml.i b/interface-definitions/include/policy-list-rule-description.xml.i new file mode 100644 index 000000000..e22fb7c28 --- /dev/null +++ b/interface-definitions/include/policy-list-rule-description.xml.i @@ -0,0 +1,11 @@ +<!-- included start from policy-list-rule-description.xml.i --> +<leafNode name="description"> + <properties> + <help>Description for this rule</help> + <valueHelp> + <format>txt</format> + <description>Description for this rule</description> + </valueHelp> + </properties> +</leafNode> +<!-- included end --> |