20260718 Explorer 接入 VRP 检索查询

This commit is contained in:
2026-07-20 10:05:00 +08:00
parent 6d9eedd680
commit 06f4b086b4
12 changed files with 554 additions and 22 deletions

View File

@@ -319,3 +319,20 @@ export const HEALTH = {
};
export const SERVICE_INFO = { service: "rpki_query_service", version: 1 };
/**
* VRP lookup fixtures (backend feature #122). 61 rows match `ip=81.68.1.1`
* so the UI's 50-row page size paginates; the /16 row exercises covering
* semantics for prefix queries, the IPv6 row exercises the second family.
*/
export const VRPS = [
{ runId: "run_0002", asn: 45090, prefix: "81.68.0.0/14", maxLength: 14 },
{ runId: "run_0002", asn: 64496, prefix: "81.68.0.0/16", maxLength: 24 },
...Array.from({ length: 59 }, (_, i) => ({
runId: "run_0002",
asn: 64512 + i,
prefix: "81.68.0.0/14",
maxLength: 14,
})),
{ runId: "run_0002", asn: 0, prefix: "2001:7fa:0:1::/64", maxLength: 64 },
];