diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/README.md | 6 | ||||
-rw-r--r-- | docs/source/telemetry.md | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/docs/README.md b/docs/README.md index be7f4e6df..431d1b814 100644 --- a/docs/README.md +++ b/docs/README.md @@ -15,16 +15,20 @@ out <https://packaging.python.org/guides/installing-using-pip-and-virtualenv> For example start with a clone of the hicn. +```bash $ git clone <https://gerrit.fd.io/r/hicn> $ cd hicn +``` # Install the virtual environment +```bash $ python3 -m pip install --user virtualenv $ python3 -m virtualenv env $ source env/bin/activate $ pip install -r docs/etc/requirements.txt $ cd docs +``` Which installs all the required applications into its own, isolated, virtual environment, so as to not interfere with other builds that may @@ -35,7 +39,9 @@ use different versions of software. Be sure you are in your hicn/docs directory, since that is where Sphinx will look for your conf.py file, and build the documents into an index.html file +```bash $ make html +``` # View the results diff --git a/docs/source/telemetry.md b/docs/source/telemetry.md index 4296f1c12..5cc751525 100644 --- a/docs/source/telemetry.md +++ b/docs/source/telemetry.md @@ -41,18 +41,18 @@ hICN collectd plugins have been tested in: Build dependencies: -- VPP 20.01 - - DEB packages (can be found https://packagecloud.io/fdio/release/install): +- VPP 20.01, Debian packages can be found on [packagecloud](https://packagecloud.io/fdio/release/install): - vpp - libvppinfra-dev - vpp-dev - hicn-plugin-dev +- `collectd` and `collectd-dev`: `sudo apt install collectd collectd-dev` ## Getting started -Collectd needs to be configured in order to use the hICN collectd plugins. -The configuration can be achieved editing the file '/etc/collectd/collectd.conf' -and adding the following lines: +Collectd needs to be configured in order to use the hICN plugins. +To enable the plugins, add the following lines to `/etc/collectd/collectd.conf`: + ``` LoadPlugin vpp LoadPlugin vpp_hicn |