Vrps

VRPs #

The vrps handler will return all the current VRPs (Validated ROA Payloads) for a given ASN.

c = bgpstuff.Client()

c.get_vrps(138699)
if c.vrps:
    for vrp in c.vrps:
        print(f"Prefix:{vrp} & max prefix length of {c.vrps[vrp]}")
Prefix:103.136.221.0/24 & max prefix length of 24
Prefix:103.136.220.0/24 & max prefix length of 24
Prefix:199.103.24.0/23 & max prefix length of 24
Prefix:2404:9dc0:cd01::/48 & max prefix length of 48
TODO