diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-10-04 12:21:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-04 12:21:51 +0100 |
commit | 2a46c1cfb229f0e473b91aeaf8dfd278527ccda6 (patch) | |
tree | c7b547b5ddd9f3a34d402cf09f22c238677ff087 /interface-definitions/include/firewall/set-packet-modifications-table-and-vrf.xml.i | |
parent | 43f646d6046e6edf62456f9e414cf1e1f1638e40 (diff) | |
parent | e846d2c1500df83742eb803684980396857cc0f1 (diff) | |
download | vyos-1x-2a46c1cfb229f0e473b91aeaf8dfd278527ccda6.tar.gz vyos-1x-2a46c1cfb229f0e473b91aeaf8dfd278527ccda6.zip |
Merge pull request #4123 from nicolas-fort/fwall_set_commands
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 --> |