Skip to content

Commit

Permalink
update ovs/ovn version to fix hardware offload (#1821)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Aug 18, 2022
1 parent 842d6a3 commit b25f58f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dist/images/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ RUN apt update && apt install build-essential git libnuma-dev autoconf curl \
flake8 python3-sphinx graphviz groff wget -y

RUN cd /usr/src/ && \
git clone -b ovn-22.03.1 --depth=1 https://github.com/kubeovn/ovs.git && \
git clone -b branch-2.17 --depth=1 https://github.com/openvswitch/ovs.git && \
cd ovs && \
# ovsdb-idl: Support write-only-changed IDL monitor mode
curl -s https://github.com/kubeovn/ovs/commit/24c1b28c416d3a0312c10a9fe9341c04b8b31ce9.patch | git apply && \
# fix memleak
curl -s https://github.com/kubeovn/ovs/commit/2dc8e7aa202818952b2fa80b47298604530c9de0.patch | git apply && \
# increase election timer
Expand All @@ -28,7 +30,7 @@ RUN cd /usr/src/ && \

RUN dpkg -i /usr/src/python3-openvswitch*.deb /usr/src/libopenvswitch*.deb

RUN cd /usr/src/ && git clone -b v22.03.1 --depth=1 https://github.com/ovn-org/ovn.git && \
RUN cd /usr/src/ && git clone -b branch-22.03 --depth=1 https://github.com/ovn-org/ovn.git && \
cd ovn && \
# avoid patch interface deletion & recreation during restart
curl -s https://github.com/kubeovn/ovn/commit/48c615300047adcda36535029b04ed30b69ca4c2.patch | git apply && \
Expand Down

0 comments on commit b25f58f

Please sign in to comment.