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/[][]/
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)? $(