I recently moved from bird to bird2. I'm currently using it as a backend to
bgpstuff.net, a looking glass.

In order to check the ROA status for a prefix in bird1 I did the following,
and got the following result:

bird> eval roa_check(roa_table, 71.178.0.0/16, 701)
(enum 35)0

That enum I just mapped to the correct ROA_ status. However this same
command gives strange output in bird2, sometimes even different when
running it more than once:
bird> eval roa_check(roa_v4, 71.178.0.0/16, 701)
   ---          0
??? <2022>

bird> eval roa_check(roa_v4, 71.178.0.0/16, 701)
[unknown type 90]

Currently running bird 2.0.5 in this instance. Is there a way to get the
ROA status like this from the CLI like in bird? Also any ideas why the
outputs above are different and seem random?

Thanks
Darren

Reply via email to