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(-) > > diff --git a/Documentation/howto/userspace-tunneling.rst > b/Documentation/howto/userspace-tunneling.rst > index 31d82fd5e57a..1dd34cd2f5e4 100644 > --- a/Documentation/howto/userspace-tunneling.rst > +++ b/Documentation/howto/userspace-tunneling.rst > @@ -205,7 +205,7 @@ To add route:: > > To see all routes configured:: > > - $ ovs-appctl ovs/route/show > + $ ovs-appctl ovs/route/show [table=ID|all] > > To delete route:: > > diff --git a/NEWS b/NEWS > index f9a74df1ad52..c86b3921ae05 100644 > --- a/NEWS > +++ b/NEWS > @@ -17,6 +17,10 @@ Post-v3.6.0 > as read-only and trigger assertion failure when application attempts > to modify the database data through this transaction. >
nit: This empty line should be after the news entry below, i.e. 2 lines between sections, no empty lines between entries. > + - ovs-appctl: > + * 'ovs/route/show': added new option, table=[ID|all], to list routes > from > + a specific OVS table or all routes from all tables. > + > > v3.6.0 - 18 Aug 2025 > -------------------- _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
