NLnetLabs / gantry

A tool for deploying and testing network routers in the cloud.
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

VRP comparison #4

Closed ximon18 closed 5 years ago

ximon18 commented 5 years ago

1, Query the actual router VRP database and compare the content to that of the Routinator.

  1. Repeat the comparison after the data has changed in the Routinator. Does the router pick up the changes and does its database match the Routinator data?

This probably requires that I know the serial number of the Routinator data and the router data.

For the Routinator getting the serial number depends on https://github.com/NLnetLabs/routinator/issues/73, though it might be possible to get the serial number from the Routinator logs.

For the router, at least Alcatel/Lucent/Nokia SROS 16.0.R6 exposes the serial via the console:

A:vSIM>show router origin-validation rpki-session detail
...
Serial ID          : 53149              Session ID         : 0

Use environment no more (otherwise the interface prompts for the next page) and show router origin-validation database to get the actual VRPs.

I'm not sure if I can get it via NETCONF or if doing so would be any more standard across routers than using the proprietary console.

ximon18 commented 5 years ago

Routinator vs Nokia SROS VRP DB comparison has been working since commit 3c1ca64d8b074397e0d64622be507f8e570c29e3.