Skip to content

Commit

Permalink
Merge pull request #1116 from zshi-redhat/bz2091990
Browse files Browse the repository at this point in the history
Bug 2091990: fix lflow-cache-limit-kb ovs external-id
  • Loading branch information
dcbw committed Jun 2, 2022
2 parents db7c0d7 + d180b32 commit ff77341
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go-controller/pkg/node/node.go
Expand Up @@ -210,7 +210,7 @@ func setupOVNNode(node *kapi.Node) error {

if config.Default.LFlowCacheLimitKb > 0 {
setExternalIdsCmd = append(setExternalIdsCmd,
fmt.Sprintf("external_ids:ovn-limit-lflow-cache-kb=%d", config.Default.LFlowCacheLimitKb),
fmt.Sprintf("external_ids:ovn-memlimit-lflow-cache-kb=%d", config.Default.LFlowCacheLimitKb),
)
}

Expand Down
2 changes: 1 addition & 1 deletion go-controller/pkg/node/node_test.go
Expand Up @@ -366,7 +366,7 @@ var _ = Describe("Node", func() {
"external_ids:ovn-ofctrl-wait-before-clear=0 "+
"external_ids:ovn-enable-lflow-cache=false "+
"external_ids:ovn-limit-lflow-cache=1000 "+
"external_ids:ovn-limit-lflow-cache-kb=100000",
"external_ids:ovn-memlimit-lflow-cache-kb=100000",
nodeIP, interval, ofintval, nodeName),
})
fexec.AddFakeCmd(&ovntest.ExpectedCmd{
Expand Down

0 comments on commit ff77341

Please sign in to comment.