On Fri, Jul 1, 2022 at 6:53 AM Han Ding <[email protected]> wrote: > > > When the bridge protocols is not included Openflow10, printing an error > message "version negotiation failed" when doing "Restoring saved flows". > > Signed-off-by: Han Ding <[email protected]>
Looks good to me! Acked-by: Mike Pattrick <[email protected]> > --- > utilities/ovs-save | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/utilities/ovs-save b/utilities/ovs-save > index a190902f4..67092ecf7 100755 > --- a/utilities/ovs-save > +++ b/utilities/ovs-save > @@ -127,7 +127,7 @@ save_flows () { > # Get the highest enabled OpenFlow version > ofp_version=$(get_highest_ofp_version "$bridge") > > - printf "%s" "ovs-ofctl add-tlv-map ${bridge} '" > + printf "%s" "ovs-ofctl -O $ofp_version add-tlv-map ${bridge} '" > ovs-ofctl dump-tlv-map ${bridge} -O $ofp_version | \ > awk '/^ *0x/ {if (cnt != 0) printf ","; \ > cnt++;printf "{class="$1",type="$2",len="$3"}->"$4}' > -- > 2.27.0 > > > > > _______________________________________________ > dev mailing list > [email protected] > https://mail.openvswitch.org/mailman/listinfo/ovs-dev > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
