-
Notifications
You must be signed in to change notification settings - Fork 516
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
Pull BGP peering info out of metadata for equinixMetal platform #8267
Comments
We need an exact example of what we should translate from the metadata to the machine network config. The page above only talks about announcing the IP on |
Yes agreed. We'll need to go through the process of setting this up in our EM account to see exactly what's needed. But my first assumption is that we just need to add routes to the bond if we have the |
In order to automatically configure the bond0, there is a kernel arg to pull the metadata necessary to automatically configure the bond interface. We also use data.equinix_metal_device_bpg_neighbors to create the routes... hopefully a step closer for siderolabs/talos#8267
This is the approach I'm taking for now: ii/infra@a8f05e2 It's a first stab, but it does work! |
Here are the resulting routes on bond0:
|
@rsmitty is this what you've been looking for? routes to the BGP peers? (I don't think we should announce any IPs) |
Pull from here : https://deploy.equinix.com/developers/docs/metal/server-metadata/metadata/#bgp-neighbors I'd say this would be a reasonable addition to |
We previously did a lot of work to ensure BPG routes were added. Also manually configuring the bond interfaces, this seems to be fixed. siderolabs/talos#8267 (comment) siderolabs/talos#8443 siderolabs/talos#8480
We may be missing some other metadata for the EM platform. A user has reported they need a config patch like:
in order to get BGP peering to work for their nodes there. Looking at https://deploy.equinix.com/developers/docs/metal/bgp/bgp-on-equinix-metal/ it seems that this info could be pulled out of the metadata server as part of the platform setup. We should explore this and include these routes by default if they are present.
The text was updated successfully, but these errors were encountered: