On 10/27/25 1:42 PM, Dima Chumak via dev wrote:
> Introduce an optional parameter to `ovs-appctl ovs/route/show` for
> printing non-default routing tables:
> 
>   ovs-appctl ovs/route/show [table=all|id]
> 
> Default usage is unchanged:
> 
>   ovs-appctl ovs/route/show
>   Route Table:
>   Cached: ::1/128 dev lo SRC ::1
>   Cached: 127.0.0.0/8 dev lo SRC 127.0.0.1 local
>   Cached: 10.7.7.0/24 dev br-phy1 SRC 10.7.7.17
>   Cached: 0.0.0.0/0 dev eth1 GW 10.0.0.1 SRC 10.0.0.2
> 
> New usage with a specific table displays only the routes from that
> table:
> 
>   ovs-appctl ovs/route/show table=10
>   Route Table #10:
>   Cached: 10.7.7.0/24 dev br-phy0 SRC 10.7.7.7
> 
> Special table 'all' displays all of the routes, the ones which are
> coming from a non-default table have additional field 'table' displayed:
> 
>   ovs-appctl ovs/route/show table=all
>   Cached: 10.7.7.0/24 dev br-phy1 SRC 10.7.7.17 table 20
>   Cached: 10.7.7.0/24 dev br-phy0 SRC 10.7.7.7 table 10
>   Cached: ::1/128 dev lo SRC ::1
>   Cached: 127.0.0.0/8 dev lo SRC 127.0.0.1 local
>   Cached: 10.7.7.0/24 dev br-phy1 SRC 10.7.7.17
>   Cached: 0.0.0.0/0 dev eth1 GW 10.0.0.1 SRC 10.0.0.2
> 
> Signed-off-by: Dima Chumak <[email protected]>
> ---
>  Documentation/howto/userspace-tunneling.rst |   2 +-
>  NEWS                                        |   4 +
>  lib/ovs-router.c                            | 177 ++++++++++++--------
>  ofproto/ofproto-tnl-unixctl.man             |   9 +-
>  tests/ovs-router.at                         |  15 ++
>  5 files changed, 137 insertions(+), 70 deletions(-)

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

Reply via email to