debugging: add FRR hint

This commit is contained in:
Christian Poessinger 2021-02-11 20:13:25 +01:00 committed by GitHub
parent f33b0c78b0
commit e8c28a5bd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,15 @@ will have the same effect as ``touch /tmp/vyos.ifconfig.debug``.
calling ``sudo systemctl stop vyos-configd`` or make this reboot-safe by
calling ``sudo systemctl disable vyos-configd``.
FRR
---
Recent versions use the ``vyos.frr`` framework. The Python class is located
inside our ``vyos-1x:python/vyos/frr.py``. It comes with an embedded debugging/
(print style) debugger as vyos.ifconfig does.
To enable debugging just run: ``$ touch /tmp/vyos.frr.debug``
Debugging Python Code with PDB
------------------------------