diff options
author | Christian Breunig <christian@breunig.cc> | 2023-02-28 22:25:20 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-02-28 22:25:20 +0100 |
commit | 15577ba5a14ca8a0ae01c272a7b28a0048937750 (patch) | |
tree | 08dd571b490b4a7f217a161e752638dee93f22df /python/vyos | |
parent | d14a6814acb173cdc6df13212620f7da330434ed (diff) | |
download | vyos-1x-15577ba5a14ca8a0ae01c272a7b28a0048937750.tar.gz vyos-1x-15577ba5a14ca8a0ae01c272a7b28a0048937750.zip |
qos: T4284: add general debug output in update()
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/qos/base.py | 3 |
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(): |