summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-28 22:25:20 +0100
committerChristian Breunig <christian@breunig.cc>2023-02-28 22:25:20 +0100
commit15577ba5a14ca8a0ae01c272a7b28a0048937750 (patch)
tree08dd571b490b4a7f217a161e752638dee93f22df /python
parentd14a6814acb173cdc6df13212620f7da330434ed (diff)
downloadvyos-1x-15577ba5a14ca8a0ae01c272a7b28a0048937750.tar.gz
vyos-1x-15577ba5a14ca8a0ae01c272a7b28a0048937750.zip
qos: T4284: add general debug output in update()
Diffstat (limited to 'python')
-rw-r--r--python/vyos/qos/base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/qos/base.py b/python/vyos/qos/base.py
index 28635b5e7..5d32a9776 100644
--- a/python/vyos/qos/base.py
+++ b/python/vyos/qos/base.py
@@ -144,6 +144,9 @@ class QoSBase:
def update(self, config, direction, priority=None):
""" method must be called from derived class after it has completed qdisc setup """
+ if self._debug:
+ import pprint
+ pprint.pprint(config)
if 'class' in config:
for cls, cls_config in config['class'].items():