summaryrefslogtreecommitdiff
path: root/interface-definitions/policy-route.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-03 17:39:19 +0100
committerChristian Poessinger <christian@poessinger.com>2022-11-03 17:39:19 +0100
commit4ae434d50337b6a1543176b0b86e938fc0663626 (patch)
tree9e726851fcf21b7f27200605718f3ebb6fd75f0d /interface-definitions/policy-route.xml.in
parentf11b76ec56f9a94c4cfb435081c7b9a5986c060c (diff)
downloadvyos-1x-4ae434d50337b6a1543176b0b86e938fc0663626.tar.gz
vyos-1x-4ae434d50337b6a1543176b0b86e938fc0663626.zip
xml: T4795: provide common and re-usable XML definitions for policy
Remove duplicated code and move to single-source of truth.
Diffstat (limited to 'interface-definitions/policy-route.xml.in')
-rw-r--r--interface-definitions/policy-route.xml.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/interface-definitions/policy-route.xml.in b/interface-definitions/policy-route.xml.in
index f480f3bd5..44b96c2e6 100644
--- a/interface-definitions/policy-route.xml.in
+++ b/interface-definitions/policy-route.xml.in
@@ -46,7 +46,8 @@
#include <include/firewall/port.xml.i>
</children>
</node>
- #include <include/policy/route-common-rule-ipv6.xml.i>
+ #include <include/policy/route-common.xml.i>
+ #include <include/policy/route-ipv6.xml.i>
#include <include/firewall/dscp.xml.i>
#include <include/firewall/packet-length.xml.i>
#include <include/firewall/hop-limit.xml.i>
@@ -98,7 +99,8 @@
#include <include/firewall/port.xml.i>
</children>
</node>
- #include <include/policy/route-common-rule.xml.i>
+ #include <include/policy/route-common.xml.i>
+ #include <include/policy/route-ipv4.xml.i>
#include <include/firewall/dscp.xml.i>
#include <include/firewall/packet-length.xml.i>
#include <include/firewall/ttl.xml.i>