Packages
libnm
NM
IPRoute
attribute_validate
get_variant_attribute_spec
IPRoute
IPRoute.binary
@ref
dup
equal
equal_full
get_attribute
get_attribute_names
get_dest
get_family
get_metric
get_next_hop
get_prefix
set_attribute
set_dest
set_metric
set_next_hop
set_prefix
unref
set_metric
Description:
public
void
set_metric
(
int64
metric)
Sets the metric property of this route object.
Parameters:
this
the
IPRoute
metric
the route metric (or -1 for "default")