Skip to content

Latest commit

 

History

History

testbed

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Testbed

Docker Compose setup to facilitate the tests of Risotto.

The testbed consists in two Bird routers exchanging static routes via a eBGP session. Check out the routers and Risotto configuration.

Both routers are configured to send BMP messages to the Risotto instance accessible at the bridge IP address 10.0.0.100. Risotto sends the BMP messages to a Redpanda instance.

The risotto.from_kafka table is using the ClickHouse Kafka engine to fetch the results from Redpanda. The risotto.updates table is used to store the results.

Usage

  • Start the testbed
docker compose up --build --force-recreate --renew-anon-volumes
  • You can check Risotto state
curl -s http://127.0.0.1:3000 |jq
  • Or get Prometheus metrics
curl -s http://127.0.0.1:3000/metrics
  • You can exec into one router container to interact with bird
docker exec -ti testbed-bird_10-1 /bin/bash
birdc
  • You can exec into redpanda container to interact with it
docker exec -ti testbed-redpanda-1 /bin/bash
rpk topic consume bgp-updates