Get interfaces, static and dym routes and export to disk

Unimus support forum
Post Reply
theunf
Posts: 1
Joined: Wed Jul 27, 2022 9:50 pm

Fri Jul 29, 2022 5:33 am

Hi,

I'm new to unimus and trying to use Unimus as a generic integration tool bu getting routing data from supported devices and then export it to text files.

Saw a simple backup exporter but that lacks routing data.

Can any1 help with guide lines on how to accomplish this ?
User avatar
Tomas
Posts: 1120
Joined: Sat Jun 25, 2016 12:33 pm

Fri Jul 29, 2022 3:28 pm

Hi,

Unimus can indeed be used as a "generic integration tool" through our API. The best approach would be to use our Config Push feature through the API to get the data you need from your devices and then store them in the format / location which you need.

In general, the flow should be something like this:
1. fire off an API request to gather the data you need using Config Push
2. get the results of the push from the API
3. save individual device results in the place / location you need.

Here is the API reference: https://wiki.unimus.net/display/UNPUB/F ... umentation

The sequence of the API calls should be:
1. call "/api/v3/jobs/push" to send the commands to dump the routing table to desired devices
2. monitor the push operation using "/api/v3/jobs/tasks/status" until finished
3. get results with "/api/v3/jobs/push/{uuid}/result"
Post Reply