trungdtbk / bgp-gen

Development has been moved to a new repo (https://github.com/trungdtbk/bgpreplay)
4 stars 4 forks source link

Python BGP update generator. It can generate updates (announcement/withdraw) from MRT file or randomly generated ones to a BGPspeaker.

Required YaBGP or ExaBGP to run.

============================== Generate updates from MRT file

========================= Generate updates randomly

========== Parameters

Parameters can be set via environment varibles or via commandline

========== How to run

  1. Install and start YaBGP on any PC

  1. Run BGP generator

Run with Docker

A docker container with YaBGP installed and a script to run update generator.

  1. from bgp-update-gen directory
    • docker build -t bgp-update-gen .
    • ENV:
    • BGP_LOCAL_AS
    • BGP_LOCAL_ADDR
    • BGP_PEER_ADDR
    • BGP_PEER_AS
    • BGP_PEER_PORT