route_metric


Description:

[ NoAccessorMethod ]
[ Version ( since = "1.0" ) ]
public int64 route_metric { get; set construct; }

The default metric for routes that don't explicitly specify a metric.

The default value -1 means that the metric is chosen automatically based on the device type. The metric applies to dynamic routes, manual (static) routes that don't have an explicit metric setting, address prefix routes, and the default route. As the linux kernel accepts zero (0) as a valid metric, zero is a valid value.