Re: [ovs-dev] [PATCH v4 3/4] ovs-router: Introduce src option in ovs/route/add command.

2023-02-22 Thread Simon Horman
On Wed, Feb 22, 2023 at 06:31:55PM +0900, Nobuhiro MIKI wrote: > On 2023/02/22 18:04, Simon Horman wrote: > > On Wed, Feb 22, 2023 at 05:12:36PM +0900, Nobuhiro MIKI wrote: ... > >> diff --git a/ofproto/ofproto-tnl-unixctl.man > >> b/ofproto/ofproto-tnl-unixctl.man > >> index

Re: [ovs-dev] [PATCH v4 3/4] ovs-router: Introduce src option in ovs/route/add command.

2023-02-22 Thread Nobuhiro MIKI
On 2023/02/22 18:04, Simon Horman wrote: > On Wed, Feb 22, 2023 at 05:12:36PM +0900, Nobuhiro MIKI wrote: >> When adding a route with ovs/route/add command, the source address >> in "ovs_router_entry" structure is always the FIRST address that the >> interface has. See

Re: [ovs-dev] [PATCH v4 3/4] ovs-router: Introduce src option in ovs/route/add command.

2023-02-22 Thread Simon Horman
On Wed, Feb 22, 2023 at 05:12:36PM +0900, Nobuhiro MIKI wrote: > When adding a route with ovs/route/add command, the source address > in "ovs_router_entry" structure is always the FIRST address that the > interface has. See "ovs_router_get_netdev_source_address" > function for more information. >

[ovs-dev] [PATCH v4 3/4] ovs-router: Introduce src option in ovs/route/add command.

2023-02-22 Thread Nobuhiro MIKI
When adding a route with ovs/route/add command, the source address in "ovs_router_entry" structure is always the FIRST address that the interface has. See "ovs_router_get_netdev_source_address" function for more information. If an interface has multiple ipv4 and/or ipv6 addresses, there are use