Re: [ovs-dev] [PATCH v4 2/4] ovs-router: Cleanup parser for ovs/route/add command.

2023-02-22 Thread Nobuhiro MIKI
On 2023/02/22 18:01, Simon Horman wrote: > On Wed, Feb 22, 2023 at 05:12:35PM +0900, Nobuhiro MIKI wrote: >> This patch cleans up the parser to accept pkt_mark and gw in any order. >> >> pkt_mark and gw are normally expected to be specified exactly once. >> However, as with other tools, if

Re: [ovs-dev] [PATCH v4 2/4] ovs-router: Cleanup parser for ovs/route/add command.

2023-02-22 Thread Simon Horman
On Wed, Feb 22, 2023 at 05:12:35PM +0900, Nobuhiro MIKI wrote: > This patch cleans up the parser to accept pkt_mark and gw in any order. > > pkt_mark and gw are normally expected to be specified exactly once. > However, as with other tools, if specified multiple times, the last > specification is

[ovs-dev] [PATCH v4 2/4] ovs-router: Cleanup parser for ovs/route/add command.

2023-02-22 Thread Nobuhiro MIKI
This patch cleans up the parser to accept pkt_mark and gw in any order. pkt_mark and gw are normally expected to be specified exactly once. However, as with other tools, if specified multiple times, the last specification is used. Also, pkt_mark and gw have separate prefix strings so they can be