12 Mar
2017
12 Mar
'17
9:35 p.m.
Neil, On 12.03.2017 19:26, Neil Lathwood wrote:
We've been working on adding some simple support into LibreNMS so users can list the exchanges that they are connected to and then in turn the peers on those exchanges and if they have sessions configured already.
To do this we're making use of the two following API calls:
https://peeringdb.com/api/net?depth=2&asn=[asn] https://peeringdb.com/api/ixlan/[ix_id]?depth=2 (We require ASN for each peer to match with the data we have).
Firstly I hope that these are the best two end points to use. Secondly I hope this is an appropriate use of the API.
Imho netixlan is more appropriate as this endpoint holds all the relevant information needed for session setup. Arnold