From 60f931fdb23b0053171f6a48d014c7df86724d3f Mon Sep 17 00:00:00 2001
From: Viacheslav Hletenko <v.gletenko@vyos.io>
Date: Tue, 16 Aug 2022 11:41:29 +0000
Subject: trafic-policy: T4618: Set correct priority for traffic-policy

Traffic-policy should be exist before than we can attach it
to an interface
The interface should exist before we can attach traffic-policy to it

(cherry picked from commit b8786cd1044b117e4629689efa7e632b0d47d271)
---
 templates-skeleton/interface-templates/traffic-policy/out/node.def | 1 +
 1 file changed, 1 insertion(+)

(limited to 'templates-skeleton/interface-templates/traffic-policy/out/node.def')

diff --git a/templates-skeleton/interface-templates/traffic-policy/out/node.def b/templates-skeleton/interface-templates/traffic-policy/out/node.def
index 37eaa5b..deb3e4e 100644
--- a/templates-skeleton/interface-templates/traffic-policy/out/node.def
+++ b/templates-skeleton/interface-templates/traffic-policy/out/node.def
@@ -1,4 +1,5 @@
 type: txt
+priority: 620
 help: Egress traffic policy for interface
 allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out
 update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface $IFNAME out $VAR(@)
-- 
cgit v1.2.3

