-
Notifications
You must be signed in to change notification settings - Fork 459
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
feat(bgp): logger & enhance nadProvider config #4352
Conversation
Signed-off-by: SkalaNetworks <[email protected]>
fbe9d83
to
a2488a1
Compare
Signed-off-by: SkalaNetworks <[email protected]>
eb697d5
to
a72401e
Compare
Signed-off-by: SkalaNetworks <[email protected]>
The "make lint" doesn't fix the indentation by running gofumpt (which has been removed), so I had to do it manually. I think the developper experience could be improved by making the Makefile do that automatically. |
The golangci-lint has a |
Thanks @SkalaNetworks for amazing work, i have a quick question. I tried using the last PR you implemented. |
@ah8ad3 would this help you? kubeovn/docs#186 |
Also @oilbeater is this PR mergeable? @ah8ad3 you'll need this patch to follow the documentation I sent you, the configmap changed a bit compared to what's currently merged in master |
Thanks, I think the most problem with my setup was that the speaker couldn't reach the neighbour and there was no log emphasize that problem, I will try with verbose arg that you provided. But out of curiosity can neighbour be the node speaker? Or should it be a router outside node? |
It should be the router outside the node, the same one used by the node speakers. It needs to be on the external network added to it. There's indeed 4 interfaces:
|
Please ignore if my ideas are not correct i'm new here.
So when you ping the
And the route goes through
So maybe next hop there can be fixed, or we can remove the default ip in nat-gw? |
@oilbeater @zhangzujian just pinging you to know if something is holding this PR, it's in line with the documentation already pushed in the main branch (on the repo doc), but the code is not yet merged. |
LGTM @zhangzujian do you have any other comment |
Signed-off-by: SkalaNetworks <[email protected]>
Signed-off-by: SkalaNetworks <[email protected]>
Signed-off-by: SkalaNetworks <[email protected]>
This PR makes the configuration of the BGP NAT GW easier, we're dropping the nadName field in the configmap and using only the provider instead. Name of the NAD is inferred from the name of the provider.
I also added a custom logger to GoBGP so we can change the verbosity of GoBGP on the fly.
Klog verbosity over 3 makes GoBGP go to trace levels. This is useful to see what's going on when peering is not working.