You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asinfo: get_asinfo_map() now fills ASNs missing from RIPE NCC asn.txt
using the five RIR delegated stats files (ARIN, RIPE NCC, APNIC, LACNIC,
AFRINIC). asn.txt lags behind new allocations by days to weeks; the
delegated stats are authoritative, daily-updated allocation records and
cover newly-allocated ASNs. Only allocated/assigned records are used
(reserved/available ranges excluded). Filled entries carry the allocated
country code and an "UNKNOWN" name (delegated stats do not include
names); optional enrichment fields (as2org, population, hegemony,
peeringdb) are looked up from the already-loaded datasets, so get_preferred_name() resolves real names for filled ASNs registered in
PeeringDB/as2org. Fetch failures for individual files are logged and
skipped (best-effort).
New source-faithful irr and delegated parsing APIs separate acquisition
and parsing from AsInfo enrichment policy. IRR records preserve attribute
order and unsupported object classes; explicit IRR source selections are
validated, while with_irr() loads every catalogued source.
asinfo: added Minimum, Default, and Full loading profiles. Default
matches the existing asninfo v1 sources; Full adds delegated statistics,
all IRR sources, and typed Ipv4Net/Ipv6Net route prefixes.
asinfo: load_asinfo(bool, bool, bool, bool) is deprecated in favor of load_asinfo_with_profile() / load_asinfo_with(); the boolean form remains
as a compatibility shim with identical behavior.
asinfo: absent enrichment fields are omitted during serialization, while
old cache records without delegated or irr remain deserializable.
asinfo: optional enrichment datasets (as2org, population, hegemony,
peeringdb) in get_asinfo_map() now fail soft: a download or API error
(e.g., PeeringDB rate limiting without PEERINGDB_API_KEY) logs a warning
and proceeds with that dataset's fields as None instead of failing the
entire load. Core asn.txt + delegated-stats data still propagates load
errors.