Skip to content

Commit

Permalink
Merge pull request #1599 from dcbw/411-bump-ovn22.12
Browse files Browse the repository at this point in the history
[release-4.11] OCPBUGS-10734: Bump OVN to 22.12 and turn off neighbour response in router options.
  • Loading branch information
openshift-merge-robot committed Apr 11, 2023
2 parents 51e880b + 4c3d2ae commit 5a9f04b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN yum install -y \
yum clean all

ARG ovsver=2.17.0-62.el8fdp
ARG ovnver=22.09.0-54.el8fdp
ARG ovnver=22.12.0-18.el8fdp

RUN INSTALL_PKGS=" \
openssl python3-pyOpenSSL firewalld-filesystem \
Expand All @@ -45,7 +45,7 @@ RUN INSTALL_PKGS=" \
" && \
yum install -y --setopt=tsflags=nodocs --setopt=skip_missing_names_on_install=False $INSTALL_PKGS && \
yum install -y --setopt=tsflags=nodocs --setopt=skip_missing_names_on_install=False "openvswitch2.17 = $ovsver" "openvswitch2.17-devel = $ovsver" "python3-openvswitch2.17 = $ovsver" "openvswitch2.17-ipsec = $ovsver" && \
yum install -y --setopt=tsflags=nodocs --setopt=skip_missing_names_on_install=False "ovn22.09 = $ovnver" "ovn22.09-central = $ovnver" "ovn22.09-host = $ovnver" "ovn22.09-vtep = $ovnver" && \
yum install -y --setopt=tsflags=nodocs --setopt=skip_missing_names_on_install=False "ovn22.12 = $ovnver" "ovn22.12-central = $ovnver" "ovn22.12-host = $ovnver" "ovn22.12-vtep = $ovnver" && \
yum clean all && rm -rf /var/cache/*

RUN mkdir -p /var/run/openvswitch && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,10 @@ func nodeSwitchRouterLoadBalancerName(nodeName string, serviceNamespace string,

func servicesOptions() map[string]string {
return map[string]string{
"event": "false",
"reject": "true",
"skip_snat": "false",
"event": "false",
"reject": "true",
"skip_snat": "false",
"neighbor_responder": "none",
}
}

Expand Down
7 changes: 4 additions & 3 deletions go-controller/pkg/ovn/loadbalancer/loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,10 @@ func buildLB(lb *LB) *nbdb.LoadBalancer {
}

options := map[string]string{
"reject": reject,
"event": event,
"skip_snat": skipSNAT,
"reject": reject,
"event": event,
"skip_snat": skipSNAT,
"neighbor_responder": "none",
}

// Session affinity
Expand Down

0 comments on commit 5a9f04b

Please sign in to comment.