diff --git a/build/images/deps/ovs-version b/build/images/deps/ovs-version index 7243b12cf41..3b1fc7950fa 100644 --- a/build/images/deps/ovs-version +++ b/build/images/deps/ovs-version @@ -1 +1 @@ -2.14.2 +2.15.1 diff --git a/build/images/ovs/apply-patches.sh b/build/images/ovs/apply-patches.sh index fa27eb7cdf7..58d8404b1df 100755 --- a/build/images/ovs/apply-patches.sh +++ b/build/images/ovs/apply-patches.sh @@ -35,8 +35,8 @@ function version_let() { test "$(printf '%s\n' "$@" | sort -V | head -n 1)" == " # greater than or equal to function version_get() { test "$(printf '%s\n' "$@" | sort -rV | head -n 1)" == "$1"; } -if version_lt "$OVS_VERSION" "2.13.0" || version_get "$OVS_VERSION" "2.15.0"; then - echoerr "OVS_VERSION $OVS_VERSION is not supported (must be >= 2.13.0 and < 2.15.0)" +if version_lt "$OVS_VERSION" "2.13.0" || version_gt "$OVS_VERSION" "2.15.1"; then + echoerr "OVS_VERSION $OVS_VERSION is not supported (must be >= 2.13.0 and <= 2.15.1)" exit 1 fi diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 756445c1b79..35c47a5eb5b 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -222,7 +222,7 @@ f06768ee-17ec-4abb-a971-b3b76abc8cda Port antrea-gw0 Interface antrea-gw0 type: internal - ovs_version: "2.14.2" + ovs_version: "2.15.1" ``` - `ovs-ofctl show br-int`: show OpenFlow information of the OVS bridge.