From 96b8b38a3c17aa08fa964eef9141cf89f1c1d442 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Wed, 27 Sep 2023 14:05:22 +0000 Subject: T5165: Add option protocol for policy local-route Add option `protocol` for policy local-route set policy local-route rule 100 destination '192.0.2.12' set policy local-route rule 100 protocol 'tcp' set policy local-route rule 100 set table '100' --- .../include/policy/local-route_rule_protocol.xml.i | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 interface-definitions/include/policy/local-route_rule_protocol.xml.i (limited to 'interface-definitions/include') 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 @@ + + + + Protocol to match (protocol name or number) + + + + + u32:0-255 + IP protocol number + + + <protocol> + IP protocol name + + + + + + + -- cgit v1.2.3