summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-11 20:13:25 +0100
committerGitHub <noreply@github.com>2021-02-11 20:13:25 +0100
commite8c28a5bd7103aa9ebd402eaab644f99fc25f475 (patch)
tree92e289ebd5d207e24ca824e006fad8c31c0ece1c /docs
parentf33b0c78b07c80998d2c0e64d6a20bcb109f6db5 (diff)
downloadvyos-documentation-e8c28a5bd7103aa9ebd402eaab644f99fc25f475.tar.gz
vyos-documentation-e8c28a5bd7103aa9ebd402eaab644f99fc25f475.zip
debugging: add FRR hint
Diffstat (limited to 'docs')
-rw-r--r--docs/debugging.rst11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/debugging.rst b/docs/debugging.rst
index 6150ff60..e9207664 100644
--- a/docs/debugging.rst
+++ b/docs/debugging.rst
@@ -76,6 +76,15 @@ will have the same effect as ``touch /tmp/vyos.ifconfig.debug``.
disable ``vyos-configd`` in addition. This can be run either one-time by
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
------------------------------
@@ -188,4 +197,4 @@ the execution order of the scripts.
.. _bootchart.conf: https://github.com/vyos/vyos-build/blob/current/data/live-build-config/includes.chroot/etc/systemd/bootchart.conf
.. include:: /_include/common-references.txt
-.. start_vyoslinter \ No newline at end of file
+.. start_vyoslinter