mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-08-29 11:19:49 +02:00
This PR resolves an issue with the new BGP API code which returns no announcement info even though there is announcement info (but it is available, but there is no information about its relations).
1471 lines
45 KiB
JSON
1471 lines
45 KiB
JSON
{
|
|
"test/api/v1/prefix/2a04:b900::/29/search": {
|
|
"type": "longest-match",
|
|
"prefix": "2a04:b900::/29",
|
|
"result": {
|
|
"prefix": "2a04:b900::/29",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "same-org",
|
|
"members": [
|
|
{
|
|
"prefix": "185.49.140.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2a04:b900::/29",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "less-specific",
|
|
"members": []
|
|
},
|
|
{
|
|
"type": "more-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "2a04:b900::/30",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS8587"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2a04:b904::/48",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS211321"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2a04:b905::/48",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS16509"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2a04:b906::/48",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS211321"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2a04:b907::/47",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS211321"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2a04:b907::/48",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS211321"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/185.49.140.0/22/search": {
|
|
"type": "longest-match",
|
|
"prefix": "185.49.140.0/22",
|
|
"result": {
|
|
"prefix": "185.49.140.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "same-org",
|
|
"members": [
|
|
{
|
|
"prefix": "185.49.140.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2a04:b900::/29",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "less-specific",
|
|
"members": []
|
|
},
|
|
{
|
|
"type": "more-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "185.49.140.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS8587"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "185.49.142.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS211321"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "185.49.142.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS211321"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/10.0.0.0/16/search": {
|
|
"type": "longest-match",
|
|
"prefix": "10.0.0.0/16",
|
|
"result": {
|
|
"prefix": "10.0.0.0/16",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "more-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "10.0.0.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64496",
|
|
"AS64497"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "10.0.2.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64496"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "10.0.0.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64496"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "10.0.0.0/21",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64497"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/10.0.0.0/8/search": {
|
|
"type": "longest-match",
|
|
"prefix": "10.0.0.0/8",
|
|
"result": {
|
|
"prefix": "10.0.0.0/8",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "more-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "10.0.0.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64496",
|
|
"AS64497"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "10.0.2.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64496"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "10.0.0.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64496"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "10.0.0.0/21",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64497"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/10.0.0.0/22/search": {
|
|
"type": "longest-match",
|
|
"prefix": "10.0.0.0/22",
|
|
"result": {
|
|
"prefix": "10.0.0.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64496",
|
|
"AS64497"
|
|
],
|
|
"type": "exact-match"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "less-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "10.0.0.0/21",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64497"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "more-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "10.0.2.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64496"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "10.0.0.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64496"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/192.168.0.0/16/search": {
|
|
"type": "longest-match",
|
|
"prefix": "192.168.0.0/16",
|
|
"result": {
|
|
"prefix": "192.168.0.0/16",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "more-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "192.168.0.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64496",
|
|
"AS64497"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "192.168.1.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64497"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/1.1.1.1/32/search": "",
|
|
"test/api/v1/prefix/3.3.3.3/32/search": {
|
|
"type": "longest-match",
|
|
"prefix": "3.3.3.3/32",
|
|
"result": {
|
|
"prefix": "3.3.3.3/32",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "more-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "3.3.3.3/32",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"64496",
|
|
"banana"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/4.4.4.4/32/search": {
|
|
"type": "longest-match",
|
|
"prefix": "4.4.4.4/32",
|
|
"result": {
|
|
"prefix": "4.4.4.512/32",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "ripe"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS64496",
|
|
"AS64497"
|
|
],
|
|
"type": "exact-match"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/11.44.31.0/24/search": {
|
|
"type": "longest-match",
|
|
"prefix": "11.44.31.0/24",
|
|
"result": {
|
|
"prefix": "11.44.31.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS555222"
|
|
],
|
|
"type": "exact-match"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/103.60.200.0/22/search": {
|
|
"type": "longest-match",
|
|
"prefix": "103.60.200.0/22",
|
|
"result": {
|
|
"prefix": "103.60.200.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
],
|
|
"type": "exact-match"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "same-org",
|
|
"members": [
|
|
{
|
|
"prefix": "103.60.200.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "122.99.120.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.7.196.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.30.60.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2403:7e00::/32",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "less-specific",
|
|
"members": []
|
|
},
|
|
{
|
|
"type": "more-specific",
|
|
"members": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/103.160.116.0/23/search": {
|
|
"type": "longest-match",
|
|
"prefix": "103.160.116.0/23",
|
|
"result": {
|
|
"prefix": "103.160.116.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "same-org",
|
|
"members": [
|
|
{
|
|
"prefix": "103.160.116.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.28.181.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9449"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2406:e940::/32",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "less-specific",
|
|
"members": []
|
|
},
|
|
{
|
|
"type": "more-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "103.160.116.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9449"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "103.160.117.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9449"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/103.184.174.0/23/search": {
|
|
"type": "longest-match",
|
|
"prefix": "103.184.174.0/23",
|
|
"result": {
|
|
"prefix": "103.184.174.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "same-org",
|
|
"members": [
|
|
{
|
|
"prefix": "103.184.174.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2400:6820::/32",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "less-specific",
|
|
"members": []
|
|
},
|
|
{
|
|
"type": "more-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "103.184.174.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9888"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "103.184.175.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9888"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/103.233.208.0/22/search": {
|
|
"type": "longest-match",
|
|
"prefix": "103.233.208.0/22",
|
|
"result": {
|
|
"prefix": "103.233.208.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "same-org",
|
|
"members": [
|
|
{
|
|
"prefix": "103.233.208.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "202.14.148.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.0.80.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.1.68.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.1.69.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.31.110.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.57.23.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2400:9c20::/32",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "less-specific",
|
|
"members": []
|
|
},
|
|
{
|
|
"type": "more-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "103.233.208.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "103.233.209.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "103.233.210.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "103.233.211.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/122.99.120.0/22/search": {
|
|
"type": "longest-match",
|
|
"prefix": "122.99.120.0/22",
|
|
"result": {
|
|
"prefix": "122.99.120.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
],
|
|
"type": "exact-match"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "same-org",
|
|
"members": [
|
|
{
|
|
"prefix": "103.60.200.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "122.99.120.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.7.196.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.30.60.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2403:7e00::/32",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "less-specific",
|
|
"members": []
|
|
},
|
|
{
|
|
"type": "more-specific",
|
|
"members": [
|
|
{
|
|
"prefix": "122.99.120.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "122.99.121.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "122.99.122.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "122.99.123.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS7546"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/202.14.148.0/24/search": {
|
|
"type": "longest-match",
|
|
"prefix": "202.14.148.0/24",
|
|
"result": {
|
|
"prefix": "202.14.148.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
],
|
|
"type": "exact-match"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "same-org",
|
|
"members": [
|
|
{
|
|
"prefix": "103.233.208.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "202.14.148.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.0.80.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.1.68.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.1.69.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.31.110.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.57.23.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2400:9c20::/32",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "less-specific",
|
|
"members": []
|
|
},
|
|
{
|
|
"type": "more-specific",
|
|
"members": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/203.0.80.0/24/search": {
|
|
"type": "longest-match",
|
|
"prefix": "203.0.80.0/24",
|
|
"result": {
|
|
"prefix": "203.0.80.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
],
|
|
"type": "exact-match"
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"type": "same-org",
|
|
"members": [
|
|
{
|
|
"prefix": "103.233.208.0/22",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "202.14.148.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.0.80.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.1.68.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.1.69.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.31.110.0/23",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "203.57.23.0/24",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prefix": "2400:9c20::/32",
|
|
"meta": [
|
|
{
|
|
"sourceType": "rir-alloc",
|
|
"sourceID": "apnic"
|
|
},
|
|
{
|
|
"sourceType": "bgp",
|
|
"sourceID": "riswhois",
|
|
"originASNs": [
|
|
"AS9913"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "less-specific",
|
|
"members": []
|
|
},
|
|
{
|
|
"type": "more-specific",
|
|
"members": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test/api/v1/prefix/203.1.68.0/23/search": {
|
|
"type": "longest-match",
|
|
"prefix": "203.1.68.0/23",
|
|
"result": {
|
|
"prefix": null,
|
|
"type": "empty-match",
|
|
"meta": [],
|
|
"members": [],
|
|
"relations": []
|
|
}
|
|
}
|
|
} |