Skip to content

Commit

Permalink
Restore PR111 changes.
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Cameron <pcameron@redhat.com>
  • Loading branch information
pecameron committed Mar 9, 2020
1 parent ca1881e commit cefd029
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion go-controller/pkg/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ 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: 2 additions & 4 deletions go-controller/pkg/cluster/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ 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:ovn-monitor-all=true",
"external_ids:hostname=\"%s\""
nodeIP, interval, ofintval, nodeName),
})

Expand Down Expand Up @@ -113,8 +112,7 @@ 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:ovn-monitor-all=true",
"external_ids:hostname=\"%s\"",
nodeIP, interval, ofintval, nodeName),
})
fexec.AddFakeCmd(&ovntest.ExpectedCmd{
Expand Down

0 comments on commit cefd029

Please sign in to comment.