diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2021-08-19 11:38:06 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2021-10-13 23:22:32 +0000 |
commit | 9ad39c026c8a3c945a7003c4aa4f5cb1d4c80160 (patch) | |
tree | 3cca19635417e28ae381d67ae31c75df2925032d /docs/gettingstarted/users/running | |
parent | f47122e07e1ecd0151902a3cabe46c60a99bee8e (diff) |
docs: better docs, mv doxygen to sphinx
This patch refactors the VPP sphinx docs
in order to make it easier to consume
for external readers as well as VPP developers.
It also makes sphinx the single source
of documentation, which simplifies maintenance
and operation.
Most important updates are:
- reformat the existing documentation as rst
- split RELEASE.md and move it into separate rst files
- remove section 'events'
- remove section 'archive'
- remove section 'related projects'
- remove section 'feature by release'
- remove section 'Various links'
- make (Configuration reference, CLI docs,
developer docs) top level items in the list
- move 'Use Cases' as part of 'About VPP'
- move 'Troubleshooting' as part of 'Getting Started'
- move test framework docs into 'Developer Documentation'
- add a 'Contributing' section for gerrit,
docs and other contributer related infos
- deprecate doxygen and test-docs targets
- redirect the "make doxygen" target to "make docs"
Type: refactor
Change-Id: I552a5645d5b7964d547f99b1336e2ac24e7c209f
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'docs/gettingstarted/users/running')
-rw-r--r-- | docs/gettingstarted/users/running/index.rst | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/docs/gettingstarted/users/running/index.rst b/docs/gettingstarted/users/running/index.rst deleted file mode 100644 index b36773e6b43..00000000000 --- a/docs/gettingstarted/users/running/index.rst +++ /dev/null @@ -1,59 +0,0 @@ -.. _running: - -Running VPP -=========== - -.. toctree:: - -'vpp' Usergroup ---------------- - -When VPP is installed, a new usergroup *'vpp'* is created. To avoid running the -VPP CLI (vppctl) as root, add any existing users to the new group that need to -interact with VPP: - -.. code-block:: console - - $ sudo usermod -a -G vpp user1 - -Update your current session for the group change to take effect: - -.. code-block:: console - - $ newgrp vpp - - -VPP Systemd File - 'vpp.service' --------------------------------- - -When the VPP is installed, a systemd service files is also installed. This -file, vpp.service (Ubuntu: /lib/systemd/system/vpp.service and CentOS: -/usr/lib/systemd/system/vpp.service), controls how VPP is run as a service. For -example, whether or not to restart on failure and if so, with how much delay. -Also, which UIO driver should be loaded and location of the *'startup.conf'* -file. - -.. code-block:: console - - $ cat /usr/lib/systemd/system/vpp.service - [Unit] - Description=Vector Packet Processing Process - After=syslog.target network.target auditd.service - - [Service] - ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api - ExecStartPre=-/sbin/modprobe uio_pci_generic - ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf - Type=simple - Restart=on-failure - RestartSec=5s - - [Install] - WantedBy=multi-user.target - -.. note:: - - Some older versions of the *'uio_pci_generic'* driver don't bind all - the supported NICs properly, so the *'igb_uio'* driver built from DPDK - needs to be installed. This file controls which driver is loaded at boot. - *'startup.conf'* file controls which driver is used. |