On 6 Feb 2026, at 12:47, Ilya Maximets wrote:

> JSON version of the route/show command prints out the internal priority
> field.  Users should not rely on this number, they should only rely on
> the table numbers, the protocol and the longest prefix match to know
> which route will be matched for a particular packet, all this info is
> available in the output.
>
> The internal priority is a combination of that other data and differs
> between OVS versions due to differences in the route caching
> implementation.  It is also not the rta_priority that kernel reports
> for routes, which is confusing.
>
> And we do not print this number in the non-JSON version of the output.
>
> Fixes: d000ff1cd564 ("ovs-router: Add JSON output for 'ovs/route/show' 
> command.")
> Reported-at: 
> https://mail.openvswitch.org/pipermail/ovs-dev/2025-September/426284.html
> Signed-off-by: Ilya Maximets <[email protected]>

Thanks Ilya! The change looks good to me.

Acked-by: Eelco Chaudron <[email protected]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to