You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browsing the ip command docs I have noticed three different commands for route bulk manipulation: ip route flush, ip route save and ip route restore. Sadly, it seems like only the first one is implemented in pyroute2. Is there an explanation for that? The latter two commands might be really useful for routing table manipulation. Is there any official workaround (involving IPRoute.get_routes(table=...) probably)? Could I maybe help adding support for that?
If no support is planned, could you please let me know, how can I restore a route thaat I once received with IPRoute.get_routes? It is received in a form of a dictionary.
The text was updated successfully, but these errors were encountered:
Browsing the ip command docs I have noticed three different commands for route bulk manipulation:
ip route flush
,ip route save
andip route restore
. Sadly, it seems like only the first one is implemented inpyroute2
. Is there an explanation for that? The latter two commands might be really useful for routing table manipulation. Is there any official workaround (involvingIPRoute.get_routes(table=...)
probably)? Could I maybe help adding support for that?If no support is planned, could you please let me know, how can I restore a route thaat I once received with
IPRoute.get_routes
? It is received in a form of a dictionary.The text was updated successfully, but these errors were encountered: