Re: [ovs-dev] [PATCH v2] ovs-save: Get highest ofp version error.

2022-05-18 Thread Ilya Maximets
On 5/11/22 10:53, Han Ding wrote: > When setting just one ofp version to protocols of bridge, The function > get_highest_ofp_version in ovs-save parse it error. > > For example: > $ ovs-vsctl get bridge br-int protocols > [OpenFlow15] > > $ ovs-vsctl get bridge br-int protocols | > sed 's/[][]/

[ovs-dev] [PATCH v2] ovs-save: Get highest ofp version error.

2022-05-11 Thread Han Ding
When setting just one ofp version to protocols of bridge, The function get_highest_ofp_version in ovs-save parse it error. For example: $ ovs-vsctl get bridge br-int protocols [OpenFlow15] $ ovs-vsctl get bridge br-int protocols | sed 's/[][]//g' | sed 's/\ //g' | awk -F ',' '{ print (NF>1)? $(