Posted on October 9, 2013 5:52 pm
 |  Asked by admin
 |  15131 views
RESOLVED
0
0
Print Friendly, PDF & Email

I am trying to use SysDb with python to create a route.

e.g. I want to have route for subnet 10.0.0.0/24 with next hop on 192.0.0.1. But I am not able to find a correct mount point to be able to do this. It will be great if someone can help me get this correct.

1
Posted by Mark Berly
Answered on January 17, 2014 3:27 pm

Using eAPI you can easily add/delete routes and unlike direct calls to sysdb you have version compatibility as eAPI provides an abstraction layer insulating you from changes to sysdb. You can find a pre-written script script that allows you to update the routing table on the Arista GitHub repository at:

https://github.com/aristanetworks/extensions/blob/master/RouteUpdate/updateRoute

Post your Answer

You must be logged in to post an answer.