inex / IXP-Manager

Full stack web application powering peering at over 200 Internet Exchange Points (IXPs) globally.
https://www.ixpmanager.org/
GNU General Public License v2.0
375 stars 160 forks source link

ERROR:Unable to parse peering macro (as-set), process update stop #846

Closed arunnurhuda closed 1 year ago

arunnurhuda commented 1 year ago

peering macro get from peeringdb using "Prepopulate this form from PeeringDB" feature with format RADB::: or APNIC:: Task "php /srv/ixpmanager/artisan irrdb:update-prefix-db" stop process when get that value.

ERROR:Unable to parse prefix 'RADB::AS-PCH', af=10 (inet6), ret=0 ERROR:Unable to parse prefix RADB::AS-PCH ERROR:Unable to add prefix RADB::AS-PCH (bad prefix or address-family)

In Bgpq3.php line 159:

Error executing BGPQ3 with: /usr/bin/bgpq3 -S 'IDNIC,RADB,APNIC,RIPE,NTTCOM,LEVEL3' -h 'whois.radb.net' -l pl -j -m 24 'RADB::AS-PCH'

image
barryo commented 1 year ago

Hi @arunnurhuda - IXP Manager does not currently support the combined SOURCE::AS-SET format.

You can achieve this by setting the IRRDB source to RADB and just entering AS-PCH as the peering policy.

I appreciate it's coming back from PeeringDB - that functionality is meant to assist the completion of the form. We'll take a note to see if we can interpret that and set the two fields appropriately.