Skip to content

Commit

Permalink
Merge remote-tracking branch 'ovnorg/master' into ds-merge-25th-march…
Browse files Browse the repository at this point in the history
…-2024
  • Loading branch information
tssurya committed Mar 25, 2024
2 parents 06e52e9 + 41fe592 commit b686df6
Show file tree
Hide file tree
Showing 1,216 changed files with 52,477 additions and 24,516 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
id: go

- name: Verify
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: v1.52
working-directory: go-controller
Expand Down
141 changes: 0 additions & 141 deletions .github/workflows/test_periodic.yml

This file was deleted.

10 changes: 10 additions & 0 deletions contrib/kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,12 @@ install_metallb() {
pushd "${builddir}"
git clone https://github.com/metallb/metallb.git
cd metallb
# Use global IP next hops in IPv6
if [ "$KIND_IPV6_SUPPORT" == true ]; then
sed -i '/address-family PROTOCOL unicast/a \
neighbor NODE0_IP route-map IPV6GLOBAL in\n neighbor NODE1_IP route-map IPV6GLOBAL in\n neighbor NODE2_IP route-map IPV6GLOBAL in' dev-env/bgp/frr/bgpd.conf.tmpl
printf "route-map IPV6GLOBAL permit 10\n set ipv6 next-hop prefer-global" >> dev-env/bgp/frr/bgpd.conf.tmpl
fi
pip install -r dev-env/requirements.txt

local ip_family ipv6_network
Expand All @@ -1066,6 +1072,10 @@ install_metallb() {

docker network create --subnet="${METALLB_CLIENT_NET_SUBNET_IPV4}" ${ipv6_network} --driver bridge clientnet
docker network connect clientnet frr
if [ "$KIND_IPV6_SUPPORT" == true ]; then
# Enable IPv6 forwarding in FRR
docker exec frr sysctl -w net.ipv6.conf.all.forwarding=1
fi
docker run --cap-add NET_ADMIN --user 0 -d --network clientnet --rm --name lbclient quay.io/itssurya/dev-images:metallb-lbservice
popd
delete_metallb_dir
Expand Down
7 changes: 7 additions & 0 deletions dist/images/ovnkube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1994,6 +1994,12 @@ ovn-cluster-manager() {
fi
echo "egressfirewall_enabled_flag=${egressfirewall_enabled_flag}"

egressqos_enabled_flag=
if [[ ${ovn_egressqos_enable} == "true" ]]; then
egressqos_enabled_flag="--enable-egress-qos"
fi
echo "egressqos_enabled_flag=${egressqos_enabled_flag}"

hybrid_overlay_flags=
if [[ ${ovn_hybrid_overlay_enable} == "true" ]]; then
hybrid_overlay_flags="--enable-hybrid-overlay"
Expand Down Expand Up @@ -2086,6 +2092,7 @@ ovn-cluster-manager() {
${egressfirewall_enabled_flag} \
${egressip_enabled_flag} \
${egressip_healthcheck_port_flag} \
${egressqos_enabled_flag} \
${egressservice_enabled_flag} \
${empty_lb_events_flag} \
${hybrid_overlay_flags} \
Expand Down

0 comments on commit b686df6

Please sign in to comment.