diff options
author | Christian Breunig <christian@breunig.cc> | 2024-10-07 17:13:14 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-10-07 17:17:42 +0200 |
commit | 9c291d115d987cc635d1ef56898119c7d2bdfee6 (patch) | |
tree | c06e2e25705abe13d53bebe9e7598728b45113e1 /interface-definitions/include | |
parent | 051cb6fbe2a9e4b8008bf21cec33eb2b8385305d (diff) | |
download | vyos-1x-9c291d115d987cc635d1ef56898119c7d2bdfee6.tar.gz vyos-1x-9c291d115d987cc635d1ef56898119c7d2bdfee6.zip |
xml: T6430: add re-usable vrf CLI node for firewall and pbr
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/firewall/set-packet-modifications-table-and-vrf.xml.i | 19 | ||||
-rw-r--r-- | interface-definitions/include/firewall/vrf.xml.i | 20 |
2 files changed, 21 insertions, 18 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 index c7875b31d..5eb1984a5 100644 --- 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 @@ -25,24 +25,7 @@ </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> + #include <include/firewall/vrf.xml.i> </children> </node> <!-- include end --> diff --git a/interface-definitions/include/firewall/vrf.xml.i b/interface-definitions/include/firewall/vrf.xml.i new file mode 100644 index 000000000..af8ce3ab4 --- /dev/null +++ b/interface-definitions/include/firewall/vrf.xml.i @@ -0,0 +1,20 @@ +<!-- include start from firewall/vrf.xml.i --> +<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> +<!-- include end --> |