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

nephio-operator: vlan, ipam specializers and bootstrap controller are not starting #229

Closed
johnbelamaric opened this issue May 28, 2023 · 3 comments
Assignees

Comments

@johnbelamaric
Copy link
Member

I am able to run a full environment using this:

nephio-project/test-infra#56 (comment)

But vlan, ipam speciazers, though imported in main.go, do not seem to be coming up. Similarly bootstrap, but I think that may not even be imported (not sure).

@henderiw
Copy link
Contributor

added bootstrappers
#232

for specializers we need access to the backend

Here is what I use normally. I never put a ctx in Setup. I initialize the proxies in main and add them via the config like we do for Gitea/porch.

backendAddress := fmt.Sprintf("%s.%s.svc.cluster.local:%s", "resource-backend-controller-grpc-svc", "backend-system", "9999")
ctrlCfg := &ctrlrconfig.ControllerConfig{
GiteaClient: gc,
PorchClient: porchClient,
IpamClientProxy: ipam.New(ctx, clientproxy.Config{
Address: backendAddress,
}),
VlanClientProxy: vlan.New(ctx, clientproxy.Config{
Address: backendAddress,
}),
Targets: targets.New(),
}

@henderiw
Copy link
Contributor

nephio-project/nephio-example-packages#36

add this to enable specializers

@johnbelamaric
Copy link
Member Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants