Totals #
The totals handler will return the current IPv4 and IPv6 RIB counts.
c = bgpstuff.Client()
c.get_totals()
if c.total_v4 and c.total_v6::
print(f"There are {c.total_v4} IPv4 prefixes and {c.total_v6} IPv6 prefixes currently active")
There are 853436 IPv4 prefixes and 107017 IPv6 prefixes currently active
TODO