Skip to content

Commit

Permalink
MetalLB: open BFD ports (#1331)
Browse files Browse the repository at this point in the history
In order to make bfd work, we need to open the ports in the same way we
did for bgp.

Signed-off-by: Federico Paolinelli <[email protected]>
  • Loading branch information
fedepaol authored Dec 16, 2021
1 parent 87ef351 commit fa70d16
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions metallb/run_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ sudo firewall-cmd --zone=libvirt --permanent --add-port=179/tcp
sudo firewall-cmd --zone=libvirt --add-port=179/tcp
sudo firewall-cmd --zone=libvirt --permanent --add-port=180/tcp
sudo firewall-cmd --zone=libvirt --add-port=180/tcp
# BFD control packets
sudo firewall-cmd --zone=libvirt --permanent --add-port=3784/udp
sudo firewall-cmd --zone=libvirt --add-port=3784/udp
# BFD echo packets
sudo firewall-cmd --zone=libvirt --permanent --add-port=3785/udp
sudo firewall-cmd --zone=libvirt --add-port=3785/udp
# BFD multihop packets
sudo firewall-cmd --zone=libvirt --permanent --add-port=4784/udp
sudo firewall-cmd --zone=libvirt --add-port=4784/udp

# need to skip L2 metrics test because the pod that's running the tests is not in the
# same subnet of the cluster nodes, so the arp request that's done in the test won't work.
Expand Down

0 comments on commit fa70d16

Please sign in to comment.