In this recipe, we aim to introduce BGP implementations with Python through a simple benchmarking project, as a simple exercise. We will benchmark a few BGP implementations with bgpert, a Python-based benchmarking tool for BGP implementations.
Benchmarking BGP implementations with bgperf
Getting ready
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...