Skip to content

Commit

Permalink
Merge pull request ovn-kubernetes#1089 from dceara/ovn-monitor-all
Browse files Browse the repository at this point in the history
cluster.go: Disable Southbound DB conditional monitoring.
  • Loading branch information
dcbw authored Feb 23, 2020
2 parents 7d51345 + 4155528 commit 4ad790c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions go-controller/pkg/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions go-controller/pkg/cluster/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
})

Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 4ad790c

Please sign in to comment.