diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2024-10-03 14:51:55 +0000 |
---|---|---|
committer | Nicolas Fort <nicolasfort1988@gmail.com> | 2024-10-03 14:51:55 +0000 |
commit | e846d2c1500df83742eb803684980396857cc0f1 (patch) | |
tree | f05a6b0170d885d02690904caad5a43f08a6258d /interface-definitions/include/firewall/set-packet-modifications-table-and-vrf.xml.i | |
parent | 6b7159f2927f004320c77043d0c819a6b660806d (diff) | |
download | vyos-1x-e846d2c1500df83742eb803684980396857cc0f1.tar.gz vyos-1x-e846d2c1500df83742eb803684980396857cc0f1.zip |
T6760: firewall: add packet modifications existing in policy route to regular firewall ruleset.
Diffstat (limited to 'interface-definitions/include/firewall/set-packet-modifications-table-and-vrf.xml.i')
-rw-r--r-- | interface-definitions/include/firewall/set-packet-modifications-table-and-vrf.xml.i | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/set-packet-modifications-table-and-vrf.xml.i b/interface-definitions/include/firewall/set-packet-modifications-table-and-vrf.xml.i new file mode 100644 index 000000000..c7875b31d --- /dev/null +++ b/interface-definitions/include/firewall/set-packet-modifications-table-and-vrf.xml.i @@ -0,0 +1,48 @@ +<!-- include start from firewall/set-packet-modifications-table-and-vrf.xml.i --> +<node name="set"> + <properties> + <help>Packet modifications</help> + </properties> + <children> + <leafNode name="table"> + <properties> + <help>Set the routing table for matched packets</help> + <valueHelp> + <format>u32:1-200</format> + <description>Table number</description> + </valueHelp> + <valueHelp> + <format>main</format> + <description>Main table</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-200"/> + <regex>(main)</regex> + </constraint> + <completionHelp> + <list>main</list> + <path>protocols static table</path> + </completionHelp> + </properties> + </leafNode> + <leafNode name="vrf"> + <properties> + <help>VRF to forward packet with</help> + <valueHelp> + <format>txt</format> + <description>VRF instance name</description> + </valueHelp> + <valueHelp> + <format>default</format> + <description>Forward into default global VRF</description> + </valueHelp> + <completionHelp> + <list>default</list> + <path>vrf name</path> + </completionHelp> + #include <include/constraint/vrf.xml.i> + </properties> + </leafNode> + </children> +</node> +<!-- include end --> |