inex / IXP-Manager

Full stack web application powering peering at over 200 Internet Exchange Points (IXPs) globally.

Home Page:https://www.ixpmanager.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

arunnurhuda opened this issue · comments

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

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.