[PDB-tech] ix subnet validation

Doug Porter dsp at dsp.name
Sun Sep 13 20:42:33 PDT 2015


On Wed, Aug 26, 2015 at 5:54 PM, Callahan Warlick
<callahanwarlick at gmail.com> wrote:
>
> In the oldschool mgmtPublicsIPs table, there was an
> address field containing the subnet/mask of the IX- e.g.
[snip]
> Am I missing it somewhere else, or was it decided to
> leave it out?

Cal,

It's in ixlan.  e.g.:

$ curl https://beta.peeringdb.com/api/ix/26 2> /dev/null | jq '.data[]
| (.name), (.ixlan_set[] | .id)'
"AMS-IX"
23
$ curl https://beta.peeringdb.com/api/ixlan/23 2> /dev/null | jq
'.data[] | .prefix_set[] | .prefix'
"2001:7f8:1::/64"
"80.249.208.0/21"

Regards,
-- 
dsp


More information about the Pdb-tech mailing list