2018-08-06 00:25:33 -04:00
|
|
|
.. _running_vpp:
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
|
|
|
Running VPP
|
|
|
|
===========
|
|
|
|
|
2018-08-14 16:04:09 -04:00
|
|
|
After building the VPP binaries, you now have several images that you have built.
|
|
|
|
These images are useful when you need to run VPP without installing the packages.
|
|
|
|
For instance if you want to run VPP with GDB.
|
2018-08-06 00:25:33 -04:00
|
|
|
|
2018-08-14 16:04:09 -04:00
|
|
|
Running Without GDB
|
2018-08-06 00:25:33 -04:00
|
|
|
_________________________
|
|
|
|
|
2018-08-14 16:04:09 -04:00
|
|
|
To run the VPP images that you've built without GDB, run the following commands:
|
2018-08-06 00:25:33 -04:00
|
|
|
|
|
|
|
Running the release image:
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
# make run-release
|
|
|
|
#
|
|
|
|
|
2018-08-13 17:00:06 -04:00
|
|
|
Running the debug image:
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
# make run
|
|
|
|
#
|
|
|
|
|
2018-08-14 16:04:09 -04:00
|
|
|
Running With GDB
|
2018-08-06 00:25:33 -04:00
|
|
|
_________________________
|
|
|
|
|
|
|
|
With the following commands you can run VPP and then be dropped into the GDB prompt.
|
|
|
|
|
|
|
|
Running the release image:
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
# make debug-release
|
|
|
|
(gdb)
|
|
|
|
|
|
|
|
Running the debug image:
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
# make debug
|
|
|
|
(gdb)
|