diff --git a/go-controller/pkg/cluster/cluster.go b/go-controller/pkg/cluster/cluster.go index d9ea0cb6966..76361e6a955 100644 --- a/go-controller/pkg/cluster/cluster.go +++ b/go-controller/pkg/cluster/cluster.go @@ -57,6 +57,7 @@ func setupOVNNode(node *kapi.Node) error { fmt.Sprintf("external_ids:ovn-openflow-probe-interval=%d", config.Default.OpenFlowProbe), fmt.Sprintf("external_ids:hostname=\"%s\"", nodeName), + "external_ids:ovn-monitor-all=true", ) if err != nil { return fmt.Errorf("error setting OVS external IDs: %v\n %q", err, stderr) diff --git a/go-controller/pkg/cluster/node_test.go b/go-controller/pkg/cluster/node_test.go index 19a635fcac0..8170d612c55 100644 --- a/go-controller/pkg/cluster/node_test.go +++ b/go-controller/pkg/cluster/node_test.go @@ -59,7 +59,8 @@ var _ = Describe("Node Operations", func() { "external_ids:ovn-encap-ip=%s "+ "external_ids:ovn-remote-probe-interval=%d "+ "external_ids:ovn-openflow-probe-interval=%d "+ - "external_ids:hostname=\"%s\"", + "external_ids:hostname=\"%s\" "+ + "external_ids:ovn-monitor-all=true", nodeIP, interval, ofintval, nodeName), }) @@ -112,7 +113,8 @@ var _ = Describe("Node Operations", func() { "external_ids:ovn-encap-ip=%s "+ "external_ids:ovn-remote-probe-interval=%d "+ "external_ids:ovn-openflow-probe-interval=%d "+ - "external_ids:hostname=\"%s\"", + "external_ids:hostname=\"%s\" "+ + "external_ids:ovn-monitor-all=true", nodeIP, interval, ofintval, nodeName), }) fexec.AddFakeCmd(&ovntest.ExpectedCmd{