Hi Tristan:
I have confirmed that pyroute2 returns "None" if the metric is not explicitly set.
The default route metric values should be set according to the default values defined in [1].
Regards.
[1] http://www.man7.org/linux/man-pages/man8/route.8.html
Hi Tristan:
I have confirmed that pyroute2 returns "None" if the metric is not explicitly set.
The default route metric values should be set according to the default values defined in [1].
Regards.
[1] http:// www.man7. org/linux/ man-pages/ man8/route. 8.html