9ad39c026c
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>
50 lines
1.2 KiB
ReStructuredText
50 lines
1.2 KiB
ReStructuredText
.. _containerSetup:
|
|
|
|
.. toctree::
|
|
|
|
Container packages
|
|
==================
|
|
|
|
Now we can go into container *cone* and install prerequisites such as VPP, and perform some additional commands:
|
|
|
|
To enter our container via the shell, type:
|
|
|
|
.. code-block:: console
|
|
|
|
# lxc-attach -n cone
|
|
root@cone:/#
|
|
|
|
Run the linux DHCP setup and install VPP:
|
|
|
|
.. code-block:: console
|
|
|
|
root@cone:/# resolvconf -d eth0
|
|
root@cone:/# dhclient
|
|
root@cone:/# apt-get install -y wget
|
|
root@cone:/# echo "deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.ubuntu.xenial.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
|
|
root@cone:/# apt-get update
|
|
root@cone:/# apt-get install -y --force-yes vpp
|
|
root@cone:/# sh -c 'echo \"\\ndpdk {\\n no-pci\\n}\" >> /etc/vpp/startup.conf'
|
|
|
|
After this is done, start VPP in this container:
|
|
|
|
.. code-block:: console
|
|
|
|
root@cone:/# service vpp start
|
|
|
|
Exit this container with the **exit** command (you *may* need to run **exit** twice):
|
|
|
|
.. code-block:: console
|
|
|
|
root@cone:/# exit
|
|
exit
|
|
root@cone:/# exit
|
|
exit
|
|
root@localhost:~#
|
|
|
|
Repeat the container setup on this page for the second container **ctwo**. Go to the end of the previous page if you forgot how to start a container.
|
|
|
|
|
|
|
|
|