January 2019
Beginner to intermediate
776 pages
19h 58m
English
To install bgperf, clone the source code from its source repository:
$ git clone https://github.com/pradeeban/bgperf.git
For this recipe, we forked bgperf and did some minor fixes to make it work with Python 3. The parent project is at https://github.com/osrg/bgperf, which is aimed to work with Python 2, and at the time of writing does not support Python 3. A copy of the pradeeban/bgperf repository as of now has also been included in the source code bundle of this book in the folder 23_2_benchmark_with_bgperf for your ease of reference.
Once you have cloned our bgperf fork, go to the parent directory of bgperf:
$ cd bgperf
The following command installs the listed requirements. This includes Docker and pyyaml:
$ sudo pip install ...
Read now
Unlock full access