mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
debugging: add FRR hint
This commit is contained in:
parent
f33b0c78b0
commit
e8c28a5bd7
@ -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
|
||||
.. start_vyoslinter
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user