From 9c291d115d987cc635d1ef56898119c7d2bdfee6 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 7 Oct 2024 17:13:14 +0200 Subject: xml: T6430: add re-usable vrf CLI node for firewall and pbr --- .../set-packet-modifications-table-and-vrf.xml.i | 19 +---------- interface-definitions/include/firewall/vrf.xml.i | 20 ++++++++++++ interface-definitions/policy_local-route.xml.in | 38 ++-------------------- 3 files changed, 23 insertions(+), 54 deletions(-) create mode 100644 interface-definitions/include/firewall/vrf.xml.i (limited to 'interface-definitions') 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 @@ - - - VRF to forward packet with - - txt - VRF instance name - - - default - Forward into default global VRF - - - default - vrf name - - #include - - + #include 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 @@ + + + + VRF to forward packet with + + txt + VRF instance name + + + default + Forward into default global VRF + + + default + vrf name + + #include + + + diff --git a/interface-definitions/policy_local-route.xml.in b/interface-definitions/policy_local-route.xml.in index 5235a668a..9f6588db8 100644 --- a/interface-definitions/policy_local-route.xml.in +++ b/interface-definitions/policy_local-route.xml.in @@ -39,24 +39,7 @@ - - - VRF to forward packet with - - txt - VRF instance name - - - default - Forward into default global VRF - - - default - vrf name - - #include - - + #include @@ -131,24 +114,7 @@ - - - VRF to forward packet with - - txt - VRF instance name - - - default - Forward into default global VRF - - - default - vrf name - - #include - - + #include -- cgit v1.2.3