diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-28 17:24:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 17:24:26 +0200 |
commit | 5fc286ae5262477ffd35c91044adfad0d6d59bd4 (patch) | |
tree | 653ad1f3bd4e2aa2e6b75b56c161752b8aa42b55 /interface-definitions/include/policy/local-route_rule_protocol.xml.i | |
parent | ef94ff7f9959b9f3dcef398f8d85355d143ac73b (diff) | |
parent | 8953f97829b1ae583d5b9b2bd47edc8095a8f144 (diff) | |
download | vyos-1x-5fc286ae5262477ffd35c91044adfad0d6d59bd4.tar.gz vyos-1x-5fc286ae5262477ffd35c91044adfad0d6d59bd4.zip |
Merge pull request #2319 from vyos/mergify/bp/sagitta/pr-2313
T5165: Add option protocol for policy local-route (backport #2313)
Diffstat (limited to 'interface-definitions/include/policy/local-route_rule_protocol.xml.i')
-rw-r--r-- | interface-definitions/include/policy/local-route_rule_protocol.xml.i | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/policy/local-route_rule_protocol.xml.i b/interface-definitions/include/policy/local-route_rule_protocol.xml.i new file mode 100644 index 000000000..57582eb37 --- /dev/null +++ b/interface-definitions/include/policy/local-route_rule_protocol.xml.i @@ -0,0 +1,21 @@ +<!-- include start from policy/local-route_rule_protocol.xml.i --> +<leafNode name="protocol"> + <properties> + <help>Protocol to match (protocol name or number)</help> + <completionHelp> + <script>${vyos_completion_dir}/list_protocols.sh</script> + </completionHelp> + <valueHelp> + <format>u32:0-255</format> + <description>IP protocol number</description> + </valueHelp> + <valueHelp> + <format><protocol></format> + <description>IP protocol name</description> + </valueHelp> + <constraint> + <validator name="ip-protocol"/> + </constraint> + </properties> +</leafNode> +<!-- include end --> |