Roa

ROA #

The roa handler will return the current ROA status for the requested IP. It’ll first determine the live RIB entry for the IP, then ROA check the RIB entry.

Always check the status_code is 200 after each query.
exists will only be true if a live route exists for the queried prefix. If there is no live prefix, the HTTP status code will still be 200.

c = bgpstuff.Client()

c.get_roa("1.1.1.1")
if c.status_code == 200 and c.exists:
    print(f"The ROA for 1.1.1.1 is {c.roa}")
The ROA for 1.1.1.1 is VALID
TODO