mirror of
https://github.com/NLnetLabs/routinator.git
synced 2024-05-19 06:50:04 +00:00
7321b6adb7
The PR restores the ability to parse ASNs in JSON input to the validity command as either a string or a number.
13 lines
158 B
JSON
13 lines
158 B
JSON
{
|
|
"routes": [{
|
|
"asn": "AS12654",
|
|
"prefix": "93.175.147.0/24"
|
|
},
|
|
{
|
|
"asn": 12654,
|
|
"prefix": "2001:7fb:fd02::/48"
|
|
}
|
|
]
|
|
}
|
|
|