Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize NSXLB controllers and services #593

Open
wants to merge 1 commit into
base: nsxlb_dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,10 @@ func main() {
os.Exit(1)
}

if cf.EnableNSXLBIntegration {

}

log.Info("starting manager")
if err := mgr.Start(ctrl.SetupSignalHandler()); err != nil {
log.Error(err, "failed to start manager")
Expand Down
2 changes: 2 additions & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ type DefaultConfig struct {
type CoeConfig struct {
Cluster string `ini:"cluster"`
EnableVPCNetwork bool `ini:"enable_vpc_network"`

EnableNSXLBIntegration bool `ini:"enable_nsx_lb_integration"`
}

type NsxConfig struct {
Expand Down
4 changes: 4 additions & 0 deletions pkg/controllers/endpoints/endpoints_lb_controller.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Copyright © 2024 Broadcom, Inc. All Rights Reserved.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any plan to update all license files in this repo? I saw existing files are still using VMware license.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SPDX-License-Identifier: Apache-2.0 */

package endpoints
4 changes: 4 additions & 0 deletions pkg/nsx/services/lb/l4/l4_service.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Copyright © 2024 Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0 */

package l4
4 changes: 4 additions & 0 deletions pkg/nsx/services/lb/l7/l7_service.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Copyright © 2024 Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0 */

package l7
4 changes: 4 additions & 0 deletions pkg/nsx/services/lb/scalemanager/scale_manager.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Copyright © 2024 Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0 */

package scalemanager