Using two XML routing Table snapshots obtained from a Juniper Device, compare the routes present in both snapshots and display a list of anomalies.
Default is to run this against all Routing Instances using switch -vrf ALL
or specify an indivdual routing instance.
go run routecompare.go -pre ./pre.xml -post ./post.xml -vrf inet.0
Results are displayed in a table via the Terminal or File if you using the below example:
go run routecompare.go -pre ./pre.xml -post ./post.xml -vrf ALL -file-output on