Route

Route #

The route handler will return the current active RIB entry for the IP requested.

c = bgpstuff.Client()

c.get_route("1.1.1.1")
if c.route:
    print(f"The route for 1.1.1.1 is {c.route}")
The route for 1.1.1.1 is 1.1.1.0/24
TODO