Skip to content

Commit

Permalink
Add BGPPolicy controller
Browse files Browse the repository at this point in the history
Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
  • Loading branch information
hongliangl committed May 28, 2024
1 parent d547275 commit f209e2a
Show file tree
Hide file tree
Showing 5 changed files with 175 additions and 130 deletions.
4 changes: 1 addition & 3 deletions cmd/antrea-agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ package main

import (
"antrea.io/antrea/pkg/agent/bgp"
"antrea.io/antrea/pkg/agent/bgp/gobgp"
"context"
"fmt"
"net"
Expand Down Expand Up @@ -753,8 +752,7 @@ func run(o *Options) error {
k8sClient,
o.config.BGPPolicy.SecretName,
nodeConfig,
networkConfig,
gobgp.NewBGPServer)
networkConfig)
if err != nil {
return err
}
Expand Down
Loading

0 comments on commit f209e2a

Please sign in to comment.