From dae259c5dbb6146f584251fe9a39a1a56cf926be Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Tue, 22 Mar 2022 07:11:00 +0100
Subject: qos: T4284: delete traffic-policy CLI path via Makefile

Implementation is still work in progress, as such the CLI XML definitions are
published but the Python code does not work. In this case we must ensure XML
backed node.def files are deleted after generation so they do not conflict with
the current vyatta-cfg-qos implementation.
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index 431f3a8c2..54f3892ba 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,7 @@ interface_definitions: $(config_xml_obj)
 	# T4284 neq QoS implementation is not yet live
 	find $(TMPL_DIR)/interfaces -name traffic-policy -type d -exec rm -rf {} \;
 	find $(TMPL_DIR)/interfaces -name redirect -type d -exec rm -rf {} \;
+	rm -rf $(TMPL_DIR)/traffic-policy
 	rm -rf $(TMPL_DIR)/interfaces/input
 
 	# XXX: test if there are empty node.def files - this is not allowed as these
-- 
cgit v1.2.3