diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-02 20:02:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 20:02:38 +0200 |
commit | b6b5615583b08c5f9d356ed75678c06e62574565 (patch) | |
tree | cd8ed828986d88b2c252e7102febc406aaeb1d9a | |
parent | 2de1b229f9a0f056a6bb8179183b88c20762f7ea (diff) | |
download | vyos-documentation-b6b5615583b08c5f9d356ed75678c06e62574565.tar.gz vyos-documentation-b6b5615583b08c5f9d356ed75678c06e62574565.zip |
development: add notes about priorities
-rw-r--r-- | docs/contributing/development.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/contributing/development.rst b/docs/contributing/development.rst index 0a8967d5..efaa7440 100644 --- a/docs/contributing/development.rst +++ b/docs/contributing/development.rst @@ -701,6 +701,19 @@ circumstance, the kernel boot parameter ``vyos-config-debug`` will ensure access to the system as user ``vyos``, and will log a Python stack trace to ``/tmp/boot-config-trace``. +```Priorities``` +^^^^^^^^^^^^^^^^ + +VyOS CLI is all about priorities. Every CLI node has a corresponding ``node.def`` +file and possibly an attached script that is executed when the node is present. +Nodes can have a priority, and on system bootup - or any other ``commit`` to the +config all scripts are executed from lowest to higest priority. This is good as +this gives a deterministic behavior. + +To debug issues in priorities or to see what's going on in the background you can +use the ``/opt/vyatta/sbin/priority.pl`` script which lists to you the execution +order of the scripts. + Continuous Integration ====================== |